[INFO] cloning repository https://github.com/SIGMazer/perceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SIGMazer/perceptron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSIGMazer%2Fperceptron", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSIGMazer%2Fperceptron'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d000e8566b2aa6e58c6252b9e365395828b541c [INFO] testing SIGMazer/perceptron/1d000e8566b2aa6e58c6252b9e365395828b541c against master#8dd5cd0bc1d683c30805e1dc831cac546b621a75 for pr-131095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSIGMazer%2Fperceptron" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SIGMazer/perceptron on toolchain 8dd5cd0bc1d683c30805e1dc831cac546b621a75 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SIGMazer/perceptron [INFO] finished tweaking git repo https://github.com/SIGMazer/perceptron [INFO] tweaked toml for git repo https://github.com/SIGMazer/perceptron written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SIGMazer/perceptron 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" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f61ae3c88d6d2c8d116008c95c47985e26e1984dd5472cae2a866a59dbf1fdf [INFO] running `Command { std: "docker" "start" "-a" "4f61ae3c88d6d2c8d116008c95c47985e26e1984dd5472cae2a866a59dbf1fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f61ae3c88d6d2c8d116008c95c47985e26e1984dd5472cae2a866a59dbf1fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f61ae3c88d6d2c8d116008c95c47985e26e1984dd5472cae2a866a59dbf1fdf", kill_on_drop: false }` [INFO] [stdout] 4f61ae3c88d6d2c8d116008c95c47985e26e1984dd5472cae2a866a59dbf1fdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36053b3a653a257ee7d6b49d1c3aef57d822fb5eb44bb060ead67c97ef764a39 [INFO] running `Command { std: "docker" "start" "-a" "36053b3a653a257ee7d6b49d1c3aef57d822fb5eb44bb060ead67c97ef764a39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling perceptron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `save_as_bin` is never used [INFO] [stdout] --> src/main.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn save_as_bin(input: &Vec>, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:56:71 [INFO] [stdout] | [INFO] [stdout] 56 | save_as_ppm(weights, &format!("data/train_{:03}.ppm", COUNT)); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:64:72 [INFO] [stdout] | [INFO] [stdout] 64 | save_as_ppm(&weights, &format!("data/train_{:03}.ppm", COUNT)); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "36053b3a653a257ee7d6b49d1c3aef57d822fb5eb44bb060ead67c97ef764a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36053b3a653a257ee7d6b49d1c3aef57d822fb5eb44bb060ead67c97ef764a39", kill_on_drop: false }` [INFO] [stdout] 36053b3a653a257ee7d6b49d1c3aef57d822fb5eb44bb060ead67c97ef764a39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a5d27f42caae81c3f71d820e1a68cbbfa4ab1f0d587682abd064ea85cfc86ce [INFO] running `Command { std: "docker" "start" "-a" "9a5d27f42caae81c3f71d820e1a68cbbfa4ab1f0d587682abd064ea85cfc86ce", kill_on_drop: false }` [INFO] [stderr] Compiling perceptron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `save_as_bin` is never used [INFO] [stdout] --> src/main.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn save_as_bin(input: &Vec>, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:56:71 [INFO] [stdout] | [INFO] [stdout] 56 | save_as_ppm(weights, &format!("data/train_{:03}.ppm", COUNT)); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:64:72 [INFO] [stdout] | [INFO] [stdout] 64 | save_as_ppm(&weights, &format!("data/train_{:03}.ppm", COUNT)); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "9a5d27f42caae81c3f71d820e1a68cbbfa4ab1f0d587682abd064ea85cfc86ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a5d27f42caae81c3f71d820e1a68cbbfa4ab1f0d587682abd064ea85cfc86ce", kill_on_drop: false }` [INFO] [stdout] 9a5d27f42caae81c3f71d820e1a68cbbfa4ab1f0d587682abd064ea85cfc86ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+8dd5cd0bc1d683c30805e1dc831cac546b621a75" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4460ca89a1e3940f2a86ece6710c45c459deafa2cdbc0d613f1ecd7146d7194a [INFO] running `Command { std: "docker" "start" "-a" "4460ca89a1e3940f2a86ece6710c45c459deafa2cdbc0d613f1ecd7146d7194a", kill_on_drop: false }` [INFO] [stderr] warning: function `save_as_bin` is never used [INFO] [stderr] --> src/main.rs:186:4 [INFO] [stderr] | [INFO] [stderr] 186 | fn save_as_bin(input: &Vec>, filename: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:56:71 [INFO] [stderr] | [INFO] [stderr] 56 | save_as_ppm(weights, &format!("data/train_{:03}.ppm", COUNT)); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:64:72 [INFO] [stderr] | [INFO] [stderr] 64 | save_as_ppm(&weights, &format!("data/train_{:03}.ppm", COUNT)); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `perceptron` (bin "perceptron" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/perceptron-edc6237bcf5b6901) [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" "4460ca89a1e3940f2a86ece6710c45c459deafa2cdbc0d613f1ecd7146d7194a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4460ca89a1e3940f2a86ece6710c45c459deafa2cdbc0d613f1ecd7146d7194a", kill_on_drop: false }` [INFO] [stdout] 4460ca89a1e3940f2a86ece6710c45c459deafa2cdbc0d613f1ecd7146d7194a