[INFO] cloning repository https://github.com/tildedave/rust-number-theory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tildedave/rust-number-theory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftildedave%2Frust-number-theory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftildedave%2Frust-number-theory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa49d472620190cc3a76d8387a8566612293de0e [INFO] checking tildedave/rust-number-theory against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftildedave%2Frust-number-theory" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tildedave/rust-number-theory on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tildedave/rust-number-theory [INFO] finished tweaking git repo https://github.com/tildedave/rust-number-theory [INFO] tweaked toml for git repo https://github.com/tildedave/rust-number-theory written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/tildedave/rust-number-theory already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 426ecdd011d32658bd04acc3fc602f962510aa7490a425ec228d7e41af50d96e [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" "426ecdd011d32658bd04acc3fc602f962510aa7490a425ec228d7e41af50d96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "426ecdd011d32658bd04acc3fc602f962510aa7490a425ec228d7e41af50d96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "426ecdd011d32658bd04acc3fc602f962510aa7490a425ec228d7e41af50d96e", kill_on_drop: false }` [INFO] [stdout] 426ecdd011d32658bd04acc3fc602f962510aa7490a425ec228d7e41af50d96e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0d1b73f250d3c7be5f8cb259957d23940475517e0c7b05e53e24537b282aa98 [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" "d0d1b73f250d3c7be5f8cb259957d23940475517e0c7b05e53e24537b282aa98", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking num-bigint v0.2.2 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking rust-number-theory v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `leftmost_bit` [INFO] [stdout] --> chap1.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn leftmost_bit(g: T) -> T [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prime_factor` [INFO] [stdout] --> chap1.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn prime_factor(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_exp` [INFO] [stdout] --> chap1.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn mod_exp(g: i32, n: i32, p: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_exp2` [INFO] [stdout] --> chap1.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn mod_exp2(g: i32, n: i32, p: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mod_inverse` [INFO] [stdout] --> chap1.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn mod_inverse(m: i32, p: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gcd` [INFO] [stdout] --> chap1.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn gcd(a: T, b: T) -> T [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gcd_binary` [INFO] [stdout] --> chap1.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn gcd_binary(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gcd_extended` [INFO] [stdout] --> chap1.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn gcd_extended(a: T, b: T) -> (T, T, T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `chinese_remainder` [INFO] [stdout] --> chap1.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn chinese_remainder(m_list: Vec, xi_list: Vec) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `isqrt` [INFO] [stdout] --> chap1.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn isqrt(n: i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `kroneker_table` [INFO] [stdout] --> chap1.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | const kroneker_table: [i32; 8] = [0, 1, 0 , -1, 0, -1, 0, 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `kroneker_symbol` [INFO] [stdout] --> chap1.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn kroneker_symbol(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kroneker_table` should have an upper case name [INFO] [stdout] --> chap1.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | const kroneker_table: [i32; 8] = [0, 1, 0 , -1, 0, -1, 0, 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KRONEKER_TABLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `kroneker_table` should have an upper case name [INFO] [stdout] --> chap1.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | const kroneker_table: [i32; 8] = [0, 1, 0 , -1, 0, -1, 0, 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KRONEKER_TABLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.56s [INFO] running `Command { std: "docker" "inspect" "d0d1b73f250d3c7be5f8cb259957d23940475517e0c7b05e53e24537b282aa98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d1b73f250d3c7be5f8cb259957d23940475517e0c7b05e53e24537b282aa98", kill_on_drop: false }` [INFO] [stdout] d0d1b73f250d3c7be5f8cb259957d23940475517e0c7b05e53e24537b282aa98