[INFO] fetching crate dur 0.4.0...
[INFO] checking dur-0.4.0 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate dur 0.4.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate dur 0.4.0 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dur 0.4.0
[INFO] finished tweaking crates.io crate dur 0.4.0
[INFO] tweaked toml for crates.io crate dur 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded borsh v1.3.1
[INFO] [stderr]   Downloaded borsh-derive v1.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 915b7c043a303e269d0d6b4a99d179c82b4d12f8dfa57423e9d615ca060a6751
[INFO] running `Command { std: "docker" "start" "-a" "915b7c043a303e269d0d6b4a99d179c82b4d12f8dfa57423e9d615ca060a6751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "915b7c043a303e269d0d6b4a99d179c82b4d12f8dfa57423e9d615ca060a6751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "915b7c043a303e269d0d6b4a99d179c82b4d12f8dfa57423e9d615ca060a6751", kill_on_drop: false }`
[INFO] [stdout] 915b7c043a303e269d0d6b4a99d179c82b4d12f8dfa57423e9d615ca060a6751
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cccffaf09f5fb190d1645de4fc0b49014ebd1132ccb11f2db00e4763eeb408ac
[INFO] running `Command { std: "docker" "start" "-a" "cccffaf09f5fb190d1645de4fc0b49014ebd1132ccb11f2db00e4763eeb408ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling rust_decimal v1.34.3
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking dur v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `fmt` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:2:2
[INFO] [stdout]   |
[INFO] [stdout] 2 |     self,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `fmt` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Display` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:3:2
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Display,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `Display` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Formatter` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Formatter,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `Formatter` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stdout] error: you need to enable the alloc feature to run tests
[INFO] [stdout]  --> src/tests.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | compile_error!("you need to enable the alloc feature to run tests");
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `alloc`
[INFO] [stdout]  --> src/tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alloc::{
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `alloc`
[INFO] [stdout]   |
[INFO] [stdout]   = help: add `extern crate alloc` to use the `alloc` crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `alloc`
[INFO] [stdout]  --> src/tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alloc::{
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `core::alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `fmt` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:2:2
[INFO] [stdout]   |
[INFO] [stdout] 2 |     self,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `fmt` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Display` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:3:2
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Display,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `Display` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Formatter` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Formatter,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `Formatter` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_string` found for struct `Duration` in the current scope
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:62:1
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Duration(u128);
[INFO] [stdout]    | ------------------- method `to_string` not found for this struct
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/alloc/src/string.rs:2519:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Duration` here
[INFO] [stdout]   --> src/tests.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_eq!(short, &a.to_string());
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ToString` which provides `to_string` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde::__private::ToString;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `to_std` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_eq!(short, &a.to_std());
[INFO] [stdout]    |                              ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_string` found for opaque type `impl Display + core::fmt::Debug + core::marker::Copy` in the current scope
[INFO] [stdout]   --> src/tests.rs:97:32
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let exact = a.format_exact().to_string();
[INFO] [stdout]    |                                      ^^^^^^^^^ method not found in `impl Display + Debug + Copy`
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/alloc/src/string.rs:2519:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `impl Display + core::fmt::Debug + core::marker::Copy` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ToString` which provides `to_string` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde::__private::ToString;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dur` (lib test) due to 6 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cccffaf09f5fb190d1645de4fc0b49014ebd1132ccb11f2db00e4763eeb408ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cccffaf09f5fb190d1645de4fc0b49014ebd1132ccb11f2db00e4763eeb408ac", kill_on_drop: false }`
[INFO] [stdout] cccffaf09f5fb190d1645de4fc0b49014ebd1132ccb11f2db00e4763eeb408ac
[INFO] checking dur-0.4.0 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate dur 0.4.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate dur 0.4.0 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dur 0.4.0
[INFO] finished tweaking crates.io crate dur 0.4.0
[INFO] tweaked toml for crates.io crate dur 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cbe04338137fe895d77906f7f41eea3ded1586d8616684884b43a58080f2035c
[INFO] running `Command { std: "docker" "start" "-a" "cbe04338137fe895d77906f7f41eea3ded1586d8616684884b43a58080f2035c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cbe04338137fe895d77906f7f41eea3ded1586d8616684884b43a58080f2035c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbe04338137fe895d77906f7f41eea3ded1586d8616684884b43a58080f2035c", kill_on_drop: false }`
[INFO] [stdout] cbe04338137fe895d77906f7f41eea3ded1586d8616684884b43a58080f2035c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 14c1f9a13d74a6adea8adca5f29122edf3db81ba6cd4eb0eee02cc6420b2f1ae
[INFO] running `Command { std: "docker" "start" "-a" "14c1f9a13d74a6adea8adca5f29122edf3db81ba6cd4eb0eee02cc6420b2f1ae", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling rust_decimal v1.34.3
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking dur v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `fmt` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:2:2
[INFO] [stdout]   |
[INFO] [stdout] 2 |     self,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `fmt` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Display` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:3:2
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Display,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `Display` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Formatter` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Formatter,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `Formatter` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stdout] error: you need to enable the alloc feature to run tests
[INFO] [stdout]  --> src/tests.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | compile_error!("you need to enable the alloc feature to run tests");
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `alloc`
[INFO] [stdout]  --> src/tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alloc::{
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `alloc`
[INFO] [stdout]   |
[INFO] [stdout]   = help: add `extern crate alloc` to use the `alloc` crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `alloc`
[INFO] [stdout]  --> src/tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alloc::{
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `core::alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `fmt` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:2:2
[INFO] [stdout]   |
[INFO] [stdout] 2 |     self,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `fmt` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Display` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:3:2
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Display,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `Display` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Formatter` is imported redundantly
[INFO] [stdout]  --> src/formatting.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Formatter,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 | use crate::*;
[INFO] [stdout]   |     -------- the item `Formatter` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_string` found for struct `Duration` in the current scope
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:62:1
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Duration(u128);
[INFO] [stdout]    | ------------------- method `to_string` not found for this struct
[INFO] [stdout]   --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/alloc/src/string.rs:2519:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Duration` here
[INFO] [stdout]   --> src/tests.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_eq!(short, &a.to_string());
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ToString` which provides `to_string` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde::__private::ToString;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `to_std` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_eq!(short, &a.to_std());
[INFO] [stdout]    |                              ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_string` found for opaque type `impl Display + core::fmt::Debug + core::marker::Copy` in the current scope
[INFO] [stdout]   --> src/tests.rs:97:32
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let exact = a.format_exact().to_string();
[INFO] [stdout]    |                                      ^^^^^^^^^ method not found in `impl Display + Debug + Copy`
[INFO] [stdout]   --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/alloc/src/string.rs:2519:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `impl Display + core::fmt::Debug + core::marker::Copy` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ToString` which provides `to_string` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde::__private::ToString;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dur` (lib test) due to 6 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "14c1f9a13d74a6adea8adca5f29122edf3db81ba6cd4eb0eee02cc6420b2f1ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14c1f9a13d74a6adea8adca5f29122edf3db81ba6cd4eb0eee02cc6420b2f1ae", kill_on_drop: false }`
[INFO] [stdout] 14c1f9a13d74a6adea8adca5f29122edf3db81ba6cd4eb0eee02cc6420b2f1ae
