[INFO] fetching crate units 0.1.0... [INFO] checking units-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate units 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate units 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 units 0.1.0 [INFO] finished tweaking crates.io crate units 0.1.0 [INFO] tweaked toml for crates.io crate units 0.1.0 written to /workspace/builds/worker-0-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] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7261049c0b124845623395639fd4f9361e3406d9e66e25d8678d543acf63780a [INFO] running `Command { std: "docker" "start" "-a" "7261049c0b124845623395639fd4f9361e3406d9e66e25d8678d543acf63780a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7261049c0b124845623395639fd4f9361e3406d9e66e25d8678d543acf63780a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7261049c0b124845623395639fd4f9361e3406d9e66e25d8678d543acf63780a", kill_on_drop: false }` [INFO] [stdout] 7261049c0b124845623395639fd4f9361e3406d9e66e25d8678d543acf63780a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6f302163b5de3fce5330907fee3d35bee47066e7a2729893c02981c20125ee01 [INFO] running `Command { std: "docker" "start" "-a" "6f302163b5de3fce5330907fee3d35bee47066e7a2729893c02981c20125ee01", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking tylar v0.2.2 [INFO] [stderr] Checking units v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait UnitFormat { fn fmt(&mut Formatter) -> Result; } [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Formatter` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | try!(self.amount.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | / units! { [INFO] [stdout] 264 | | Units { [INFO] [stdout] 265 | | Meter[m], [INFO] [stdout] 266 | | Second[s] [INFO] [stdout] 267 | | } [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | 1 => try!(write!(formatter, " {}", stringify!($unit))), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | / units! { [INFO] [stdout] 264 | | Units { [INFO] [stdout] 265 | | Meter[m], [INFO] [stdout] 266 | | Second[s] [INFO] [stdout] 267 | | } [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | _ => try!(write!(formatter, " {}^{:?}", stringify!($unit), exp)) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | / units! { [INFO] [stdout] 264 | | Units { [INFO] [stdout] 265 | | Meter[m], [INFO] [stdout] 266 | | Second[s] [INFO] [stdout] 267 | | } [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait UnitFormat { fn fmt(&mut Formatter) -> Result; } [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Formatter` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | try!(self.amount.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | / units! { [INFO] [stdout] 264 | | Units { [INFO] [stdout] 265 | | Meter[m], [INFO] [stdout] 266 | | Second[s] [INFO] [stdout] 267 | | } [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | 1 => try!(write!(formatter, " {}", stringify!($unit))), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | / units! { [INFO] [stdout] 264 | | Units { [INFO] [stdout] 265 | | Meter[m], [INFO] [stdout] 266 | | Second[s] [INFO] [stdout] 267 | | } [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | _ => try!(write!(formatter, " {}^{:?}", stringify!($unit), exp)) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | / units! { [INFO] [stdout] 264 | | Units { [INFO] [stdout] 265 | | Meter[m], [INFO] [stdout] 266 | | Second[s] [INFO] [stdout] 267 | | } [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/basics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / units! { [INFO] [stdout] 8 | | // Here we define our unit system with three units [INFO] [stdout] 9 | | MyUnits { [INFO] [stdout] 10 | | Meter[m], [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/basics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / units! { [INFO] [stdout] 8 | | // Here we define our unit system with three units [INFO] [stdout] 9 | | MyUnits { [INFO] [stdout] 10 | | Meter[m], [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/basics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / units! { [INFO] [stdout] 8 | | // Here we define our unit system with three units [INFO] [stdout] 9 | | MyUnits { [INFO] [stdout] 10 | | Meter[m], [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `one` [INFO] [stdout] --> examples/basics.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use my_units::f64::{one, m, s, mile}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/currencies.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / units! { [INFO] [stdout] 7 | | Currency { [INFO] [stdout] 8 | | Euro[eur], [INFO] [stdout] 9 | | USDollar[usd] [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/currencies.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / units! { [INFO] [stdout] 7 | | Currency { [INFO] [stdout] 8 | | Euro[eur], [INFO] [stdout] 9 | | USDollar[usd] [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/currencies.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / units! { [INFO] [stdout] 7 | | Currency { [INFO] [stdout] 8 | | Euro[eur], [INFO] [stdout] 9 | | USDollar[usd] [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "6f302163b5de3fce5330907fee3d35bee47066e7a2729893c02981c20125ee01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f302163b5de3fce5330907fee3d35bee47066e7a2729893c02981c20125ee01", kill_on_drop: false }` [INFO] [stdout] 6f302163b5de3fce5330907fee3d35bee47066e7a2729893c02981c20125ee01