Running with gitlab-runner 14.10.1 (f761588f)
  on gitlab.stage.hive.pt 0d46d499
section_start:1657042324:prepare_executor
Preparing the "docker" executor
Using Docker executor with image hivesolutions/ubuntu_dev ...
Pulling docker image hivesolutions/ubuntu_dev ...
Using docker image sha256:8ab03bb0da3bdfe83c106b79fd791ef65b88c624476426867595b3961d43de9c for hivesolutions/ubuntu_dev with digest hivesolutions/ubuntu_dev@sha256:99b49232ff5d00f26f93a3264d8ed945cf07685d81cf6c3c9be23ddfeba8e858 ...
section_end:1657042328:prepare_executor
section_start:1657042328:prepare_script
Preparing environment
Running on runner-0d46d499-project-16-concurrent-2 via fbc499c7ee26...
section_end:1657042329:prepare_script
section_start:1657042329:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/joamag/boytacean/.git/
Checking out ad7a2ae9 as master...
Removing Cargo.lock
Removing target/

Skipping Git submodules setup
section_end:1657042330:get_sources
section_start:1657042330:step_script
Executing "step_script" stage of the job script
Using docker image sha256:8ab03bb0da3bdfe83c106b79fd791ef65b88c624476426867595b3961d43de9c for hivesolutions/ubuntu_dev with digest hivesolutions/ubuntu_dev@sha256:99b49232ff5d00f26f93a3264d8ed945cf07685d81cf6c3c9be23ddfeba8e858 ...
$ apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -q pkg-config
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1161 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [882 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2433 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1464 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [27.5 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1989 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1351 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [30.3 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [54.2 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [27.1 kB]
Fetched 9755 kB in 1s (8309 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libdpkg-perl libfile-fcntllock-perl libglib2.0-0 libglib2.0-data libicu66
  liblocale-gettext-perl libxml2 shared-mime-info tzdata xdg-user-dirs
Suggested packages:
  debian-keyring bzr dpkg-dev
The following NEW packages will be installed:
  libdpkg-perl libfile-fcntllock-perl libglib2.0-0 libglib2.0-data libicu66
  liblocale-gettext-perl libxml2 pkg-config shared-mime-info tzdata
  xdg-user-dirs
0 upgraded, 11 newly installed, 0 to remove and 50 not upgraded.
Need to get 11.5 MB of archives.
After this operation, 49.6 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 liblocale-gettext-perl amd64 1.07-4 [17.1 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-0 amd64 2.64.6-1~ubuntu20.04.4 [1287 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-data all 2.64.6-1~ubuntu20.04.4 [6052 B]
Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 tzdata all 2022a-0ubuntu0.20.04 [294 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libxml2 amd64 2.9.10+dfsg-5ubuntu0.20.04.3 [640 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 shared-mime-info amd64 1.15-1 [430 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 xdg-user-dirs amd64 0.17-2ubuntu1 [48.3 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libdpkg-perl all 1.19.7ubuntu3.2 [231 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 libfile-fcntllock-perl amd64 0.22-3build4 [33.1 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 pkg-config amd64 0.29.1-0ubuntu4 [45.5 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 11.5 MB in 1s (13.9 MB/s)
Selecting previously unselected package liblocale-gettext-perl.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 46475 files and directories currently installed.)
Preparing to unpack .../00-liblocale-gettext-perl_1.07-4_amd64.deb ...
Unpacking liblocale-gettext-perl (1.07-4) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../01-libglib2.0-0_2.64.6-1~ubuntu20.04.4_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../02-libglib2.0-data_2.64.6-1~ubuntu20.04.4_all.deb ...
Unpacking libglib2.0-data (2.64.6-1~ubuntu20.04.4) ...
Selecting previously unselected package tzdata.
Preparing to unpack .../03-tzdata_2022a-0ubuntu0.20.04_all.deb ...
Unpacking tzdata (2022a-0ubuntu0.20.04) ...
Selecting previously unselected package libicu66:amd64.
Preparing to unpack .../04-libicu66_66.1-2ubuntu2.1_amd64.deb ...
Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../05-libxml2_2.9.10+dfsg-5ubuntu0.20.04.3_amd64.deb ...
Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.3) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../06-shared-mime-info_1.15-1_amd64.deb ...
Unpacking shared-mime-info (1.15-1) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../07-xdg-user-dirs_0.17-2ubuntu1_amd64.deb ...
Unpacking xdg-user-dirs (0.17-2ubuntu1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../08-libdpkg-perl_1.19.7ubuntu3.2_all.deb ...
Unpacking libdpkg-perl (1.19.7ubuntu3.2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../09-libfile-fcntllock-perl_0.22-3build4_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build4) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../10-pkg-config_0.29.1-0ubuntu4_amd64.deb ...
Unpacking pkg-config (0.29.1-0ubuntu4) ...
Setting up xdg-user-dirs (0.17-2ubuntu1) ...
Setting up libfile-fcntllock-perl (0.22-3build4) ...
Setting up libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
No schema files found: doing nothing.
Setting up tzdata (2022a-0ubuntu0.20.04) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Tue Jul  5 17:32:18 UTC 2022.
Universal Time is now:  Tue Jul  5 17:32:18 UTC 2022.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.4) ...
Setting up libdpkg-perl (1.19.7ubuntu3.2) ...
Setting up liblocale-gettext-perl (1.07-4) ...
Setting up libicu66:amd64 (66.1-2ubuntu2.1) ...
Setting up pkg-config (0.29.1-0ubuntu4) ...
Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.3) ...
Setting up shared-mime-info (1.15-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
$ curl -sf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y
info: downloading installer
info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'

info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
  stable-x86_64-unknown-linux-gnu installed - rustc 1.62.0 (a8314ef7d 2022-06-27)


Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, run:
source $HOME/.cargo/env
$ export PATH=$PATH:$HOME/.cargo/bin
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 15037  100 15037    0     0   431k      0 --:--:-- --:--:-- --:--:--  431k
=> Downloading nvm from git to '/root/.nvm'

=> Cloning into '/root/.nvm'...
* (HEAD detached at FETCH_HEAD)
  master
=> Compressing and cleaning up git repository

=> Appending nvm source string to /root/.bashrc
=> Appending bash_completion source string to /root/.bashrc
=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
$ export NVM_DIR="$HOME/.nvm"
$ \[ -s "$NVM_DIR/nvm.sh" \] && \. "$NVM_DIR/nvm.sh"
$ \[ -s "$NVM_DIR/bash_completion" \] && \. "$NVM_DIR/bash_completion"
$ nvm install stable
Downloading and installing node v18.4.0...
Downloading https://nodejs.org/dist/v18.4.0/node-v18.4.0-linux-x64.tar.xz...
#=#=#                                                                         

##                                                                         3.6%
##############################                                            42.1%
##########################################################                81.3%
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v18.4.0 (npm v8.12.1)
Creating default alias: default -> stable (-> v18.4.0 *)
$ rustup toolchain install $RUST_VERSION
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.62.0 (a8314ef7d 2022-06-27)

info: checking for self-updates
$ rustup override set $RUST_VERSION
info: using existing install for 'stable-x86_64-unknown-linux-gnu'
info: override toolchain for '/builds/joamag/boytacean' set to 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.62.0 (a8314ef7d 2022-06-27)

$ rustc --version
rustc 1.62.0 (a8314ef7d 2022-06-27)
$ cargo build
    Updating crates.io index
   Compiling boytacean v0.1.0 (/builds/joamag/boytacean)
warning: associated function is never used: `interrupt_level`
   --> src/ppu.rs:418:8
    |
418 |     fn interrupt_level(&self) -> bool {
    |        ^^^^^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

warning: `boytacean` (lib) generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 1m 43s
$ cargo build --release
   Compiling boytacean v0.1.0 (/builds/joamag/boytacean)
warning: associated function is never used: `interrupt_level`
   --> src/ppu.rs:418:8
    |
418 |     fn interrupt_level(&self) -> bool {
    |        ^^^^^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

warning: `boytacean` (lib) generated 1 warning
    Finished release [optimized] target(s) in 0.78s
section_end:1657042474:step_script
section_start:1657042474:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1657042475:cleanup_file_variables
Job succeeded