[INFO] cloning repository https://github.com/HarkonenBade/resistor-calc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarkonenBade/resistor-calc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarkonenBade%2Fresistor-calc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarkonenBade%2Fresistor-calc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a65d37586a27598c2ef5e9567b17272054d7e9c [INFO] checking HarkonenBade/resistor-calc/2a65d37586a27598c2ef5e9567b17272054d7e9c 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%2FHarkonenBade%2Fresistor-calc" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HarkonenBade/resistor-calc 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/HarkonenBade/resistor-calc [INFO] finished tweaking git repo https://github.com/HarkonenBade/resistor-calc [INFO] tweaked toml for git repo https://github.com/HarkonenBade/resistor-calc written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HarkonenBade/resistor-calc 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca998741464d21af3268404fc44c04d202c2bcc377095b727859311bd89c8ae3 [INFO] running `Command { std: "docker" "start" "-a" "ca998741464d21af3268404fc44c04d202c2bcc377095b727859311bd89c8ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca998741464d21af3268404fc44c04d202c2bcc377095b727859311bd89c8ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca998741464d21af3268404fc44c04d202c2bcc377095b727859311bd89c8ae3", kill_on_drop: false }` [INFO] [stdout] ca998741464d21af3268404fc44c04d202c2bcc377095b727859311bd89c8ae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 0d9e627d1bdc3179b169ef146f1e0f2e0809b65a89697ede12edf8005ead17c4 [INFO] running `Command { std: "docker" "start" "-a" "0d9e627d1bdc3179b169ef146f1e0f2e0809b65a89697ede12edf8005ead17c4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking meval v0.1.0 [INFO] [stderr] Checking resistor-calc 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/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [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/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [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/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [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/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [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/expr_builder.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static!( [INFO] [stdout] 8 | | static ref RNAMES: Vec = (1..=100).map(|i| format!("R{}", i)).collect(); [INFO] [stdout] 9 | | ); [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr_builder.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] | +++ [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/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr_builder.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] | +++ [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/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [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/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [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/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | /// RSeries constant for the E3 standard series [INFO] [stdout] 70 | | pub static ref E3: RSeries = RSeries::new(&[1.0, 2.2, 4.7]); [INFO] [stdout] 71 | | /// RSeries constant for the E6 standard series [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] 80 | | } [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/expr_builder.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static!( [INFO] [stdout] 8 | | static ref RNAMES: Vec = (1..=100).map(|i| format!("R{}", i)).collect(); [INFO] [stdout] 9 | | ); [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr_builder.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | Cmp(Box bool>, meval::Expr, f64), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expr_builder.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | fn cmp_bound_fn(&mut self) -> Box Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | fn cmp_bound_fn(&mut self) -> Box Option> { [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/lib.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | .map(|r| r.iter().cloned()) [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/lib.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 297 | let rs = RSet(v.into_boxed_slice()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | f(&rs).map(|err| ((err * 1e9).round() as u64, rs)) [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 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `resistor-calc` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | .map(|r| r.iter().cloned()) [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/lib.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 297 | let rs = RSet(v.into_boxed_slice()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | f(&rs).map(|err| ((err * 1e9).round() as u64, rs)) [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 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `resistor-calc` (lib) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0d9e627d1bdc3179b169ef146f1e0f2e0809b65a89697ede12edf8005ead17c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d9e627d1bdc3179b169ef146f1e0f2e0809b65a89697ede12edf8005ead17c4", kill_on_drop: false }` [INFO] [stdout] 0d9e627d1bdc3179b169ef146f1e0f2e0809b65a89697ede12edf8005ead17c4