[INFO] fetching crate units 0.1.0... [INFO] checking units-0.1.0 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [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 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5aa0ffbeb708c3e9157ac8954018bfebde9ad104088ea4cb56ef913510efca1 [INFO] running `Command { std: "docker" "start" "-a" "e5aa0ffbeb708c3e9157ac8954018bfebde9ad104088ea4cb56ef913510efca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5aa0ffbeb708c3e9157ac8954018bfebde9ad104088ea4cb56ef913510efca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5aa0ffbeb708c3e9157ac8954018bfebde9ad104088ea4cb56ef913510efca1", kill_on_drop: false }` [INFO] [stdout] e5aa0ffbeb708c3e9157ac8954018bfebde9ad104088ea4cb56ef913510efca1 [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7740dce246cfe74bc12a66afeb2cef92558edbfda64b82ceb3958c865a6474f3 [INFO] running `Command { std: "docker" "start" "-a" "7740dce246cfe74bc12a66afeb2cef92558edbfda64b82ceb3958c865a6474f3", 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: 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: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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "7740dce246cfe74bc12a66afeb2cef92558edbfda64b82ceb3958c865a6474f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7740dce246cfe74bc12a66afeb2cef92558edbfda64b82ceb3958c865a6474f3", kill_on_drop: false }` [INFO] [stdout] 7740dce246cfe74bc12a66afeb2cef92558edbfda64b82ceb3958c865a6474f3