[INFO] fetching crate diplomacy 0.1.0... [INFO] testing diplomacy-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate diplomacy 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate diplomacy 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate diplomacy 0.1.0 [INFO] finished tweaking crates.io crate diplomacy 0.1.0 [INFO] tweaked toml for crates.io crate diplomacy 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.5.2 [INFO] [stderr] Downloaded proc-macro2 v0.3.8 [INFO] [stderr] Downloaded darling_core v0.5.0 [INFO] [stderr] Downloaded darling v0.5.0 [INFO] [stderr] Downloaded from_variants_impl v0.4.0 [INFO] [stderr] Downloaded syn v0.13.11 [INFO] [stderr] Downloaded from_variants v0.4.0 [INFO] [stderr] Downloaded darling_macro v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f311eac9573486129dd488e952297ebed8b88b1820896eb0b7febea679f6cf [INFO] running `Command { std: "docker" "start" "-a" "58f311eac9573486129dd488e952297ebed8b88b1820896eb0b7febea679f6cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f311eac9573486129dd488e952297ebed8b88b1820896eb0b7febea679f6cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f311eac9573486129dd488e952297ebed8b88b1820896eb0b7febea679f6cf", kill_on_drop: false }` [INFO] [stdout] 58f311eac9573486129dd488e952297ebed8b88b1820896eb0b7febea679f6cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4df12a32325c2cad29fe90b5cd4fd8267ef5720088b50b574a678a5c97ca6148 [INFO] running `Command { std: "docker" "start" "-a" "4df12a32325c2cad29fe90b5cd4fd8267ef5720088b50b574a678a5c97ca6148", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling darling_core v0.5.0 [INFO] [stderr] Compiling darling_macro v0.5.0 [INFO] [stderr] Compiling darling v0.5.0 [INFO] [stderr] Compiling from_variants_impl v0.4.0 [INFO] [stderr] Compiling from_variants v0.4.0 [INFO] [stderr] Compiling diplomacy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/game/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | map: &'static Map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `year_pattern` [INFO] [stdout] --> src/game/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | year_pattern: Vec<(Season, Phase)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `starting_year` [INFO] [stdout] --> src/game/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | starting_year: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `units` [INFO] [stdout] --> src/game/turn.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | units: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Turn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/turn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `main_phase_orders` [INFO] [stdout] --> src/game/turn.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | main_phase_orders: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Turn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/turn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/game/world.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | config: Config, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `World` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/world.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `history` [INFO] [stdout] --> src/game/world.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `World` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/world.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/geo/standard.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(format!("Failed registering province: {}", line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 25 - panic!(format!("Failed registering province: {}", line)) [INFO] [stdout] 25 + panic!("Failed registering province: {}", line) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/geo/standard.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Failed registering region: {}", line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 - panic!(format!("Failed registering region: {}", line)) [INFO] [stdout] 35 + panic!("Failed registering region: {}", line) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.32s [INFO] running `Command { std: "docker" "inspect" "4df12a32325c2cad29fe90b5cd4fd8267ef5720088b50b574a678a5c97ca6148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df12a32325c2cad29fe90b5cd4fd8267ef5720088b50b574a678a5c97ca6148", kill_on_drop: false }` [INFO] [stdout] 4df12a32325c2cad29fe90b5cd4fd8267ef5720088b50b574a678a5c97ca6148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b2039016e1be9244290985c89f34f770f35fe6c45983fcaaa3e19d42f53c3ef [INFO] running `Command { std: "docker" "start" "-a" "9b2039016e1be9244290985c89f34f770f35fe6c45983fcaaa3e19d42f53c3ef", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/game/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | map: &'static Map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `year_pattern` [INFO] [stdout] --> src/game/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | year_pattern: Vec<(Season, Phase)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `starting_year` [INFO] [stdout] --> src/game/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | starting_year: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `units` [INFO] [stdout] --> src/game/turn.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | units: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Turn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/turn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `main_phase_orders` [INFO] [stdout] --> src/game/turn.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | main_phase_orders: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Turn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/turn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/game/world.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | config: Config, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `World` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/world.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `history` [INFO] [stdout] --> src/game/world.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `World` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/world.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling diplomacy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/geo/standard.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(format!("Failed registering province: {}", line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 25 - panic!(format!("Failed registering province: {}", line)) [INFO] [stdout] 25 + panic!("Failed registering province: {}", line) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/geo/standard.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Failed registering region: {}", line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 - panic!(format!("Failed registering region: {}", line)) [INFO] [stdout] 35 + panic!("Failed registering region: {}", line) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/game/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | map: &'static Map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `year_pattern` [INFO] [stdout] --> src/game/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | year_pattern: Vec<(Season, Phase)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `starting_year` [INFO] [stdout] --> src/game/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | starting_year: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/config.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `units` [INFO] [stdout] --> src/game/turn.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | units: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Turn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/turn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `main_phase_orders` [INFO] [stdout] --> src/game/turn.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | main_phase_orders: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Turn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/turn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/game/world.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | config: Config, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `World` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/world.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `history` [INFO] [stdout] --> src/game/world.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `World` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/world.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/geo/standard.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(format!("Failed registering province: {}", line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 25 - panic!(format!("Failed registering province: {}", line)) [INFO] [stdout] 25 + panic!("Failed registering province: {}", line) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/geo/standard.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Failed registering region: {}", line)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 - panic!(format!("Failed registering region: {}", line)) [INFO] [stdout] 35 + panic!("Failed registering region: {}", line) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.24s [INFO] running `Command { std: "docker" "inspect" "9b2039016e1be9244290985c89f34f770f35fe6c45983fcaaa3e19d42f53c3ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b2039016e1be9244290985c89f34f770f35fe6c45983fcaaa3e19d42f53c3ef", kill_on_drop: false }` [INFO] [stdout] 9b2039016e1be9244290985c89f34f770f35fe6c45983fcaaa3e19d42f53c3ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 861d2357895b1e6ab1c9ed12978765d1eedb5c48da392e3d64f2c602bdf92cde [INFO] running `Command { std: "docker" "start" "-a" "861d2357895b1e6ab1c9ed12978765d1eedb5c48da392e3d64f2c602bdf92cde", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `map` [INFO] [stderr] --> src/game/config.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | map: &'static Map, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/config.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `year_pattern` [INFO] [stderr] --> src/game/config.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | year_pattern: Vec<(Season, Phase)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/config.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `starting_year` [INFO] [stderr] --> src/game/config.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | starting_year: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/config.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `units` [INFO] [stderr] --> src/game/turn.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | units: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Turn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/turn.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `main_phase_orders` [INFO] [stderr] --> src/game/turn.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | main_phase_orders: Vec>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Turn` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/turn.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `config` [INFO] [stderr] --> src/game/world.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | config: Config, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `World` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/world.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `history` [INFO] [stderr] --> src/game/world.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | history: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `World` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/world.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/geo/standard.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(format!("Failed registering province: {}", line)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 25 - panic!(format!("Failed registering province: {}", line)) [INFO] [stderr] 25 + panic!("Failed registering province: {}", line) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/geo/standard.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | panic!(format!("Failed registering region: {}", line)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 35 - panic!(format!("Failed registering region: {}", line)) [INFO] [stderr] 35 + panic!("Failed registering region: {}", line) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `diplomacy` (lib) generated 9 warnings [INFO] [stderr] warning: `diplomacy` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/diplomacy-7d24c66fc7354bfe) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test game::phase::test::parse_time ... ok [INFO] [stdout] test geo::region::test::parse_coast ... ok [INFO] [stdout] test game::phase::test::cmp ... ok [INFO] [stdout] test geo::region::test::parse_region ... ok [INFO] [stdout] test parser::test::army_move ... ok [INFO] [stdout] test parser::test::army_move_via_convoy ... ok [INFO] [stdout] test unit::test::parse_unit_type ... ok [INFO] [stdout] test parser::test::hold ... ok [INFO] [stdout] test judge::build::tests::to_initial_ownerships_for_standard_map ... ok [INFO] [stdout] test judge::support::test::is_support_successful ... ok [INFO] [stdout] test judge::calc::tests::t6e01_prevent_strengths ... ok [INFO] [stdout] test judge::calc::tests::t6g16_prevent_strengths ... ok [INFO] [stdout] test judge::convoy::test::pathfinder ... ok [INFO] [stdout] test judge::support::test::support_t6b04_support_to_unreachable_coast_allowed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests diplomacy [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "861d2357895b1e6ab1c9ed12978765d1eedb5c48da392e3d64f2c602bdf92cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861d2357895b1e6ab1c9ed12978765d1eedb5c48da392e3d64f2c602bdf92cde", kill_on_drop: false }` [INFO] [stdout] 861d2357895b1e6ab1c9ed12978765d1eedb5c48da392e3d64f2c602bdf92cde