[INFO] cloning repository https://github.com/JerTH/sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JerTH/sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Fsim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Fsim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b22e09e3a8646110de0c9359691cbfcda8669a7 [INFO] checking JerTH/sim/5b22e09e3a8646110de0c9359691cbfcda8669a7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Fsim" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JerTH/sim on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JerTH/sim [INFO] finished tweaking git repo https://github.com/JerTH/sim [INFO] tweaked toml for git repo https://github.com/JerTH/sim written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JerTH/sim 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc01212e3ccedcfc623a1357ce87eab19d3caf53312a18ebbf412dbe35f78943 [INFO] running `Command { std: "docker" "start" "-a" "dc01212e3ccedcfc623a1357ce87eab19d3caf53312a18ebbf412dbe35f78943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc01212e3ccedcfc623a1357ce87eab19d3caf53312a18ebbf412dbe35f78943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc01212e3ccedcfc623a1357ce87eab19d3caf53312a18ebbf412dbe35f78943", kill_on_drop: false }` [INFO] [stdout] dc01212e3ccedcfc623a1357ce87eab19d3caf53312a18ebbf412dbe35f78943 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfbd38ae13d6c42ebce4a098f80f71c786dffc389c1f885cc460635d26a439f9 [INFO] running `Command { std: "docker" "start" "-a" "bfbd38ae13d6c42ebce4a098f80f71c786dffc389c1f885cc460635d26a439f9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking ssim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/identity.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cell::Cell, cmp::Ordering, collections::HashMap, fmt::Display, hash::Hash, ops::Deref, sync::{atomic::{self, AtomicU64}, RwLock... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Component`, `GetMut`, `Get`, `LinearId`, `SparseSet`, and `SystemExecutionId` [INFO] [stdout] --> src/systems.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{Get, GetMut, SparseSet}, components::{Component, ComponentSetId}, conflictgraph::{ConflictCmp, ConflictGraphError}, identity::{LinearId, SystemExecutionId}, ... [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetMut`, `Get`, and `world::EntityId` [INFO] [stdout] --> src/components.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{collections::{Get, GetMut, SparseSet}, identity::{InternalTypeId, LinearId}, world::EntityId}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/debug.rs:2:149 [INFO] [stdout] | [INFO] [stdout] 2 | ...der, Receiver }}, thread::{self, JoinHandle, ThreadId}, time::{Duration, SystemTime, UNIX_EPOCH}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | debug!("conflict graph of {} nodes colored in {:?} passes, used {:?} colors", self.nodes.len(), passes, used_colors.len()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConflictGraphError`, `InternalTypeId`, `LinearId`, `SystemExecutionId`, and `UnsafeAnyExt` [INFO] [stdout] --> src/world.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{UnsafeAnyExt, Get, GetMut, SparseSet}, components::{ComponentSet, ComponentSetId}, conflictgraph::{ConflictGraph, ConflictGraphError}, debug::*, identity::{InternalTypeId, LinearId, SystemExecutionId}, ... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Cell`, `MutexGuard`, `Mutex`, `RwLockWriteGuard`, `any::Any`, and `error::Error` [INFO] [stdout] --> src/world.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ...::{any::Any, cell::{Cell, RefCell, UnsafeCell}, error::Error, fmt::{Debug, Display}, sync::{Arc, Mutex, MutexGuard, RwLock, RwLockWriteGuard}, ... [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | debug!("creating new entity"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | debug!("adding component to entity {}", entity); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | debug!("marking new dependeny: system {:?} depends on component {:?}: {:?}", system_id, component_id, dependency); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | debug!("couldn't get component set {} from sparse set while attempting to lock it", component_set_id); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/identity.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cell::Cell, cmp::Ordering, collections::HashMap, fmt::Display, hash::Hash, ops::Deref, sync::{atomic::{self, AtomicU64}, RwLock... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Component`, `GetMut`, `Get`, `LinearId`, `SparseSet`, and `SystemExecutionId` [INFO] [stdout] --> src/systems.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{Get, GetMut, SparseSet}, components::{Component, ComponentSetId}, conflictgraph::{ConflictCmp, ConflictGraphError}, identity::{LinearId, SystemExecutionId}, ... [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetMut`, `Get`, and `world::EntityId` [INFO] [stdout] --> src/components.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{collections::{Get, GetMut, SparseSet}, identity::{InternalTypeId, LinearId}, world::EntityId}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/debug.rs:2:149 [INFO] [stdout] | [INFO] [stdout] 2 | ...der, Receiver }}, thread::{self, JoinHandle, ThreadId}, time::{Duration, SystemTime, UNIX_EPOCH}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 529 | debug!("debug log message"); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | debug!("conflict graph of {} nodes colored in {:?} passes, used {:?} colors", self.nodes.len(), passes, used_colors.len()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | debug!("quick rand seed: {:?}", _QUICK_RAND_SEED); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | debug!("beginning random data test"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/conflictgraph.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | debug!("test message"); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConflictGraphError`, `InternalTypeId`, `LinearId`, `SystemExecutionId`, and `UnsafeAnyExt` [INFO] [stdout] --> src/world.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{UnsafeAnyExt, Get, GetMut, SparseSet}, components::{ComponentSet, ComponentSetId}, conflictgraph::{ConflictGraph, ConflictGraphError}, debug::*, identity::{InternalTypeId, LinearId, SystemExecutionId}, ... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Cell`, `MutexGuard`, `Mutex`, `RwLockWriteGuard`, `any::Any`, and `error::Error` [INFO] [stdout] --> src/world.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | ...::{any::Any, cell::{Cell, RefCell, UnsafeCell}, error::Error, fmt::{Debug, Display}, sync::{Arc, Mutex, MutexGuard, RwLock, RwLockWriteGuard}, ... [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | debug!("creating new entity"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | debug!("adding component to entity {}", entity); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | debug!("marking new dependeny: system {:?} depends on component {:?}: {:?}", system_id, component_id, dependency); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | debug!("couldn't get component set {} from sparse set while attempting to lock it", component_set_id); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | debug!("Hello from hello_system!"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | debug!("Goodbye from goodbye_system!"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | debug!("Running entity producer system"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | debug!("Running component query system"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug_log` [INFO] [stdout] --> src/debug.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(any(debug_assertions, feature = "debug_log"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:503:21 [INFO] [stdout] | [INFO] [stdout] 503 | debug!("Got components: {:?}", (*f, *b)); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/components.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | self.set.downcast_ref_unchecked::>() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `downcast_ref_unchecked(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_ref_unchecked` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/components.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | self.set.downcast_ref_unchecked::>() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `downcast_ref_unchecked(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(downcast_unchecked)]` to the crate attributes to enable `<(dyn Any + 'static)>::downcast_ref_unchecked` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #![feature(downcast_unchecked)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/world.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/world.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> src/world.rs:104:67 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/world.rs:269:75 [INFO] [stdout] | [INFO] [stdout] 269 | fn check_mid_frame_dependency(&self, dependency_type: DependencyType, component_id: ComponentSetId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INSTANCEID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | static mut INSTANCEID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCALEXECUTIONID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | static mut LOCALEXECUTIONID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unique` is never used [INFO] [stdout] --> src/identity.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait LinearId { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 35 | fn unique() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SparseSetKey` is never used [INFO] [stdout] --> src/collections.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait SparseSetKey: From + Clone + Copy {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Key` is never constructed [INFO] [stdout] --> src/collections.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | struct Key(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerationalSparseSet` is never constructed [INFO] [stdout] --> src/collections.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | struct GenerationalSparseSet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `insert`, `insert_with`, and `remove` are never used [INFO] [stdout] --> src/collections.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 363 | / impl GenerationalSparseSet [INFO] [stdout] 364 | | where [INFO] [stdout] 365 | | K: From<(G, S)> + Into<(G, S)>, [INFO] [stdout] 366 | | G: From + Copy + PartialEq, [INFO] [stdout] 367 | | S: From + Into + Copy, [INFO] [stdout] | |________________________________________- associated functions in this implementation [INFO] [stdout] 368 | { [INFO] [stdout] 369 | fn insert(item: T) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `group_immutable` and `group_mutable` are never used [INFO] [stdout] --> src/systems.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl SystemGroup { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn group_immutable(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn group_mutable(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Generation` is never used [INFO] [stdout] --> src/components.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Generation = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, and `insert` are never used [INFO] [stdout] --> src/components.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl ComponentSet { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 75 | fn new() -> Self where T: 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn insert(&mut self, index: usize, component: T) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/debug.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct LogMessage { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 53 | time: SystemTime, [INFO] [stdout] 54 | thread: ThreadId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filter_set` is never read [INFO] [stdout] --> src/query.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Query<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 151 | filter_set: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destroy_entity` is never used [INFO] [stdout] --> src/world.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 5 | let output_targ_option = Arg::with_name("target") [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | let output_frequency_option = Arg::with_name("frequency") [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let track_targ_option = Arg::with_name("target") [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let track_subcommand = SubCommand::with_name("track") [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let output_subcommand = SubCommand::with_name("output") [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let maxsimtime_option = Arg::with_name("maxsimtime") [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let maxrealtime_option = Arg::with_name("maxrealtime") [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let timestep_option = Arg::with_name("timestep") [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let simparams_subcommand = SubCommand::with_name("simparams") [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | clap::App::new("ssim").version("1.0").author("Jeremy T. Hatcher").subcommand(simparams_subcommand).get_matches() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conflictgraph.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn new(outer: N) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | edges: RefCell::new(HashSet::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conflictgraph.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 256 | fn from(graph: ConflictGraph) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let mut result: HashMap> = HashMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | Ok(result.into_iter().map(|item| item.1).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssim` (lib) due to 4 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/world.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/world.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> src/world.rs:104:67 [INFO] [stdout] | [INFO] [stdout] 104 | fn add_component(&self, entity: EntityId, component: T) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_id` [INFO] [stdout] --> src/world.rs:269:75 [INFO] [stdout] | [INFO] [stdout] 269 | fn check_mid_frame_dependency(&self, dependency_type: DependencyType, component_id: ComponentSetId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INSTANCEID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | static mut INSTANCEID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCALEXECUTIONID_COUNTER` is never used [INFO] [stdout] --> src/identity.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | static mut LOCALEXECUTIONID_COUNTER: PaddedAtomicU64 = PaddedAtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unique` is never used [INFO] [stdout] --> src/identity.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait LinearId { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 35 | fn unique() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/identity.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | struct B(usize); [INFO] [stdout] | - ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SparseSetKey` is never used [INFO] [stdout] --> src/collections.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait SparseSetKey: From + Clone + Copy {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Key` is never constructed [INFO] [stdout] --> src/collections.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | struct Key(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenerationalSparseSet` is never constructed [INFO] [stdout] --> src/collections.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | struct GenerationalSparseSet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `insert`, `insert_with`, and `remove` are never used [INFO] [stdout] --> src/collections.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 363 | / impl GenerationalSparseSet [INFO] [stdout] 364 | | where [INFO] [stdout] 365 | | K: From<(G, S)> + Into<(G, S)>, [INFO] [stdout] 366 | | G: From + Copy + PartialEq, [INFO] [stdout] 367 | | S: From + Into + Copy, [INFO] [stdout] | |________________________________________- associated functions in this implementation [INFO] [stdout] 368 | { [INFO] [stdout] 369 | fn insert(item: T) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn insert_with(key: K, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | fn remove(key: K) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `group_immutable` and `group_mutable` are never used [INFO] [stdout] --> src/systems.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl SystemGroup { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn group_immutable(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn group_mutable(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Generation` is never used [INFO] [stdout] --> src/components.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Generation = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, and `insert` are never used [INFO] [stdout] --> src/components.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl ComponentSet { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 75 | fn new() -> Self where T: 'static { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn insert(&mut self, index: usize, component: T) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread` is never read [INFO] [stdout] --> src/debug.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct LogMessage { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 53 | time: SystemTime, [INFO] [stdout] 54 | thread: ThreadId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filter_set` is never read [INFO] [stdout] --> src/query.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Query<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 151 | filter_set: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destroy_entity` is never used [INFO] [stdout] --> src/world.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | fn destroy_entity(&self, id: EntityId) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 5 | let output_targ_option = Arg::with_name("target") [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | let output_frequency_option = Arg::with_name("frequency") [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let track_targ_option = Arg::with_name("target") [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let track_subcommand = SubCommand::with_name("track") [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let output_subcommand = SubCommand::with_name("output") [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let maxsimtime_option = Arg::with_name("maxsimtime") [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let maxrealtime_option = Arg::with_name("maxrealtime") [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let timestep_option = Arg::with_name("timestep") [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let simparams_subcommand = SubCommand::with_name("simparams") [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | clap::App::new("ssim").version("1.0").author("Jeremy T. Hatcher").subcommand(simparams_subcommand).get_matches() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conflictgraph.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn new(outer: N) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | edges: RefCell::new(HashSet::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conflictgraph.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 256 | fn from(graph: ConflictGraph) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let mut result: HashMap> = HashMap::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | Ok(result.into_iter().map(|item| item.1).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssim` (lib test) due to 4 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bfbd38ae13d6c42ebce4a098f80f71c786dffc389c1f885cc460635d26a439f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfbd38ae13d6c42ebce4a098f80f71c786dffc389c1f885cc460635d26a439f9", kill_on_drop: false }` [INFO] [stdout] bfbd38ae13d6c42ebce4a098f80f71c786dffc389c1f885cc460635d26a439f9