[INFO] cloning repository https://github.com/jt-nti/cds-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jt-nti/cds-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjt-nti%2Fcds-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjt-nti%2Fcds-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 766a96fb55c0819685f550f3b929fe5ff9291c17 [INFO] testing jt-nti/cds-cli against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjt-nti%2Fcds-cli" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jt-nti/cds-cli on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jt-nti/cds-cli [INFO] finished tweaking git repo https://github.com/jt-nti/cds-cli [INFO] tweaked toml for git repo https://github.com/jt-nti/cds-cli written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/jt-nti/cds-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54459b936df48d9d1c60a5ac41d289aa91a0726cb34367b5e08aa21dcc085df4 [INFO] running `Command { std: "docker" "start" "-a" "54459b936df48d9d1c60a5ac41d289aa91a0726cb34367b5e08aa21dcc085df4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54459b936df48d9d1c60a5ac41d289aa91a0726cb34367b5e08aa21dcc085df4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54459b936df48d9d1c60a5ac41d289aa91a0726cb34367b5e08aa21dcc085df4", kill_on_drop: false }` [INFO] [stdout] 54459b936df48d9d1c60a5ac41d289aa91a0726cb34367b5e08aa21dcc085df4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e65486c62db32b370bf99776521bd849b32ad182f8b579092b35d0e690fc4ce6 [INFO] running `Command { std: "docker" "start" "-a" "e65486c62db32b370bf99776521bd849b32ad182f8b579092b35d0e690fc4ce6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling cds v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &self.cds.encode(&mut buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = &self.cds.encode(&mut buffer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &self.cds.encode(&mut buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = &self.cds.encode(&mut buffer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.35s [INFO] running `Command { std: "docker" "inspect" "e65486c62db32b370bf99776521bd849b32ad182f8b579092b35d0e690fc4ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e65486c62db32b370bf99776521bd849b32ad182f8b579092b35d0e690fc4ce6", kill_on_drop: false }` [INFO] [stdout] e65486c62db32b370bf99776521bd849b32ad182f8b579092b35d0e690fc4ce6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fa069f8ecf676c3025d4b7dc5239b659bded26dcdfebb6885ef19064702fd02 [INFO] running `Command { std: "docker" "start" "-a" "7fa069f8ecf676c3025d4b7dc5239b659bded26dcdfebb6885ef19064702fd02", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cds v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &self.cds.encode(&mut buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = &self.cds.encode(&mut buffer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &self.cds.encode(&mut buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = &self.cds.encode(&mut buffer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &self.cds.encode(&mut buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = &self.cds.encode(&mut buffer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &self.cds.encode(&mut buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = &self.cds.encode(&mut buffer)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.89s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cds-92cc57b7f8edf841) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cds-afc7eb184bc8e021) [INFO] [stderr] Executable tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-3af3e92162bd2ed8) [INFO] running `Command { std: "docker" "inspect" "7fa069f8ecf676c3025d4b7dc5239b659bded26dcdfebb6885ef19064702fd02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fa069f8ecf676c3025d4b7dc5239b659bded26dcdfebb6885ef19064702fd02", kill_on_drop: false }` [INFO] [stdout] 7fa069f8ecf676c3025d4b7dc5239b659bded26dcdfebb6885ef19064702fd02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c9b8e126e6f5030a6dca8385546b83f79b634af5b89741c68dfe3201655459d5 [INFO] running `Command { std: "docker" "start" "-a" "c9b8e126e6f5030a6dca8385546b83f79b634af5b89741c68dfe3201655459d5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | &self.cds.encode(&mut buffer)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 70 | let _ = &self.cds.encode(&mut buffer)?; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `cds` (lib) generated 1 warning [INFO] [stderr] warning: `cds` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `cds` (bin "cds" test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `cds` (bin "cds") generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cds-92cc57b7f8edf841) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cds-afc7eb184bc8e021) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::it_should_format_info ... ok [INFO] [stdout] test tests::it_should_get_default_cds_path ... ok [INFO] [stdout] test tests::it_should_get_ccpkg ... ok [INFO] [stdout] test tests::it_should_encode_data ... ok [INFO] [stdout] test tests::it_should_get_golang_cds_path ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-3af3e92162bd2ed8) [INFO] [stdout] test lib::tests::it_should_encode_data ... ok [INFO] [stdout] test lib::tests::it_should_format_info ... ok [INFO] [stdout] test lib::tests::it_should_get_default_cds_path ... ok [INFO] [stdout] test lib::tests::it_should_get_ccpkg ... ok [INFO] [stdout] test lib::tests::it_should_get_golang_cds_path ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test it_should_fail_if_file_does_not_exist ... ok [INFO] [stdout] test it_should_fail_if_file_is_not_a_cds_file ... ok [INFO] [stdout] test it_should_successfully_read_a_cds_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cds [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c9b8e126e6f5030a6dca8385546b83f79b634af5b89741c68dfe3201655459d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9b8e126e6f5030a6dca8385546b83f79b634af5b89741c68dfe3201655459d5", kill_on_drop: false }` [INFO] [stdout] c9b8e126e6f5030a6dca8385546b83f79b634af5b89741c68dfe3201655459d5