[INFO] cloning repository https://github.com/URvesh109/exercism [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/URvesh109/exercism" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FURvesh109%2Fexercism", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FURvesh109%2Fexercism'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c0f8ef4784a8032876855e436daa092ece43eaf [INFO] checking URvesh109/exercism/8c0f8ef4784a8032876855e436daa092ece43eaf against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FURvesh109%2Fexercism" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/URvesh109/exercism on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/URvesh109/exercism [INFO] finished tweaking git repo https://github.com/URvesh109/exercism [INFO] tweaked toml for git repo https://github.com/URvesh109/exercism written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/URvesh109/exercism 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded int-enum-impl v0.4.0 [INFO] [stderr] Downloaded int-enum v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb9655b639aeb3b08372c43d554ca4317e1ad0d108a9d15bcfe9a6861cf08a3c [INFO] running `Command { std: "docker" "start" "-a" "eb9655b639aeb3b08372c43d554ca4317e1ad0d108a9d15bcfe9a6861cf08a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb9655b639aeb3b08372c43d554ca4317e1ad0d108a9d15bcfe9a6861cf08a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb9655b639aeb3b08372c43d554ca4317e1ad0d108a9d15bcfe9a6861cf08a3c", kill_on_drop: false }` [INFO] [stdout] eb9655b639aeb3b08372c43d554ca4317e1ad0d108a9d15bcfe9a6861cf08a3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de7c106d150f42b67d725aee460d4019db3ad7b6336680e3d60f3c22cc72f19 [INFO] running `Command { std: "docker" "start" "-a" "7de7c106d150f42b67d725aee460d4019db3ad7b6336680e3d60f3c22cc72f19", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking anagram v0.1.0 (/opt/rustwide/workdir/anagram) [INFO] [stderr] Checking space_age v0.1.0 (/opt/rustwide/workdir/space_age) [INFO] [stderr] Checking embedded_game v0.1.0 (/opt/rustwide/workdir/embedded_game) [INFO] [stderr] Checking minesweeper v0.1.0 (/opt/rustwide/workdir/minesweeper) [INFO] [stderr] Checking lasagna v0.1.0 (/opt/rustwide/workdir/lasagna) [INFO] [stderr] Checking rpn_calc v0.1.0 (/opt/rustwide/workdir/rpn_calc) [INFO] [stderr] Checking assembly_line v0.1.0 (/opt/rustwide/workdir/assembly_line) [INFO] [stderr] Checking health_statistics v0.1.0 (/opt/rustwide/workdir/health_statistics) [INFO] [stderr] Checking hello_world v0.1.0 (/opt/rustwide/workdir/hello_world) [INFO] [stderr] Checking luhn v0.1.0 (/opt/rustwide/workdir/luhn) [INFO] [stderr] Checking magazine_cutout v0.1.0 (/opt/rustwide/workdir/magazine_cutout) [INFO] [stderr] Checking fibonacci v0.1.0 (/opt/rustwide/workdir/fibonacci) [INFO] [stderr] Checking poker v0.1.0 (/opt/rustwide/workdir/poker) [INFO] [stderr] Checking role_game v0.1.0 (/opt/rustwide/workdir/role_game) [INFO] [stderr] Checking clock v0.1.0 (/opt/rustwide/workdir/clock) [INFO] [stderr] Checking semi_logs v0.1.0 (/opt/rustwide/workdir/semi_logs) [INFO] [stderr] Checking sublist v0.1.0 (/opt/rustwide/workdir/sublist) [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> sublist/src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let B = [2,3,4]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> sublist/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let A = [1,2,3,4,5]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> sublist/src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let B = [2,3,4]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> sublist/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let A = [1,2,3,4,5]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking reverse_str v0.1.0 (/opt/rustwide/workdir/reverse_str) [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking giga_second v0.1.0 (/opt/rustwide/workdir/giga_second) [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Checking enum-iterator v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling int-enum-impl v0.4.0 [INFO] [stderr] Checking int-enum v0.4.0 [INFO] [stderr] Checking resistor v0.1.0 (/opt/rustwide/workdir/resistor) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> resistor/src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, IntEnum, IntoEnumIterator, PartialEq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `IntEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> resistor/src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, IntEnum, IntoEnumIterator, PartialEq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `IntEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> resistor/src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, IntEnum, IntoEnumIterator, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `IntEnum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_IntEnum_FOR_Resistor` [INFO] [stdout] 6 | enum Resistor { [INFO] [stdout] | -------- `Resistor` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `IntEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `IntEnum` may come from an old version of the `int_enum_impl` crate, try updating your dependency with `cargo update -p int_enum_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `IntEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> resistor/src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, IntEnum, IntoEnumIterator, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `IntEnum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_IntEnum_FOR_Resistor` [INFO] [stdout] 6 | enum Resistor { [INFO] [stdout] | -------- `Resistor` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `IntEnum` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `IntEnum` may come from an old version of the `int_enum_impl` crate, try updating your dependency with `cargo update -p int_enum_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `IntEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "7de7c106d150f42b67d725aee460d4019db3ad7b6336680e3d60f3c22cc72f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de7c106d150f42b67d725aee460d4019db3ad7b6336680e3d60f3c22cc72f19", kill_on_drop: false }` [INFO] [stdout] 7de7c106d150f42b67d725aee460d4019db3ad7b6336680e3d60f3c22cc72f19