[INFO] updating cached repository https://github.com/Nicoretti/xxd-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b4996d3ffd24324af5dc296559e990cb00e1953 [INFO] checking Nicoretti/xxd-rs against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicoretti%2Fxxd-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nicoretti/xxd-rs on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nicoretti/xxd-rs [INFO] finished tweaking git repo https://github.com/Nicoretti/xxd-rs [INFO] tweaked toml for git repo https://github.com/Nicoretti/xxd-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Nicoretti/xxd-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d69dd649be70044378a7a50676c9f70e04fea32737e0fb677fc9ecc9d8aa708e [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" "d69dd649be70044378a7a50676c9f70e04fea32737e0fb677fc9ecc9d8aa708e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d69dd649be70044378a7a50676c9f70e04fea32737e0fb677fc9ecc9d8aa708e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d69dd649be70044378a7a50676c9f70e04fea32737e0fb677fc9ecc9d8aa708e", kill_on_drop: false }` [INFO] [stdout] d69dd649be70044378a7a50676c9f70e04fea32737e0fb677fc9ecc9d8aa708e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd8962ff6991e2eeaad9e57ec8c35ef700a2aab315484f78eb7b792deba7af82 [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" "fd8962ff6991e2eeaad9e57ec8c35ef700a2aab315484f78eb7b792deba7af82", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking nom v3.0.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling term_size v0.2.3 [INFO] [stderr] Compiling clap v2.20.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking os_type v2.2.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling xxd-rs v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking human-panic v1.0.1 [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/xxd/dump.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | character @ 20u8...126u8 => write!(f, "{}", character as char)?, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xxd/dump.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | writer: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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/xxd/dump.rs:254:40 [INFO] [stdout] | [INFO] [stdout] 254 | fn dump_line(data: &[u8], writer: &mut Write, output_settings: Config) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/xxd/dump.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | character @ 20u8...126u8 => write!(f, "{}", character as char)?, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xxd/dump.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | writer: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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/xxd/dump.rs:254:40 [INFO] [stdout] | [INFO] [stdout] 254 | fn dump_line(data: &[u8], writer: &mut Write, output_settings: Config) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/main.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn create_reader(path: String) -> Result, failure::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Read` [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/bin/main.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn create_writer(path: String) -> Result, failure::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/main.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn create_reader(path: String) -> Result, failure::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Read` [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/bin/main.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn create_writer(path: String) -> Result, failure::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut file_writer = std::fs::File::create(path)?; [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut file_writer = std::fs::File::create(path)?; [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.87s [INFO] running `Command { std: "docker" "inspect" "fd8962ff6991e2eeaad9e57ec8c35ef700a2aab315484f78eb7b792deba7af82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd8962ff6991e2eeaad9e57ec8c35ef700a2aab315484f78eb7b792deba7af82", kill_on_drop: false }` [INFO] [stdout] fd8962ff6991e2eeaad9e57ec8c35ef700a2aab315484f78eb7b792deba7af82