[INFO] cloning repository https://github.com/sku0x20/sudoku [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sku0x20/sudoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsku0x20%2Fsudoku", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsku0x20%2Fsudoku'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24da25ce85ff1b6084d4d18cee3dcf6a857e11ef [INFO] checking sku0x20/sudoku against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsku0x20%2Fsudoku" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sku0x20/sudoku [INFO] finished tweaking git repo https://github.com/sku0x20/sudoku [INFO] tweaked toml for git repo https://github.com/sku0x20/sudoku written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sku0x20/sudoku on toolchain 36b21637e93b038453924d3c66821089e71d8baa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sku0x20/sudoku 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7cb74e18dad50f4280f36f7ffaa2c39e13e3c6e92033406c51d799cb8b88e6b [INFO] running `Command { std: "docker" "start" "-a" "f7cb74e18dad50f4280f36f7ffaa2c39e13e3c6e92033406c51d799cb8b88e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7cb74e18dad50f4280f36f7ffaa2c39e13e3c6e92033406c51d799cb8b88e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7cb74e18dad50f4280f36f7ffaa2c39e13e3c6e92033406c51d799cb8b88e6b", kill_on_drop: false }` [INFO] [stdout] f7cb74e18dad50f4280f36f7ffaa2c39e13e3c6e92033406c51d799cb8b88e6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f893fa5f4f0762a495f3ee1e217c9382f95513f203a0d614e45710c6d166e46 [INFO] running `Command { std: "docker" "start" "-a" "9f893fa5f4f0762a495f3ee1e217c9382f95513f203a0d614e45710c6d166e46", kill_on_drop: false }` [INFO] [stderr] Checking sudoku v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> tests/FileParserTest.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Result` [INFO] [stdout] --> tests/FileParserTest.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/FileParserTest.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `withTestFixture` [INFO] [stdout] --> tests/FileParserTest.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::TestFixture::{withFixture, withTestFixture}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `withTestFixture` is never used [INFO] [stdout] --> tests/TestFixture.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn withTestFixture(setUp: fn(), tearDown: fn(), testCode: fn()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scoped` is never used [INFO] [stdout] --> tests/TestFixture.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn scoped(setup: fn(), teardown: fn(), testCode: fn()) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `withTestFixture` is never used [INFO] [stdout] --> tests/TestFixture.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn withTestFixture(setUp: fn(), tearDown: fn(), testCode: fn()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scoped` is never used [INFO] [stdout] --> tests/TestFixture.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn scoped(setup: fn(), teardown: fn(), testCode: fn()) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/TestFixtureTest.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | functionsCalled.push(String::from("setup")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/TestFixtureTest.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | functionsCalled.push(String::from("teardown")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/TestFixtureTest.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | functionsCalled.push(String::from("testCode")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/TestFixtureTest.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | functionsCalled.push(String::from("testCode")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "9f893fa5f4f0762a495f3ee1e217c9382f95513f203a0d614e45710c6d166e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f893fa5f4f0762a495f3ee1e217c9382f95513f203a0d614e45710c6d166e46", kill_on_drop: false }` [INFO] [stdout] 9f893fa5f4f0762a495f3ee1e217c9382f95513f203a0d614e45710c6d166e46