[INFO] fetching crate dur 0.4.0...
[INFO] checking dur-0.4.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate dur 0.4.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate dur 0.4.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 11be733fc02ab5e35385fb1a1f69c40a3ab604a62fde3def166d90a1fd9e26d9
[INFO] running `Command { std: "docker" "start" "-a" "11be733fc02ab5e35385fb1a1f69c40a3ab604a62fde3def166d90a1fd9e26d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "11be733fc02ab5e35385fb1a1f69c40a3ab604a62fde3def166d90a1fd9e26d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11be733fc02ab5e35385fb1a1f69c40a3ab604a62fde3def166d90a1fd9e26d9", kill_on_drop: false }`
[INFO] [stdout] 11be733fc02ab5e35385fb1a1f69c40a3ab604a62fde3def166d90a1fd9e26d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 41328afdce0a6926000714e44631f19630c8f17e926314ab8c22c8f03a6e7164
[INFO] running `Command { std: "docker" "start" "-a" "41328afdce0a6926000714e44631f19630c8f17e926314ab8c22c8f03a6e7164", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]     Checking memchr v2.7.2
[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.115
[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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/string.rs:2532: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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/string.rs:2532: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" "41328afdce0a6926000714e44631f19630c8f17e926314ab8c22c8f03a6e7164", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41328afdce0a6926000714e44631f19630c8f17e926314ab8c22c8f03a6e7164", kill_on_drop: false }`
[INFO] [stdout] 41328afdce0a6926000714e44631f19630c8f17e926314ab8c22c8f03a6e7164
