[INFO] fetching crate config_file_handler 0.11.0... [INFO] checking config_file_handler-0.11.0 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate config_file_handler 0.11.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate config_file_handler 0.11.0 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate config_file_handler 0.11.0 [INFO] finished tweaking crates.io crate config_file_handler 0.11.0 [INFO] tweaked toml for crates.io crate config_file_handler 0.11.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e33057725eb9cd7e25ec7013206af9e184dc3549ed5811088a65186a04add20 [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" "4e33057725eb9cd7e25ec7013206af9e184dc3549ed5811088a65186a04add20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e33057725eb9cd7e25ec7013206af9e184dc3549ed5811088a65186a04add20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e33057725eb9cd7e25ec7013206af9e184dc3549ed5811088a65186a04add20", kill_on_drop: false }` [INFO] [stdout] 4e33057725eb9cd7e25ec7013206af9e184dc3549ed5811088a65186a04add20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e380fb9adcec6951ce3b65469389a666d19d29ba46f622997cfe3f43defbba13 [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" "e380fb9adcec6951ce3b65469389a666d19d29ba46f622997cfe3f43defbba13", kill_on_drop: false }` [INFO] [stderr] Checking unwrap v1.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking config_file_handler v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | exceeding_bitshifts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `plugin_as_library` has been removed: `plugins have been deprecated and retired` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[forbid(renamed_and_removed_lints)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | private_no_mangle_fns, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | private_no_mangle_statics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | exceeding_bitshifts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `plugin_as_library` has been removed: `plugins have been deprecated and retired` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warnings [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[forbid(renamed_and_removed_lints)]` implied by `#[forbid(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_fns` has been removed: `no longer a warning, `#[no_mangle]` functions always exported` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | private_no_mangle_fns, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lint `private_no_mangle_statics` has been removed: `no longer a warning, `#[no_mangle]` statics always exported` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | private_no_mangle_statics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/file_handler.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | let mut home_dir = env::home_dir() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | deprecated, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/file_handler.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref ADDITIONAL_SEARCH_PATH: Mutex> = Mutex::new(None); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global_mutex.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Mutex, Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global_mutex.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/file_handler.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | let mut home_dir = env::home_dir() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | deprecated, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/file_handler.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref ADDITIONAL_SEARCH_PATH: Mutex> = Mutex::new(None); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global_mutex.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Mutex, Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/global_mutex.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | static ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `config_file_handler` [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] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e380fb9adcec6951ce3b65469389a666d19d29ba46f622997cfe3f43defbba13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e380fb9adcec6951ce3b65469389a666d19d29ba46f622997cfe3f43defbba13", kill_on_drop: false }` [INFO] [stdout] e380fb9adcec6951ce3b65469389a666d19d29ba46f622997cfe3f43defbba13