[INFO] cloning repository https://github.com/mohammadreza-ashouri/Rust_Unit_Testing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mohammadreza-ashouri/Rust_Unit_Testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohammadreza-ashouri%2FRust_Unit_Testing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohammadreza-ashouri%2FRust_Unit_Testing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e751791cd90e081414b757a83627e53db2aacf2c [INFO] testing mohammadreza-ashouri/Rust_Unit_Testing against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohammadreza-ashouri%2FRust_Unit_Testing" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mohammadreza-ashouri/Rust_Unit_Testing [INFO] finished tweaking git repo https://github.com/mohammadreza-ashouri/Rust_Unit_Testing [INFO] tweaked toml for git repo https://github.com/mohammadreza-ashouri/Rust_Unit_Testing written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mohammadreza-ashouri/Rust_Unit_Testing on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mohammadreza-ashouri/Rust_Unit_Testing already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b472742c57dfea2da56b6215e0c6ea18bbd5a9eb80bf13ff78c1039204395b9 [INFO] running `Command { std: "docker" "start" "-a" "1b472742c57dfea2da56b6215e0c6ea18bbd5a9eb80bf13ff78c1039204395b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b472742c57dfea2da56b6215e0c6ea18bbd5a9eb80bf13ff78c1039204395b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b472742c57dfea2da56b6215e0c6ea18bbd5a9eb80bf13ff78c1039204395b9", kill_on_drop: false }` [INFO] [stdout] 1b472742c57dfea2da56b6215e0c6ea18bbd5a9eb80bf13ff78c1039204395b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b1ca10c60f7d777f8c616bdb43077c1b567e5c0010bcf1d324e70d1b7ddd8ff [INFO] running `Command { std: "docker" "start" "-a" "4b1ca10c60f7d777f8c616bdb43077c1b567e5c0010bcf1d324e70d1b7ddd8ff", kill_on_drop: false }` [INFO] [stderr] Compiling adder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn sqrt(number: f64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "4b1ca10c60f7d777f8c616bdb43077c1b567e5c0010bcf1d324e70d1b7ddd8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1ca10c60f7d777f8c616bdb43077c1b567e5c0010bcf1d324e70d1b7ddd8ff", kill_on_drop: false }` [INFO] [stdout] 4b1ca10c60f7d777f8c616bdb43077c1b567e5c0010bcf1d324e70d1b7ddd8ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1f838bc2fa547726f6f1982705338ec1c9ddd7b16f944c05edc68eb5e8f7b24 [INFO] running `Command { std: "docker" "start" "-a" "a1f838bc2fa547726f6f1982705338ec1c9ddd7b16f944c05edc68eb5e8f7b24", kill_on_drop: false }` [INFO] [stderr] Compiling adder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn sqrt(number: f64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "a1f838bc2fa547726f6f1982705338ec1c9ddd7b16f944c05edc68eb5e8f7b24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f838bc2fa547726f6f1982705338ec1c9ddd7b16f944c05edc68eb5e8f7b24", kill_on_drop: false }` [INFO] [stdout] a1f838bc2fa547726f6f1982705338ec1c9ddd7b16f944c05edc68eb5e8f7b24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30199d34e64cd4d5776b87fa220b0aeb01708a32d65c8aea0441547ee7b9dbbe [INFO] running `Command { std: "docker" "start" "-a" "30199d34e64cd4d5776b87fa220b0aeb01708a32d65c8aea0441547ee7b9dbbe", kill_on_drop: false }` [INFO] [stderr] warning: function `sqrt` is never used [INFO] [stderr] --> src/lib.rs:1:4 [INFO] [stderr] | [INFO] [stderr] 1 | fn sqrt(number: f64) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `adder` (lib) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/adder-97f9e676856cf854) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_sqrt ... ok [INFO] [stdout] test tests::test_divide ... ok [INFO] [stdout] test tests::test_any_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Doc-tests adder [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" "30199d34e64cd4d5776b87fa220b0aeb01708a32d65c8aea0441547ee7b9dbbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30199d34e64cd4d5776b87fa220b0aeb01708a32d65c8aea0441547ee7b9dbbe", kill_on_drop: false }` [INFO] [stdout] 30199d34e64cd4d5776b87fa220b0aeb01708a32d65c8aea0441547ee7b9dbbe