[INFO] fetching crate rcmd-core 0.1.0... [INFO] checking rcmd-core-0.1.0 against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] extracting crate rcmd-core 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate rcmd-core 0.1.0 on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rcmd-core 0.1.0 [INFO] finished tweaking crates.io crate rcmd-core 0.1.0 [INFO] tweaked toml for crates.io crate rcmd-core 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ccbff43222c58778bcac13cd40c6c8fd697da51b891604657a7019847190056 [INFO] running `Command { std: "docker" "start" "-a" "0ccbff43222c58778bcac13cd40c6c8fd697da51b891604657a7019847190056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ccbff43222c58778bcac13cd40c6c8fd697da51b891604657a7019847190056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ccbff43222c58778bcac13cd40c6c8fd697da51b891604657a7019847190056", kill_on_drop: false }` [INFO] [stdout] 0ccbff43222c58778bcac13cd40c6c8fd697da51b891604657a7019847190056 [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" "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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f841eb044bdd6ee179c45c4541a1598962458527c88023451235acbfe0c3f238 [INFO] running `Command { std: "docker" "start" "-a" "f841eb044bdd6ee179c45c4541a1598962458527c88023451235acbfe0c3f238", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking fern v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking zip-extensions v0.6.1 [INFO] [stderr] Checking rcmd-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/util/filesys.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::filesys::zip_dir` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::util::filesys::zip_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/util/filesys.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalkDir` [INFO] [stdout] --> src/lib.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | use walkdir::{WalkDir, DirEntry}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir` [INFO] [stdout] --> src/lib.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | use walkdir; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zip::ZipWriter::::start_file_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `start_file` instead. [INFO] [stdout] --> src/util/filesys.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | zip.start_file_from_path(name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zip::ZipWriter::::start_file_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `start_file` instead. [INFO] [stdout] --> src/util/filesys.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | zip.start_file_from_path(name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zip::ZipWriter::::add_directory_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `add_directory` instead. [INFO] [stdout] --> src/util/filesys.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | zip.add_directory_from_path(name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zip::ZipWriter::::add_directory_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `add_directory` instead. [INFO] [stdout] --> src/util/filesys.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | zip.add_directory_from_path(name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zip_ar` [INFO] [stdout] --> src/util/filesys.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let zip_ar = zip::ZipArchive::new(File::open(zip_f).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_zip_ar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zip_ar` [INFO] [stdout] --> src/util/filesys.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let zip_ar = zip::ZipArchive::new(File::open(zip_f).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_zip_ar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut ws = WalkDir::new(pf); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ignore_entry` is never used [INFO] [stdout] --> src/lib.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn ignore_entry(entry: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Ex` should have a snake case name [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod Ex { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Ex` should have a snake case name [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod Ex { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Log` should have a snake case name [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod Log { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Log` should have a snake case name [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod Log { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / zip_dir( [INFO] [stdout] 53 | | &mut ws.into_iter() [INFO] [stdout] 54 | | .filter_entry(|e|ignore_entry(e)) [INFO] [stdout] 55 | | .filter_map(|v|v.ok()), pf.to_str().unwrap(), zipfile); [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] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.00s [INFO] running `Command { std: "docker" "inspect" "f841eb044bdd6ee179c45c4541a1598962458527c88023451235acbfe0c3f238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f841eb044bdd6ee179c45c4541a1598962458527c88023451235acbfe0c3f238", kill_on_drop: false }` [INFO] [stdout] f841eb044bdd6ee179c45c4541a1598962458527c88023451235acbfe0c3f238