[INFO] fetching crate hp-log 0.3.1... [INFO] checking hp-log-0.3.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate hp-log 0.3.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate hp-log 0.3.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f81e578f15e6d85ffeb37fdaf7c7c6b1a9f55062336ad4797dfa36e8183ba6a8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f81e578f15e6d85ffeb37fdaf7c7c6b1a9f55062336ad4797dfa36e8183ba6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f81e578f15e6d85ffeb37fdaf7c7c6b1a9f55062336ad4797dfa36e8183ba6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f81e578f15e6d85ffeb37fdaf7c7c6b1a9f55062336ad4797dfa36e8183ba6a8", kill_on_drop: false }` [INFO] [stdout] f81e578f15e6d85ffeb37fdaf7c7c6b1a9f55062336ad4797dfa36e8183ba6a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 504a83d4b18bcc7b8738eeece0c2f97a22497ec930c3f2d310b368ba1f16c2ec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "504a83d4b18bcc7b8738eeece0c2f97a22497ec930c3f2d310b368ba1f16c2ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Checking strfmt v0.1.6 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking time v0.1.42 [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] 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: consider importing this macro: [INFO] [stdout] log::warn [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] = note: consider importing this macro: [INFO] [stdout] log::debug [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] = note: consider importing this macro: [INFO] [stdout] log::error [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] = note: consider importing this macro: [INFO] [stdout] log::info [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] = note: consider importing this macro: [INFO] [stdout] log::trace [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>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Appender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Appender` [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>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Appender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Appender` [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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] | ^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [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] [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 4 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "504a83d4b18bcc7b8738eeece0c2f97a22497ec930c3f2d310b368ba1f16c2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504a83d4b18bcc7b8738eeece0c2f97a22497ec930c3f2d310b368ba1f16c2ec", kill_on_drop: false }` [INFO] [stdout] 504a83d4b18bcc7b8738eeece0c2f97a22497ec930c3f2d310b368ba1f16c2ec