[INFO] fetching crate units 0.1.0... [INFO] testing units-0.1.0 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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-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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c98395130b285cb2e6a224116703106c3fc3b17f877e97f3c7fea0ac3eece09a [INFO] running `Command { std: "docker" "start" "-a" "c98395130b285cb2e6a224116703106c3fc3b17f877e97f3c7fea0ac3eece09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c98395130b285cb2e6a224116703106c3fc3b17f877e97f3c7fea0ac3eece09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98395130b285cb2e6a224116703106c3fc3b17f877e97f3c7fea0ac3eece09a", kill_on_drop: false }` [INFO] [stdout] c98395130b285cb2e6a224116703106c3fc3b17f877e97f3c7fea0ac3eece09a [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b8401c54083127f2edf82f5a05d0b8cdc6f576c81e906f2ba1a2ad9d23b5a4e [INFO] running `Command { std: "docker" "start" "-a" "4b8401c54083127f2edf82f5a05d0b8cdc6f576c81e906f2ba1a2ad9d23b5a4e", 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.86s [INFO] running `Command { std: "docker" "inspect" "4b8401c54083127f2edf82f5a05d0b8cdc6f576c81e906f2ba1a2ad9d23b5a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b8401c54083127f2edf82f5a05d0b8cdc6f576c81e906f2ba1a2ad9d23b5a4e", kill_on_drop: false }` [INFO] [stdout] 4b8401c54083127f2edf82f5a05d0b8cdc6f576c81e906f2ba1a2ad9d23b5a4e [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1809f616634757d95305eb4629513014d7223463dbcf22cd8abde99b269ec09 [INFO] running `Command { std: "docker" "start" "-a" "d1809f616634757d95305eb4629513014d7223463dbcf22cd8abde99b269ec09", 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: 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/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/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/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: 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: 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] = 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: 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.42s [INFO] running `Command { std: "docker" "inspect" "d1809f616634757d95305eb4629513014d7223463dbcf22cd8abde99b269ec09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1809f616634757d95305eb4629513014d7223463dbcf22cd8abde99b269ec09", kill_on_drop: false }` [INFO] [stdout] d1809f616634757d95305eb4629513014d7223463dbcf22cd8abde99b269ec09 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ebc0b9c993e48dc4181afedcb240407cde92d6524f837441353a46240f49b8b [INFO] running `Command { std: "docker" "start" "-a" "0ebc0b9c993e48dc4181afedcb240407cde92d6524f837441353a46240f49b8b", 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 (/opt/rustwide/target/debug/deps/units-5e54ad244d390683) [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" "0ebc0b9c993e48dc4181afedcb240407cde92d6524f837441353a46240f49b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebc0b9c993e48dc4181afedcb240407cde92d6524f837441353a46240f49b8b", kill_on_drop: false }` [INFO] [stdout] 0ebc0b9c993e48dc4181afedcb240407cde92d6524f837441353a46240f49b8b