[INFO] cloning repository https://github.com/cmlaverdiere/rust-adventure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cmlaverdiere/rust-adventure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmlaverdiere%2Frust-adventure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmlaverdiere%2Frust-adventure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b5e191aa3198dae992d59f2f7746a5fd9894062 [INFO] checking cmlaverdiere/rust-adventure against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmlaverdiere%2Frust-adventure" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmlaverdiere/rust-adventure on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cmlaverdiere/rust-adventure [INFO] finished tweaking git repo https://github.com/cmlaverdiere/rust-adventure [INFO] tweaked toml for git repo https://github.com/cmlaverdiere/rust-adventure written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cmlaverdiere/rust-adventure 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded syn v0.15.35 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22587478bcf1eeed534fe62b1bff9380c72ae74fd5fbde453e254e27173a5165 [INFO] running `Command { std: "docker" "start" "-a" "22587478bcf1eeed534fe62b1bff9380c72ae74fd5fbde453e254e27173a5165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22587478bcf1eeed534fe62b1bff9380c72ae74fd5fbde453e254e27173a5165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22587478bcf1eeed534fe62b1bff9380c72ae74fd5fbde453e254e27173a5165", kill_on_drop: false }` [INFO] [stdout] 22587478bcf1eeed534fe62b1bff9380c72ae74fd5fbde453e254e27173a5165 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1af1f43a6dd086862d36490f61663eb8e51fc65887ff82d0fe79a2461157640 [INFO] running `Command { std: "docker" "start" "-a" "a1af1f43a6dd086862d36490f61663eb8e51fc65887ff82d0fe79a2461157640", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking adventure v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `delay_print` [INFO] [stdout] --> src/main.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | use system::{delay_print, prompt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay_print` [INFO] [stdout] --> src/main.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | use system::{delay_print, prompt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geography.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub enemy: Option>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | pub enemy: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geography.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub enemy: Option>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | pub enemy: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/main.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | character: &mut Character, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `level_id` are never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Level { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 44 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | level_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Level` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/creatures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Bureaucrat { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 47 | fn new(dough: u64, jurisdiction: Jurisdiction) -> Bureaucrat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRINT_DELAY_MS` is never used [INFO] [stdout] --> src/system.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const PRINT_DELAY_MS: time::Duration = time::Duration::from_millis(25); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delay_print` is never used [INFO] [stdout] --> src/system.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn delay_print(s: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/main.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | character: &mut Character, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Level { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 44 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Level` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/creatures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Bureaucrat { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 47 | fn new(dough: u64, jurisdiction: Jurisdiction) -> Bureaucrat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRINT_DELAY_MS` is never used [INFO] [stdout] --> src/system.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const PRINT_DELAY_MS: time::Duration = time::Duration::from_millis(25); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delay_print` is never used [INFO] [stdout] --> src/system.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn delay_print(s: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.04s [INFO] running `Command { std: "docker" "inspect" "a1af1f43a6dd086862d36490f61663eb8e51fc65887ff82d0fe79a2461157640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1af1f43a6dd086862d36490f61663eb8e51fc65887ff82d0fe79a2461157640", kill_on_drop: false }` [INFO] [stdout] a1af1f43a6dd086862d36490f61663eb8e51fc65887ff82d0fe79a2461157640 [INFO] checking cmlaverdiere/rust-adventure against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmlaverdiere%2Frust-adventure" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmlaverdiere/rust-adventure on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cmlaverdiere/rust-adventure [INFO] finished tweaking git repo https://github.com/cmlaverdiere/rust-adventure [INFO] tweaked toml for git repo https://github.com/cmlaverdiere/rust-adventure written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cmlaverdiere/rust-adventure 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31a2850c0cb0c047bafc9179274cfc3200399360e9b118e857a7137da22f31b6 [INFO] running `Command { std: "docker" "start" "-a" "31a2850c0cb0c047bafc9179274cfc3200399360e9b118e857a7137da22f31b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31a2850c0cb0c047bafc9179274cfc3200399360e9b118e857a7137da22f31b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31a2850c0cb0c047bafc9179274cfc3200399360e9b118e857a7137da22f31b6", kill_on_drop: false }` [INFO] [stdout] 31a2850c0cb0c047bafc9179274cfc3200399360e9b118e857a7137da22f31b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e0d52af437d473bd8ac9bf579e60318cba1d24f7055b12659eff42772655688 [INFO] running `Command { std: "docker" "start" "-a" "0e0d52af437d473bd8ac9bf579e60318cba1d24f7055b12659eff42772655688", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking adventure v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `delay_print` [INFO] [stdout] --> src/main.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | use system::{delay_print, prompt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geography.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub enemy: Option>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | pub enemy: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delay_print` [INFO] [stdout] --> src/main.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | use system::{delay_print, prompt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geography.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub enemy: Option>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | pub enemy: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/main.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | character: &mut Character, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Level { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 44 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Level` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/creatures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Bureaucrat { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 47 | fn new(dough: u64, jurisdiction: Jurisdiction) -> Bureaucrat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRINT_DELAY_MS` is never used [INFO] [stdout] --> src/system.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const PRINT_DELAY_MS: time::Duration = time::Duration::from_millis(25); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delay_print` is never used [INFO] [stdout] --> src/system.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn delay_print(s: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Level` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/creatures.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Copy, Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Bureaucrat` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/geography.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Copy, Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Jurisdiction` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventure` (bin "adventure" test) due to 4 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/main.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | character: &mut Character, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `level_id` are never read [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Level { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 44 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | level_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Level` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/creatures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Bureaucrat { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 47 | fn new(dough: u64, jurisdiction: Jurisdiction) -> Bureaucrat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRINT_DELAY_MS` is never used [INFO] [stdout] --> src/system.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const PRINT_DELAY_MS: time::Duration = time::Duration::from_millis(25); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delay_print` is never used [INFO] [stdout] --> src/system.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn delay_print(s: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Level` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/creatures.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Copy, Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Bureaucrat` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/geography.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Copy, Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Jurisdiction` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventure` (bin "adventure") due to 4 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0e0d52af437d473bd8ac9bf579e60318cba1d24f7055b12659eff42772655688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e0d52af437d473bd8ac9bf579e60318cba1d24f7055b12659eff42772655688", kill_on_drop: false }` [INFO] [stdout] 0e0d52af437d473bd8ac9bf579e60318cba1d24f7055b12659eff42772655688