[INFO] cloning repository https://github.com/cfsamson/examples_codereview_prime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cfsamson/examples_codereview_prime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfsamson%2Fexamples_codereview_prime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfsamson%2Fexamples_codereview_prime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdfd2d557b093225b0cdb0696eda984888195143 [INFO] testing cfsamson/examples_codereview_prime against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcfsamson%2Fexamples_codereview_prime" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cfsamson/examples_codereview_prime on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cfsamson/examples_codereview_prime [INFO] finished tweaking git repo https://github.com/cfsamson/examples_codereview_prime [INFO] tweaked toml for git repo https://github.com/cfsamson/examples_codereview_prime written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/cfsamson/examples_codereview_prime already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e47572c210a1cd68414a985f174663f1669e544a41aacd73f5a239a0b08cbfc [INFO] running `Command { std: "docker" "start" "-a" "5e47572c210a1cd68414a985f174663f1669e544a41aacd73f5a239a0b08cbfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e47572c210a1cd68414a985f174663f1669e544a41aacd73f5a239a0b08cbfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e47572c210a1cd68414a985f174663f1669e544a41aacd73f5a239a0b08cbfc", kill_on_drop: false }` [INFO] [stdout] 5e47572c210a1cd68414a985f174663f1669e544a41aacd73f5a239a0b08cbfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 723bf4c9323a8f4002aa406737a720b46bc3a4b97ad1dd11e31081660d79b090 [INFO] running `Command { std: "docker" "start" "-a" "723bf4c9323a8f4002aa406737a720b46bc3a4b97ad1dd11e31081660d79b090", kill_on_drop: false }` [INFO] [stderr] Compiling codereview_prime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/bin/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/main.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "723bf4c9323a8f4002aa406737a720b46bc3a4b97ad1dd11e31081660d79b090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "723bf4c9323a8f4002aa406737a720b46bc3a4b97ad1dd11e31081660d79b090", kill_on_drop: false }` [INFO] [stdout] 723bf4c9323a8f4002aa406737a720b46bc3a4b97ad1dd11e31081660d79b090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20eed2198bc2df324251d88f33e96f6c280d47305378d93eb956e6a6c3f9ec83 [INFO] running `Command { std: "docker" "start" "-a" "20eed2198bc2df324251d88f33e96f6c280d47305378d93eb956e6a6c3f9ec83", kill_on_drop: false }` [INFO] [stderr] Compiling codereview_prime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/bin/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/main.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/bin/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/main.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "20eed2198bc2df324251d88f33e96f6c280d47305378d93eb956e6a6c3f9ec83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20eed2198bc2df324251d88f33e96f6c280d47305378d93eb956e6a6c3f9ec83", kill_on_drop: false }` [INFO] [stdout] 20eed2198bc2df324251d88f33e96f6c280d47305378d93eb956e6a6c3f9ec83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 832b205274e750ebab987249f7184d556d5d97f12b9a1ec26ef59aa576bd57be [INFO] running `Command { std: "docker" "start" "-a" "832b205274e750ebab987249f7184d556d5d97f12b9a1ec26ef59aa576bd57be", kill_on_drop: false }` [INFO] [stderr] warning: variant is never constructed: `Other` [INFO] [stderr] --> src/bin/main.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | Other, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/main.rs:112:10 [INFO] [stderr] | [INFO] [stderr] 112 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `codereview_prime` (bin "main" test) generated 1 warning [INFO] [stderr] warning: `codereview_prime` (bin "main") generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/codereview_prime-66f982d03c781b4b) [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] [stderr] Running unittests (/opt/rustwide/target/debug/deps/main-6682407bd1121014) [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] [stderr] Running tests/prime_test.rs (/opt/rustwide/target/debug/deps/prime_test-2d25e39fa33a4598) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test first_10_numbers_tested ... ok [INFO] [stdout] test small_number_checks ... ok [INFO] [stdout] test large_number_checks ... 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 codereview_prime [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - is_prime (line 7) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "832b205274e750ebab987249f7184d556d5d97f12b9a1ec26ef59aa576bd57be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832b205274e750ebab987249f7184d556d5d97f12b9a1ec26ef59aa576bd57be", kill_on_drop: false }` [INFO] [stdout] 832b205274e750ebab987249f7184d556d5d97f12b9a1ec26ef59aa576bd57be