[INFO] cloning repository https://github.com/RootOfInfinity/mini-code-contest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RootOfInfinity/mini-code-contest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRootOfInfinity%2Fmini-code-contest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRootOfInfinity%2Fmini-code-contest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b63d49a8641e86518706151767106cc147ba71c6 [INFO] checking RootOfInfinity/mini-code-contest against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRootOfInfinity%2Fmini-code-contest" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RootOfInfinity/mini-code-contest [INFO] finished tweaking git repo https://github.com/RootOfInfinity/mini-code-contest [INFO] tweaked toml for git repo https://github.com/RootOfInfinity/mini-code-contest written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RootOfInfinity/mini-code-contest on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RootOfInfinity/mini-code-contest 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstyle v1.0.10 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded assert_cmd v2.0.16 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded bstr v1.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5a430aba451e7305ff6c3857cd74ef857d97efb64e1d726849546d0142ef998 [INFO] running `Command { std: "docker" "start" "-a" "a5a430aba451e7305ff6c3857cd74ef857d97efb64e1d726849546d0142ef998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5a430aba451e7305ff6c3857cd74ef857d97efb64e1d726849546d0142ef998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5a430aba451e7305ff6c3857cd74ef857d97efb64e1d726849546d0142ef998", kill_on_drop: false }` [INFO] [stdout] a5a430aba451e7305ff6c3857cd74ef857d97efb64e1d726849546d0142ef998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0514f1c3dfbd371b59d2c92a1448d8c797f7aeb72cbda2909c4f9001340acbd [INFO] running `Command { std: "docker" "start" "-a" "f0514f1c3dfbd371b59d2c92a1448d8c797f7aeb72cbda2909c4f9001340acbd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Checking code_challenge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tester.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut right = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/tester.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut right = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `output` are never read [INFO] [stdout] --> src/tester.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Test { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | input: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | output: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `test_num`, `description`, and `tests` are never read [INFO] [stdout] --> src/tester.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TestSet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | name: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | test_num: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | description: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | tests: Arc<[Test]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_json` is never used [INFO] [stdout] --> src/tester.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl TestSet { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 27 | fn from_json(testj: JsonValue) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_against_testcases` is never used [INFO] [stdout] --> src/tester.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_against_testcases( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tester.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut right = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/tester.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut right = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_it` is never used [INFO] [stdout] --> src/compiler.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn compile_it(package: core::CodePackage) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `output` are never read [INFO] [stdout] --> src/tester.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Test { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | input: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | output: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `test_num`, `description`, and `tests` are never read [INFO] [stdout] --> src/tester.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TestSet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 20 | name: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | test_num: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | description: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | tests: Arc<[Test]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_json` is never used [INFO] [stdout] --> src/tester.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl TestSet { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 27 | fn from_json(testj: JsonValue) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_against_testcases` is never used [INFO] [stdout] --> src/tester.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_against_testcases( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.29s [INFO] running `Command { std: "docker" "inspect" "f0514f1c3dfbd371b59d2c92a1448d8c797f7aeb72cbda2909c4f9001340acbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0514f1c3dfbd371b59d2c92a1448d8c797f7aeb72cbda2909c4f9001340acbd", kill_on_drop: false }` [INFO] [stdout] f0514f1c3dfbd371b59d2c92a1448d8c797f7aeb72cbda2909c4f9001340acbd