[INFO] crate units 0.1.0 is already in cache [INFO] checking units-0.1.0 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate units 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate units 0.1.0 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7d440612f3d5f1096d0685e3a6002af1b76ac52b42d4e79974eefdc455cc154a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "7d440612f3d5f1096d0685e3a6002af1b76ac52b42d4e79974eefdc455cc154a"` [INFO] [stderr] Checking tylar v0.2.2 [INFO] [stderr] Checking units v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | try!(self.amount.fmt(formatter)); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 263 | / units! { [INFO] [stderr] 264 | | Units { [INFO] [stderr] 265 | | Meter[m], [INFO] [stderr] 266 | | Second[s] [INFO] [stderr] 267 | | } [INFO] [stderr] 268 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:156:26 [INFO] [stderr] | [INFO] [stderr] 156 | 1 => try!(write!(formatter, " {}", stringify!($unit))), [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 263 | / units! { [INFO] [stderr] 264 | | Units { [INFO] [stderr] 265 | | Meter[m], [INFO] [stderr] 266 | | Second[s] [INFO] [stderr] 267 | | } [INFO] [stderr] 268 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:157:26 [INFO] [stderr] | [INFO] [stderr] 157 | _ => try!(write!(formatter, " {}^{:?}", stringify!($unit), exp)) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 263 | / units! { [INFO] [stderr] 264 | | Units { [INFO] [stderr] 265 | | Meter[m], [INFO] [stderr] 266 | | Second[s] [INFO] [stderr] 267 | | } [INFO] [stderr] 268 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | try!(self.amount.fmt(formatter)); [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 263 | / units! { [INFO] [stderr] 264 | | Units { [INFO] [stderr] 265 | | Meter[m], [INFO] [stderr] 266 | | Second[s] [INFO] [stderr] 267 | | } [INFO] [stderr] 268 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:156:26 [INFO] [stderr] | [INFO] [stderr] 156 | 1 => try!(write!(formatter, " {}", stringify!($unit))), [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 263 | / units! { [INFO] [stderr] 264 | | Units { [INFO] [stderr] 265 | | Meter[m], [INFO] [stderr] 266 | | Second[s] [INFO] [stderr] 267 | | } [INFO] [stderr] 268 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:157:26 [INFO] [stderr] | [INFO] [stderr] 157 | _ => try!(write!(formatter, " {}^{:?}", stringify!($unit), exp)) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 263 | / units! { [INFO] [stderr] 264 | | Units { [INFO] [stderr] 265 | | Meter[m], [INFO] [stderr] 266 | | Second[s] [INFO] [stderr] 267 | | } [INFO] [stderr] 268 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> examples/currencies.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | / units! { [INFO] [stderr] 7 | | Currency { [INFO] [stderr] 8 | | Euro[eur], [INFO] [stderr] 9 | | USDollar[usd] [INFO] [stderr] 10 | | } [INFO] [stderr] 11 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> examples/currencies.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | / units! { [INFO] [stderr] 7 | | Currency { [INFO] [stderr] 8 | | Euro[eur], [INFO] [stderr] 9 | | USDollar[usd] [INFO] [stderr] 10 | | } [INFO] [stderr] 11 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> examples/currencies.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | / units! { [INFO] [stderr] 7 | | Currency { [INFO] [stderr] 8 | | Euro[eur], [INFO] [stderr] 9 | | USDollar[usd] [INFO] [stderr] 10 | | } [INFO] [stderr] 11 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> examples/basics.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / units! { [INFO] [stderr] 8 | | // Here we define our unit system with three units [INFO] [stderr] 9 | | MyUnits { [INFO] [stderr] 10 | | Meter[m], [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> examples/basics.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / units! { [INFO] [stderr] 8 | | // Here we define our unit system with three units [INFO] [stderr] 9 | | MyUnits { [INFO] [stderr] 10 | | Meter[m], [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> examples/basics.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | / units! { [INFO] [stderr] 8 | | // Here we define our unit system with three units [INFO] [stderr] 9 | | MyUnits { [INFO] [stderr] 10 | | Meter[m], [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `one` [INFO] [stderr] --> examples/basics.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | use my_units::f64::{one, m, s, mile}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `"docker" "inspect" "7d440612f3d5f1096d0685e3a6002af1b76ac52b42d4e79974eefdc455cc154a"` [INFO] running `"docker" "rm" "-f" "7d440612f3d5f1096d0685e3a6002af1b76ac52b42d4e79974eefdc455cc154a"` [INFO] [stdout] 7d440612f3d5f1096d0685e3a6002af1b76ac52b42d4e79974eefdc455cc154a