[INFO] fetching crate hp-log 0.3.1...
[INFO] checking hp-log-0.3.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate hp-log 0.3.1 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate hp-log 0.3.1 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 hp-log 0.3.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate hp-log 0.3.1
[INFO] tweaked toml for crates.io crate hp-log 0.3.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate crates.io crate hp-log 0.3.1 already has a lockfile, it will not be regenerated
[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] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.1.54
[INFO] [stderr]   Downloaded quote v0.6.12
[INFO] [stderr]   Downloaded cc v1.0.37
[INFO] [stderr]   Downloaded wincolor v1.0.1
[INFO] [stderr]   Downloaded serde_derive v1.0.94
[INFO] [stderr]   Downloaded strfmt v0.1.6
[INFO] [stderr]   Downloaded serde v1.0.94
[INFO] [stderr]   Downloaded syn v0.15.39
[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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 942577153cfcae872677ca294acbf8b17f007fa520fea1fba5750e831839f3ff
[INFO] running `Command { std: "docker" "start" "-a" "942577153cfcae872677ca294acbf8b17f007fa520fea1fba5750e831839f3ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "942577153cfcae872677ca294acbf8b17f007fa520fea1fba5750e831839f3ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "942577153cfcae872677ca294acbf8b17f007fa520fea1fba5750e831839f3ff", kill_on_drop: false }`
[INFO] [stdout] 942577153cfcae872677ca294acbf8b17f007fa520fea1fba5750e831839f3ff
[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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d9417119fda6bb22fc51dd4ce63bda5889c057faa510d63a9e423699dda7da48
[INFO] running `Command { std: "docker" "start" "-a" "d9417119fda6bb22fc51dd4ce63bda5889c057faa510d63a9e423699dda7da48", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]    Compiling serde v1.0.94
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]     Checking strfmt v0.1.6
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling serde_derive v1.0.94
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking hp-log v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `time` is imported redundantly
[INFO] [stdout]  --> src/event.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use time;
[INFO] [stdout]   |     ^^^^ the item `time` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/config.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/config.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | static INST_ONCE: Once = ONCE_INIT;
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]   |
[INFO] [stdout] 8 | static INST_ONCE: Once = Once::new();
[INFO] [stdout]   |                          ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/writer.rs:11:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     appenders: Vec<Box<Appender>>,
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 |     appenders: Vec<Box<dyn Appender>>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]    --> src/lib.rs:134:29
[INFO] [stdout]     |
[INFO] [stdout] 134 | ...                   warn!("199999999999999-=dfghjkl;'kald;ngtohbjgbtesting {}...99=====.{}....mmmmmmm{}m .... {}", 1,2,3, idx);
[INFO] [stdout]     |                       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 111 +     use log::warn;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/lib.rs:135:29
[INFO] [stdout]     |
[INFO] [stdout] 135 | ...                   debug!("1234567890-=dfghjkl;'kald;ngtohbjgbtesting {}...99=====.{}....mmmmmmm{}m .... {}", 1,2,3, idx);
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 111 +     use log::debug;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `error` in this scope
[INFO] [stdout]    --> src/lib.rs:136:29
[INFO] [stdout]     |
[INFO] [stdout] 136 | ...                   error!("1234567890-=dfghjkl;'kald;ngtohbjgbtesting {}...99=====.{}....mmmmmmm{}m ********* {}", 1,2,3, idx);
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 111 +     use log::error;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]    --> src/lib.rs:137:29
[INFO] [stdout]     |
[INFO] [stdout] 137 | ...                   info!("1234567890-=dfghjkl;'ka0000000000;ngtohbjgbtesting {}...99=====.{}....mmmmmmm{}m ********* {}", 1,2,3, idx);
[INFO] [stdout]     |                       ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 111 +     use log::info;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `trace` in this scope
[INFO] [stdout]    --> src/lib.rs:138:29
[INFO] [stdout]     |
[INFO] [stdout] 138 | ...                   trace!("1234567890-=dfghjkl;'ka0000000000;ngtohbjgbtesting {}...99=====.{}....mmmmmmm{}m ********* {}", 1,2,3, idx);
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 111 +     use log::trace;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `time` is imported redundantly
[INFO] [stdout]  --> src/event.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use time;
[INFO] [stdout]   |     ^^^^ the item `time` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/writer.rs:82:50
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn add_appender(&mut self, appender: Box<Appender>) {
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn add_appender(&mut self, appender: Box<dyn Appender>) {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/config.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]   |                       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/config.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | static INST_ONCE: Once = ONCE_INIT;
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]   |
[INFO] [stdout] 8 | static INST_ONCE: Once = Once::new();
[INFO] [stdout]   |                          ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/writer.rs:11:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     appenders: Vec<Box<Appender>>,
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 |     appenders: Vec<Box<dyn Appender>>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/writer.rs:82:50
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn add_appender(&mut self, appender: Box<Appender>) {
[INFO] [stdout]    |                                                  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn add_appender(&mut self, appender: Box<dyn Appender>) {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/lib.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         init();
[INFO] [stdout]     |         ^^^^-- an argument of type `std::string::String` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lib.rs:39:8
[INFO] [stdout]     |
[INFO] [stdout] 39  | pub fn init(path: String) -> Result<(), log::SetLoggerError> {
[INFO] [stdout]     |        ^^^^ ------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 119 |         init(/* std::string::String */);
[INFO] [stdout]     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `load_config` found for struct `Logger` in the current scope
[INFO] [stdout]    --> src/lib.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |         Logger::load_config(PathBuf::from("./"));
[INFO] [stdout]     |                 ^^^^^^^^^^^ function or associated item not found in `Logger`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/logger.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout] 19  | pub struct Logger {
[INFO] [stdout]     | ----------------- function or associated item `load_config` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Logger`, consider using `Logger::init` which returns `Logger`
[INFO] [stdout]    --> src/logger.rs:26:5
[INFO] [stdout]     |
[INFO] [stdout] 26  |     pub fn init() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hp-log` (lib test) due to 8 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]  --> example/simple.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     hp_log::init("./".to_string());
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]   = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let _ = hp_log::init("./".to_string());
[INFO] [stdout]   |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]  --> example/simple.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     log_enabled!(log::Level::Debug);
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]   |
[INFO] [stdout]   = note: this warning originates in the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> example/simple.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     log_enabled!(log::Level::Trace);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `log_enabled` (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] running `Command { std: "docker" "inspect" "d9417119fda6bb22fc51dd4ce63bda5889c057faa510d63a9e423699dda7da48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9417119fda6bb22fc51dd4ce63bda5889c057faa510d63a9e423699dda7da48", kill_on_drop: false }`
[INFO] [stdout] d9417119fda6bb22fc51dd4ce63bda5889c057faa510d63a9e423699dda7da48
