[INFO] fetching crate units 0.1.0... [INFO] checking units-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate units 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate units 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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] Downloading crates ... [INFO] [stderr] Downloaded tylar v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9728ac75cfa156041f46b0c7c989b585bed5583c503868262aa2531c5a13f755 [INFO] running `Command { std: "docker" "start" "-a" "9728ac75cfa156041f46b0c7c989b585bed5583c503868262aa2531c5a13f755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9728ac75cfa156041f46b0c7c989b585bed5583c503868262aa2531c5a13f755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9728ac75cfa156041f46b0c7c989b585bed5583c503868262aa2531c5a13f755", kill_on_drop: false }` [INFO] [stdout] 9728ac75cfa156041f46b0c7c989b585bed5583c503868262aa2531c5a13f755 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0eae0a4dceb0d3ee07a68926359b92904bd96a4d5887727b817eaa230e4136df [INFO] running `Command { std: "docker" "start" "-a" "0eae0a4dceb0d3ee07a68926359b92904bd96a4d5887727b817eaa230e4136df", 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: 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: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: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: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: 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.26s [INFO] running `Command { std: "docker" "inspect" "0eae0a4dceb0d3ee07a68926359b92904bd96a4d5887727b817eaa230e4136df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eae0a4dceb0d3ee07a68926359b92904bd96a4d5887727b817eaa230e4136df", kill_on_drop: false }` [INFO] [stdout] 0eae0a4dceb0d3ee07a68926359b92904bd96a4d5887727b817eaa230e4136df