[INFO] fetching crate oprec 0.1.0... [INFO] building oprec-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate oprec 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate oprec 0.1.0 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 crates.io crate oprec 0.1.0 [INFO] finished tweaking crates.io crate oprec 0.1.0 [INFO] tweaked toml for crates.io crate oprec 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding petgraph v0.4.13 (available: v0.7.0) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7e09c0236ff1bd4950ed912dbd20a5549ff8b8f1582be52efbd8112b90656844 [INFO] running `Command { std: "docker" "start" "-a" "7e09c0236ff1bd4950ed912dbd20a5549ff8b8f1582be52efbd8112b90656844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e09c0236ff1bd4950ed912dbd20a5549ff8b8f1582be52efbd8112b90656844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e09c0236ff1bd4950ed912dbd20a5549ff8b8f1582be52efbd8112b90656844", kill_on_drop: false }` [INFO] [stdout] 7e09c0236ff1bd4950ed912dbd20a5549ff8b8f1582be52efbd8112b90656844 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] df2de4c2eae26fa9af043f3280576e9201c08c20459fe0af8b56e3fc7498b3a4 [INFO] running `Command { std: "docker" "start" "-a" "df2de4c2eae26fa9af043f3280576e9201c08c20459fe0af8b56e3fc7498b3a4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling oprec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:340:63 [INFO] [stdout] | [INFO] [stdout] 340 | fn oprec_to_function_check(x: &OpRec, last: NodeIndex) -> Box) -> Result> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 | fn oprec_to_function_check(x: &OpRec, last: NodeIndex) -> Box) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:352:59 [INFO] [stdout] | [INFO] [stdout] 352 | fn oprec_to_function(rec: &OpRec, last: NodeIndex) -> Box) -> 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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 352 | fn oprec_to_function(rec: &OpRec, last: NodeIndex) -> Box) -> f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn functify(self) -> Box) -> Result> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | pub fn functify(self) -> Box) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | fn is_oprec_method(g: &Ops) -> Result f64>, Ops> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | / impl_oprec_method!( [INFO] [stdout] 332 | | (sin, Sin), (cos, Cos), (tan, Tan), [INFO] [stdout] 333 | | (asin, Asin), (acos, Acos), (atan, Atan), [INFO] [stdout] 334 | | (sinh, Sinh), (cosh, Cosh), (tanh, Tanh), [INFO] [stdout] ... | [INFO] [stdout] 337 | | (exp, Exp), (ln, Ln), (abs, Abs) [INFO] [stdout] 338 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_oprec_method_intermediate` which comes from the expansion of the macro `impl_oprec_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "df2de4c2eae26fa9af043f3280576e9201c08c20459fe0af8b56e3fc7498b3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df2de4c2eae26fa9af043f3280576e9201c08c20459fe0af8b56e3fc7498b3a4", kill_on_drop: false }` [INFO] [stdout] df2de4c2eae26fa9af043f3280576e9201c08c20459fe0af8b56e3fc7498b3a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e9b22bf2b392fe1fb1734b8bb6c629fcc6e6c381026a1071ddb84ff02b04da44 [INFO] running `Command { std: "docker" "start" "-a" "e9b22bf2b392fe1fb1734b8bb6c629fcc6e6c381026a1071ddb84ff02b04da44", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:340:63 [INFO] [stdout] | [INFO] [stdout] 340 | fn oprec_to_function_check(x: &OpRec, last: NodeIndex) -> Box) -> Result> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 | fn oprec_to_function_check(x: &OpRec, last: NodeIndex) -> Box) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:352:59 [INFO] [stdout] | [INFO] [stdout] 352 | fn oprec_to_function(rec: &OpRec, last: NodeIndex) -> Box) -> 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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 352 | fn oprec_to_function(rec: &OpRec, last: NodeIndex) -> Box) -> f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn functify(self) -> Box) -> Result> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | pub fn functify(self) -> Box) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | fn is_oprec_method(g: &Ops) -> Result f64>, Ops> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | / impl_oprec_method!( [INFO] [stdout] 332 | | (sin, Sin), (cos, Cos), (tan, Tan), [INFO] [stdout] 333 | | (asin, Asin), (acos, Acos), (atan, Atan), [INFO] [stdout] 334 | | (sinh, Sinh), (cosh, Cosh), (tanh, Tanh), [INFO] [stdout] ... | [INFO] [stdout] 337 | | (exp, Exp), (ln, Ln), (abs, Abs) [INFO] [stdout] 338 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_oprec_method_intermediate` which comes from the expansion of the macro `impl_oprec_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling oprec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:340:63 [INFO] [stdout] | [INFO] [stdout] 340 | fn oprec_to_function_check(x: &OpRec, last: NodeIndex) -> Box) -> Result> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 | fn oprec_to_function_check(x: &OpRec, last: NodeIndex) -> Box) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:352:59 [INFO] [stdout] | [INFO] [stdout] 352 | fn oprec_to_function(rec: &OpRec, last: NodeIndex) -> Box) -> 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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 352 | fn oprec_to_function(rec: &OpRec, last: NodeIndex) -> Box) -> f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn functify(self) -> Box) -> Result> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | pub fn functify(self) -> Box) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | fn is_oprec_method(g: &Ops) -> Result f64>, Ops> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | / impl_oprec_method!( [INFO] [stdout] 332 | | (sin, Sin), (cos, Cos), (tan, Tan), [INFO] [stdout] 333 | | (asin, Asin), (acos, Acos), (atan, Atan), [INFO] [stdout] 334 | | (sinh, Sinh), (cosh, Cosh), (tanh, Tanh), [INFO] [stdout] ... | [INFO] [stdout] 337 | | (exp, Exp), (ln, Ln), (abs, Abs) [INFO] [stdout] 338 | | ); [INFO] [stdout] | |_- in this macro invocation [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: this warning originates in the macro `impl_oprec_method_intermediate` which comes from the expansion of the macro `impl_oprec_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "e9b22bf2b392fe1fb1734b8bb6c629fcc6e6c381026a1071ddb84ff02b04da44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b22bf2b392fe1fb1734b8bb6c629fcc6e6c381026a1071ddb84ff02b04da44", kill_on_drop: false }` [INFO] [stdout] e9b22bf2b392fe1fb1734b8bb6c629fcc6e6c381026a1071ddb84ff02b04da44