[INFO] cloning repository https://github.com/LeoTindall/evolve-sbrain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeoTindall/evolve-sbrain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeoTindall%2Fevolve-sbrain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeoTindall%2Fevolve-sbrain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bda179d477a6210c201772481fc2ee3132970ba [INFO] checking LeoTindall/evolve-sbrain against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeoTindall%2Fevolve-sbrain" "/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/LeoTindall/evolve-sbrain 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/LeoTindall/evolve-sbrain [INFO] finished tweaking git repo https://github.com/LeoTindall/evolve-sbrain [INFO] tweaked toml for git repo https://github.com/LeoTindall/evolve-sbrain written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LeoTindall/evolve-sbrain 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.2 [INFO] [stderr] Downloaded num_cpus v1.4.0 [INFO] [stderr] Downloaded serde_derive_internals v0.15.0 [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded serde_derive v1.0.2 [INFO] [stderr] Downloaded deque v0.3.2 [INFO] [stderr] Downloaded lazy_static v0.2.8 [INFO] [stderr] Downloaded rayon-core v1.0.0 [INFO] [stderr] Downloaded toml v0.4.0 [INFO] [stderr] Downloaded rayon v0.7.0 [INFO] [stderr] Downloaded libc v0.2.22 [INFO] [stderr] Downloaded sbrain v0.4.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcfb08720b77757ade2daa71fcfeb4d84b90f400713d72713b8b48cba3bd68f2 [INFO] running `Command { std: "docker" "start" "-a" "fcfb08720b77757ade2daa71fcfeb4d84b90f400713d72713b8b48cba3bd68f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcfb08720b77757ade2daa71fcfeb4d84b90f400713d72713b8b48cba3bd68f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfb08720b77757ade2daa71fcfeb4d84b90f400713d72713b8b48cba3bd68f2", kill_on_drop: false }` [INFO] [stdout] fcfb08720b77757ade2daa71fcfeb4d84b90f400713d72713b8b48cba3bd68f2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1c72120d563d8b691d9ce36782b6eb93e33cf005d32dfe944a100970c62735a [INFO] running `Command { std: "docker" "start" "-a" "f1c72120d563d8b691d9ce36782b6eb93e33cf005d32dfe944a100970c62735a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Compiling rayon-core v1.0.0 [INFO] [stderr] Checking deque v0.3.2 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking serde v1.0.2 [INFO] [stderr] Checking sbrain v0.4.2 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Checking num_cpus v1.4.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.2 [INFO] [stderr] Checking rayon v0.7.0 [INFO] [stderr] Checking toml v0.4.0 [INFO] [stderr] Checking evolve-sbrain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => {panic!(format!("Failed to open file {}: {}", filename.to_string_lossy(), e));} [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - Err(e) => {panic!(format!("Failed to open file {}: {}", filename.to_string_lossy(), e));} [INFO] [stdout] 39 + Err(e) => {panic!("Failed to open file {}: {}", filename.to_string_lossy(), e);} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => {panic!(format!("Failed to parse configuration file: {}", e))} [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] 46 - Err(e) => {panic!(format!("Failed to parse configuration file: {}", e))} [INFO] [stdout] 46 + Err(e) => {panic!("Failed to parse configuration file: {}", e)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | panic!(format!("Invalid configuration; number of inputs and outputs should match, but there are {} inputs and {} outputs.", [INFO] [stdout] | ________________^ [INFO] [stdout] 52 | | config.inputs.len(), config.targets.len())) [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] 51 ~ panic!("Invalid configuration; number of inputs and outputs should match, but there are {} inputs and {} outputs.", [INFO] [stdout] 52 ~ config.inputs.len(), config.targets.len()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => {panic!(format!("Failed to open file {}: {}", filename.to_string_lossy(), e));} [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - Err(e) => {panic!(format!("Failed to open file {}: {}", filename.to_string_lossy(), e));} [INFO] [stdout] 39 + Err(e) => {panic!("Failed to open file {}: {}", filename.to_string_lossy(), e);} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => {panic!(format!("Failed to parse configuration file: {}", e))} [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] 46 - Err(e) => {panic!(format!("Failed to parse configuration file: {}", e))} [INFO] [stdout] 46 + Err(e) => {panic!("Failed to parse configuration file: {}", e)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | panic!(format!("Invalid configuration; number of inputs and outputs should match, but there are {} inputs and {} outputs.", [INFO] [stdout] | ________________^ [INFO] [stdout] 52 | | config.inputs.len(), config.targets.len())) [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] 51 ~ panic!("Invalid configuration; number of inputs and outputs should match, but there are {} inputs and {} outputs.", [INFO] [stdout] 52 ~ config.inputs.len(), config.targets.len()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "f1c72120d563d8b691d9ce36782b6eb93e33cf005d32dfe944a100970c62735a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c72120d563d8b691d9ce36782b6eb93e33cf005d32dfe944a100970c62735a", kill_on_drop: false }` [INFO] [stdout] f1c72120d563d8b691d9ce36782b6eb93e33cf005d32dfe944a100970c62735a [INFO] checking LeoTindall/evolve-sbrain 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%2FLeoTindall%2Fevolve-sbrain" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LeoTindall/evolve-sbrain 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/LeoTindall/evolve-sbrain [INFO] finished tweaking git repo https://github.com/LeoTindall/evolve-sbrain [INFO] tweaked toml for git repo https://github.com/LeoTindall/evolve-sbrain written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LeoTindall/evolve-sbrain 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b8e6d94fae74aed139950f67ef03db371545b17010dc989e7bd371f2f546ef39 [INFO] running `Command { std: "docker" "start" "-a" "b8e6d94fae74aed139950f67ef03db371545b17010dc989e7bd371f2f546ef39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8e6d94fae74aed139950f67ef03db371545b17010dc989e7bd371f2f546ef39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e6d94fae74aed139950f67ef03db371545b17010dc989e7bd371f2f546ef39", kill_on_drop: false }` [INFO] [stdout] b8e6d94fae74aed139950f67ef03db371545b17010dc989e7bd371f2f546ef39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9459c09d59303fb4840cc5c2aa7f994898b2b279d0921186d672945128d175f5 [INFO] running `Command { std: "docker" "start" "-a" "9459c09d59303fb4840cc5c2aa7f994898b2b279d0921186d672945128d175f5", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Compiling rayon-core v1.0.0 [INFO] [stderr] Checking deque v0.3.2 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking serde v1.0.2 [INFO] [stderr] Checking sbrain v0.4.2 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Checking num_cpus v1.4.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.2 [INFO] [stderr] Checking rayon v0.7.0 [INFO] [stderr] Checking toml v0.4.0 [INFO] [stderr] Checking evolve-sbrain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/parameters.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Configuration` [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] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => {panic!(format!("Failed to open file {}: {}", filename.to_string_lossy(), e));} [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - Err(e) => {panic!(format!("Failed to open file {}: {}", filename.to_string_lossy(), e));} [INFO] [stdout] 39 + Err(e) => {panic!("Failed to open file {}: {}", filename.to_string_lossy(), e);} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => {panic!(format!("Failed to parse configuration file: {}", e))} [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] 46 - Err(e) => {panic!(format!("Failed to parse configuration file: {}", e))} [INFO] [stdout] 46 + Err(e) => {panic!("Failed to parse configuration file: {}", e)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | panic!(format!("Invalid configuration; number of inputs and outputs should match, but there are {} inputs and {} outputs.", [INFO] [stdout] | ________________^ [INFO] [stdout] 52 | | config.inputs.len(), config.targets.len())) [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] 51 ~ panic!("Invalid configuration; number of inputs and outputs should match, but there are {} inputs and {} outputs.", [INFO] [stdout] 52 ~ config.inputs.len(), config.targets.len()) [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/parameters.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Configuration` [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] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => {panic!(format!("Failed to open file {}: {}", filename.to_string_lossy(), e));} [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - Err(e) => {panic!(format!("Failed to open file {}: {}", filename.to_string_lossy(), e));} [INFO] [stdout] 39 + Err(e) => {panic!("Failed to open file {}: {}", filename.to_string_lossy(), e);} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => {panic!(format!("Failed to parse configuration file: {}", e))} [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] 46 - Err(e) => {panic!(format!("Failed to parse configuration file: {}", e))} [INFO] [stdout] 46 + Err(e) => {panic!("Failed to parse configuration file: {}", e)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parameters.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | panic!(format!("Invalid configuration; number of inputs and outputs should match, but there are {} inputs and {} outputs.", [INFO] [stdout] | ________________^ [INFO] [stdout] 52 | | config.inputs.len(), config.targets.len())) [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] 51 ~ panic!("Invalid configuration; number of inputs and outputs should match, but there are {} inputs and {} outputs.", [INFO] [stdout] 52 ~ config.inputs.len(), config.targets.len()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `evolve-sbrain` (bin "evolve-sbrain") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `evolve-sbrain` (bin "evolve-sbrain" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9459c09d59303fb4840cc5c2aa7f994898b2b279d0921186d672945128d175f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9459c09d59303fb4840cc5c2aa7f994898b2b279d0921186d672945128d175f5", kill_on_drop: false }` [INFO] [stdout] 9459c09d59303fb4840cc5c2aa7f994898b2b279d0921186d672945128d175f5