[INFO] cloning repository https://github.com/bhamrick/factorio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bhamrick/factorio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbhamrick%2Ffactorio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbhamrick%2Ffactorio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c41b01434d6105fc6bbf002659f145a8d67dc562 [INFO] building bhamrick/factorio against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbhamrick%2Ffactorio" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bhamrick/factorio on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bhamrick/factorio [INFO] finished tweaking git repo https://github.com/bhamrick/factorio [INFO] tweaked toml for git repo https://github.com/bhamrick/factorio written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bhamrick/factorio 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v3.1.0 [INFO] [stderr] Downloaded matrixmultiply v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30bede133f5bb9e94d4dca31002753f0ceb7d5d41c0348f9066628b335e64726 [INFO] running `Command { std: "docker" "start" "-a" "30bede133f5bb9e94d4dca31002753f0ceb7d5d41c0348f9066628b335e64726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30bede133f5bb9e94d4dca31002753f0ceb7d5d41c0348f9066628b335e64726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30bede133f5bb9e94d4dca31002753f0ceb7d5d41c0348f9066628b335e64726", kill_on_drop: false }` [INFO] [stdout] 30bede133f5bb9e94d4dca31002753f0ceb7d5d41c0348f9066628b335e64726 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 255f3dba81efc57102e21ce8b9d97c0d8596a99ba6d436abdaf7e55373dc9371 [INFO] running `Command { std: "docker" "start" "-a" "255f3dba81efc57102e21ce8b9d97c0d8596a99ba6d436abdaf7e55373dc9371", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.1.39 [INFO] [stderr] Compiling matrixmultiply v0.1.13 [INFO] [stderr] Compiling libc v0.2.24 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling nom v3.1.0 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num v0.1.39 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling factorio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:3300:25 [INFO] [stdout] | [INFO] [stdout] 3300 | let mut coeff : &mut f32 = ent.get_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:3311:25 [INFO] [stdout] | [INFO] [stdout] 3311 | let mut coeff : &mut f32 = ent.get_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/main.rs:3501:5 [INFO] [stdout] | [INFO] [stdout] 3500 | struct InputError { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3501 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/main.rs:3520:5 [INFO] [stdout] | [INFO] [stdout] 3519 | struct AnalyzeError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 3520 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalyzeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "255f3dba81efc57102e21ce8b9d97c0d8596a99ba6d436abdaf7e55373dc9371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "255f3dba81efc57102e21ce8b9d97c0d8596a99ba6d436abdaf7e55373dc9371", kill_on_drop: false }` [INFO] [stdout] 255f3dba81efc57102e21ce8b9d97c0d8596a99ba6d436abdaf7e55373dc9371 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e81f42876a292ed1ae7bf81e2d236a2479d09bd981982da0f88680d5dd7786e8 [INFO] running `Command { std: "docker" "start" "-a" "e81f42876a292ed1ae7bf81e2d236a2479d09bd981982da0f88680d5dd7786e8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling factorio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / lazy_static! { [INFO] [stdout] 263 | | static ref RESOURCE_NAMES : Vec<(Resource, &'static str)> = vec![ [INFO] [stdout] 264 | | // Base Resources [INFO] [stdout] 265 | | (Resource::RawWood, "Raw Wood"), [INFO] [stdout] ... | [INFO] [stdout] 3258 | | ]; [INFO] [stdout] 3259 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:3300:25 [INFO] [stdout] | [INFO] [stdout] 3300 | let mut coeff : &mut f32 = ent.get_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:3311:25 [INFO] [stdout] | [INFO] [stdout] 3311 | let mut coeff : &mut f32 = ent.get_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/main.rs:3501:5 [INFO] [stdout] | [INFO] [stdout] 3500 | struct InputError { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3501 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/main.rs:3520:5 [INFO] [stdout] | [INFO] [stdout] 3519 | struct AnalyzeError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 3520 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalyzeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e81f42876a292ed1ae7bf81e2d236a2479d09bd981982da0f88680d5dd7786e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e81f42876a292ed1ae7bf81e2d236a2479d09bd981982da0f88680d5dd7786e8", kill_on_drop: false }` [INFO] [stdout] e81f42876a292ed1ae7bf81e2d236a2479d09bd981982da0f88680d5dd7786e8