[INFO] fetching crate resistor-calc 0.1.0... [INFO] checking resistor-calc-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate resistor-calc 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate resistor-calc 0.1.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate resistor-calc 0.1.0 [INFO] finished tweaking crates.io crate resistor-calc 0.1.0 [INFO] tweaked toml for crates.io crate resistor-calc 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.7.11 (available: v0.13.0) [INFO] [stderr] Adding lazy_static v1.0.2 (available: v1.5.0) [INFO] [stderr] Adding meval v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding nom v1.2.4 (available: v7.1.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cb5251f7fd0e59ae3a7910fce66ce696ae94784239714b49603620d89680b6a [INFO] running `Command { std: "docker" "start" "-a" "0cb5251f7fd0e59ae3a7910fce66ce696ae94784239714b49603620d89680b6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cb5251f7fd0e59ae3a7910fce66ce696ae94784239714b49603620d89680b6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb5251f7fd0e59ae3a7910fce66ce696ae94784239714b49603620d89680b6a", kill_on_drop: false }` [INFO] [stdout] 0cb5251f7fd0e59ae3a7910fce66ce696ae94784239714b49603620d89680b6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81defaf3f520f98e2266bc8b0a8614cbb5401a56ee7bf9ee6c697165398e49bc [INFO] running `Command { std: "docker" "start" "-a" "81defaf3f520f98e2266bc8b0a8614cbb5401a56ee7bf9ee6c697165398e49bc", 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.13.0 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Checking itertools v0.7.11 [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: `#[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/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: 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: 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/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] 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [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" "81defaf3f520f98e2266bc8b0a8614cbb5401a56ee7bf9ee6c697165398e49bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81defaf3f520f98e2266bc8b0a8614cbb5401a56ee7bf9ee6c697165398e49bc", kill_on_drop: false }` [INFO] [stdout] 81defaf3f520f98e2266bc8b0a8614cbb5401a56ee7bf9ee6c697165398e49bc