[INFO] fetching crate units 0.1.0... [INFO] testing units-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate units 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate units 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4eaf1106af30a2e988a2e9cc2df894563ba53643e772f4ea04394892e860d480 [INFO] running `Command { std: "docker" "start" "-a" "4eaf1106af30a2e988a2e9cc2df894563ba53643e772f4ea04394892e860d480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4eaf1106af30a2e988a2e9cc2df894563ba53643e772f4ea04394892e860d480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eaf1106af30a2e988a2e9cc2df894563ba53643e772f4ea04394892e860d480", kill_on_drop: false }` [INFO] [stdout] 4eaf1106af30a2e988a2e9cc2df894563ba53643e772f4ea04394892e860d480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd236eb361cb05c592d088b51d70be2a440fc77d8973cc49e5344da7308261b9 [INFO] running `Command { std: "docker" "start" "-a" "cd236eb361cb05c592d088b51d70be2a440fc77d8973cc49e5344da7308261b9", kill_on_drop: false }` [INFO] [stderr] Compiling tylar v0.2.2 [INFO] [stderr] Compiling 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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "cd236eb361cb05c592d088b51d70be2a440fc77d8973cc49e5344da7308261b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd236eb361cb05c592d088b51d70be2a440fc77d8973cc49e5344da7308261b9", kill_on_drop: false }` [INFO] [stdout] cd236eb361cb05c592d088b51d70be2a440fc77d8973cc49e5344da7308261b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27f35d7ffa9742059b27d209c508826369e0cc90f829c6f94e72c965faa3ddee [INFO] running `Command { std: "docker" "start" "-a" "27f35d7ffa9742059b27d209c508826369e0cc90f829c6f94e72c965faa3ddee", kill_on_drop: false }` [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] [stderr] Compiling units v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 4 warnings emitted [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] --> 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: 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: 3 warnings emitted [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/units-ac9dcd508b1cdfd6) [INFO] running `Command { std: "docker" "inspect" "27f35d7ffa9742059b27d209c508826369e0cc90f829c6f94e72c965faa3ddee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f35d7ffa9742059b27d209c508826369e0cc90f829c6f94e72c965faa3ddee", kill_on_drop: false }` [INFO] [stdout] 27f35d7ffa9742059b27d209c508826369e0cc90f829c6f94e72c965faa3ddee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 143fd081c5019300d3282530887e9de321023501a341c865d0d3cc3426b5bad1 [INFO] running `Command { std: "docker" "start" "-a" "143fd081c5019300d3282530887e9de321023501a341c865d0d3cc3426b5bad1", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:18:31 [INFO] [stderr] | [INFO] [stderr] 18 | pub trait UnitFormat { fn fmt(&mut Formatter) -> Result; } [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Formatter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `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 the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `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 the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `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 the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `units` (lib) generated 4 warnings [INFO] [stderr] warning: use of deprecated macro `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 the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `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 the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `units` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `units` (example "currencies") generated 3 warnings (1 duplicate) [INFO] [stderr] warning: use of deprecated macro `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 the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `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 the macro `units` (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: `units` (example "basics") generated 4 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/units-ac9dcd508b1cdfd6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests units [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "143fd081c5019300d3282530887e9de321023501a341c865d0d3cc3426b5bad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143fd081c5019300d3282530887e9de321023501a341c865d0d3cc3426b5bad1", kill_on_drop: false }` [INFO] [stdout] 143fd081c5019300d3282530887e9de321023501a341c865d0d3cc3426b5bad1