[INFO] cloning repository https://github.com/driden/oxido [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/driden/oxido" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdriden%2Foxido", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdriden%2Foxido'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 61ab85f006ee1659d15b074edcb666baae026218 [INFO] checking driden/oxido/61ab85f006ee1659d15b074edcb666baae026218 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdriden%2Foxido" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/driden/oxido on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/driden/oxido [INFO] finished tweaking git repo https://github.com/driden/oxido [INFO] tweaked toml for git repo https://github.com/driden/oxido written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/driden/oxido 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eef8ae2b9959e2022a1e8468d06fe97bfce48693e3b30bd2e6e77b1931f07dc1 [INFO] running `Command { std: "docker" "start" "-a" "eef8ae2b9959e2022a1e8468d06fe97bfce48693e3b30bd2e6e77b1931f07dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eef8ae2b9959e2022a1e8468d06fe97bfce48693e3b30bd2e6e77b1931f07dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef8ae2b9959e2022a1e8468d06fe97bfce48693e3b30bd2e6e77b1931f07dc1", kill_on_drop: false }` [INFO] [stdout] eef8ae2b9959e2022a1e8468d06fe97bfce48693e3b30bd2e6e77b1931f07dc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2b57753d4defbc188d4671e657b6de1e81055711c10bd3d4cd6573cd4f56ffe [INFO] running `Command { std: "docker" "start" "-a" "c2b57753d4defbc188d4671e657b6de1e81055711c10bd3d4cd6573cd4f56ffe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking oxido v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `NoBeingInSquare` is named the same as one of the variants of the type `MovementError` [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `MovementError::NoBeingInSquare` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `FellOffTheGrid` is named the same as one of the variants of the type `MovementError` [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | FellOffTheGrid => "Tried to move off the grid.", [INFO] [stdout] | ^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `MovementError::FellOffTheGrid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `AnotherBeingInSquare` is named the same as one of the variants of the type `MovementError` [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | AnotherBeingInSquare => "Tried to move onto another being.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `MovementError::AnotherBeingInSquare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `MovedToBadTerrain` is named the same as one of the variants of the type `MovementError` [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | MovedToBadTerrain => "Tried to move to inaccesible terrain." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `MovementError::MovedToBadTerrain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | --------------- matches any value [INFO] [stdout] 65 | FellOffTheGrid => "Tried to move off the grid.", [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | --------------- matches any value [INFO] [stdout] 65 | FellOffTheGrid => "Tried to move off the grid.", [INFO] [stdout] 66 | AnotherBeingInSquare => "Tried to move onto another being.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | --------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 67 | MovedToBadTerrain => "Tried to move to inaccesible terrain." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NoBeingInSquare` [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NoBeingInSquare` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `FellOffTheGrid` [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | FellOffTheGrid => "Tried to move off the grid.", [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_FellOffTheGrid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AnotherBeingInSquare` [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | AnotherBeingInSquare => "Tried to move onto another being.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AnotherBeingInSquare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `MovedToBadTerrain` [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | MovedToBadTerrain => "Tried to move to inaccesible terrain." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_MovedToBadTerrain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NoBeingInSquare` should have a snake case name [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `no_being_in_square` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FellOffTheGrid` should have a snake case name [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | FellOffTheGrid => "Tried to move off the grid.", [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fell_off_the_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AnotherBeingInSquare` should have a snake case name [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | AnotherBeingInSquare => "Tried to move onto another being.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `another_being_in_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MovedToBadTerrain` should have a snake case name [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | MovedToBadTerrain => "Tried to move to inaccesible terrain." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_to_bad_terrain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `NoBeingInSquare` is named the same as one of the variants of the type `MovementError` [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `MovementError::NoBeingInSquare` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `FellOffTheGrid` is named the same as one of the variants of the type `MovementError` [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | FellOffTheGrid => "Tried to move off the grid.", [INFO] [stdout] | ^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `MovementError::FellOffTheGrid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `AnotherBeingInSquare` is named the same as one of the variants of the type `MovementError` [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | AnotherBeingInSquare => "Tried to move onto another being.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `MovementError::AnotherBeingInSquare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `MovedToBadTerrain` is named the same as one of the variants of the type `MovementError` [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | MovedToBadTerrain => "Tried to move to inaccesible terrain." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `MovementError::MovedToBadTerrain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | --------------- matches any value [INFO] [stdout] 65 | FellOffTheGrid => "Tried to move off the grid.", [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | --------------- matches any value [INFO] [stdout] 65 | FellOffTheGrid => "Tried to move off the grid.", [INFO] [stdout] 66 | AnotherBeingInSquare => "Tried to move onto another being.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | --------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 67 | MovedToBadTerrain => "Tried to move to inaccesible terrain." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NoBeingInSquare` [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NoBeingInSquare` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `FellOffTheGrid` [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | FellOffTheGrid => "Tried to move off the grid.", [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_FellOffTheGrid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AnotherBeingInSquare` [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | AnotherBeingInSquare => "Tried to move onto another being.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AnotherBeingInSquare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `MovedToBadTerrain` [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | MovedToBadTerrain => "Tried to move to inaccesible terrain." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_MovedToBadTerrain` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxido` (bin "oxido") due to 5 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `NoBeingInSquare` should have a snake case name [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | NoBeingInSquare => "No being in square.", [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `no_being_in_square` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FellOffTheGrid` should have a snake case name [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | FellOffTheGrid => "Tried to move off the grid.", [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fell_off_the_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AnotherBeingInSquare` should have a snake case name [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | AnotherBeingInSquare => "Tried to move onto another being.", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `another_being_in_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MovedToBadTerrain` should have a snake case name [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | MovedToBadTerrain => "Tried to move to inaccesible terrain." [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `moved_to_bad_terrain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxido` (bin "oxido" test) due to 5 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c2b57753d4defbc188d4671e657b6de1e81055711c10bd3d4cd6573cd4f56ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b57753d4defbc188d4671e657b6de1e81055711c10bd3d4cd6573cd4f56ffe", kill_on_drop: false }` [INFO] [stdout] c2b57753d4defbc188d4671e657b6de1e81055711c10bd3d4cd6573cd4f56ffe