[INFO] cloning repository https://github.com/DarrenRJ/Euler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DarrenRJ/Euler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenRJ%2FEuler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenRJ%2FEuler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0a4561ac291899ec025d0ab9f95dbc2dd7a2bbf [INFO] testing DarrenRJ/Euler against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenRJ%2FEuler" "/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/DarrenRJ/Euler on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DarrenRJ/Euler [INFO] finished tweaking git repo https://github.com/DarrenRJ/Euler [INFO] tweaked toml for git repo https://github.com/DarrenRJ/Euler written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/DarrenRJ/Euler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89327c3992bb87d8acd47c66be25c5b4f32236017107c582ad7b39ff366c1e14 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "89327c3992bb87d8acd47c66be25c5b4f32236017107c582ad7b39ff366c1e14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89327c3992bb87d8acd47c66be25c5b4f32236017107c582ad7b39ff366c1e14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89327c3992bb87d8acd47c66be25c5b4f32236017107c582ad7b39ff366c1e14", kill_on_drop: false }` [INFO] [stdout] 89327c3992bb87d8acd47c66be25c5b4f32236017107c582ad7b39ff366c1e14 [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=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 273e61492bcb4c5f3d07fe6cce70a8b09176d95a0ab51cc7067c507e5f67dede [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "273e61492bcb4c5f3d07fe6cce70a8b09176d95a0ab51cc7067c507e5f67dede", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling smallvec v0.4.4 [INFO] [stderr] Compiling primal-sieve v0.2.7 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-complex v0.1.40 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num-bigint v0.1.40 [INFO] [stderr] Compiling num-rational v0.1.39 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling primal-check v0.2.2 [INFO] [stderr] Compiling primal v0.2.3 [INFO] [stderr] Compiling euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.56s [INFO] running `Command { std: "docker" "inspect" "273e61492bcb4c5f3d07fe6cce70a8b09176d95a0ab51cc7067c507e5f67dede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273e61492bcb4c5f3d07fe6cce70a8b09176d95a0ab51cc7067c507e5f67dede", kill_on_drop: false }` [INFO] [stdout] 273e61492bcb4c5f3d07fe6cce70a8b09176d95a0ab51cc7067c507e5f67dede [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=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e7b320b35428ce2572a6c7e5af66855f84e900d06b90a21568d4793df8391f3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e7b320b35428ce2572a6c7e5af66855f84e900d06b90a21568d4793df8391f3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling euler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `test_factors` [INFO] [stdout] --> src/factors.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | fn test_factors() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_divisor_count` [INFO] [stdout] --> src/factors.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn test_divisor_count() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_proper_divisors` [INFO] [stdout] --> src/factors.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn test_proper_divisors() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_sum_of_proper_divisors` [INFO] [stdout] --> src/factors.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | fn test_sum_of_proper_divisors() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "7e7b320b35428ce2572a6c7e5af66855f84e900d06b90a21568d4793df8391f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7b320b35428ce2572a6c7e5af66855f84e900d06b90a21568d4793df8391f3", kill_on_drop: false }` [INFO] [stdout] 7e7b320b35428ce2572a6c7e5af66855f84e900d06b90a21568d4793df8391f3 [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=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb3dd73287b77b982cf31d4884a0a5e347494d6cb58a9dda7bd4bc6c0736bdf9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cb3dd73287b77b982cf31d4884a0a5e347494d6cb58a9dda7bd4bc6c0736bdf9", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `test_factors` [INFO] [stderr] --> src/factors.rs:170:8 [INFO] [stderr] | [INFO] [stderr] 170 | fn test_factors() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_divisor_count` [INFO] [stderr] --> src/factors.rs:179:8 [INFO] [stderr] | [INFO] [stderr] 179 | fn test_divisor_count() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_proper_divisors` [INFO] [stderr] --> src/factors.rs:189:8 [INFO] [stderr] | [INFO] [stderr] 189 | fn test_proper_divisors() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_sum_of_proper_divisors` [INFO] [stderr] --> src/factors.rs:200:8 [INFO] [stderr] | [INFO] [stderr] 200 | fn test_sum_of_proper_divisors() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `euler` (bin "euler" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/euler-00d88316a86709fe) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test choose::test::test_choose ... ok [INFO] [stdout] test factors::test::test_prime_factors ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cb3dd73287b77b982cf31d4884a0a5e347494d6cb58a9dda7bd4bc6c0736bdf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb3dd73287b77b982cf31d4884a0a5e347494d6cb58a9dda7bd4bc6c0736bdf9", kill_on_drop: false }` [INFO] [stdout] cb3dd73287b77b982cf31d4884a0a5e347494d6cb58a9dda7bd4bc6c0736bdf9