[INFO] fetching crate rusty-x 0.1.75... [INFO] checking rusty-x-0.1.75 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate rusty-x 0.1.75 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rusty-x 0.1.75 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rusty-x 0.1.75 [INFO] finished tweaking crates.io crate rusty-x 0.1.75 [INFO] tweaked toml for crates.io crate rusty-x 0.1.75 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70bf890c1258a320ad6f3626537839ba2171c655fede7d1a3ecf04969646bf64 [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" "70bf890c1258a320ad6f3626537839ba2171c655fede7d1a3ecf04969646bf64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70bf890c1258a320ad6f3626537839ba2171c655fede7d1a3ecf04969646bf64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70bf890c1258a320ad6f3626537839ba2171c655fede7d1a3ecf04969646bf64", kill_on_drop: false }` [INFO] [stdout] 70bf890c1258a320ad6f3626537839ba2171c655fede7d1a3ecf04969646bf64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a57d32b4ebd58624bdf28a38e3a4038601a29963be124e225fa6258e75eb781 [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" "2a57d32b4ebd58624bdf28a38e3a4038601a29963be124e225fa6258e75eb781", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking pipeline v0.5.0 [INFO] [stderr] Checking shell-words v0.1.0 [INFO] [stderr] Checking fuzzy-matcher v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking clicolors-control v0.2.0 [INFO] [stderr] Checking directories v1.0.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libssh2-sys v0.2.20 [INFO] [stderr] Compiling curl-sys v0.4.39+curl-7.74.0 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking console v0.6.2 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking markdown v0.2.0 [INFO] [stderr] Checking timer v0.2.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking tuikit v0.2.9 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking plist v0.4.2 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling onig_sys v69.6.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Checking skim v0.6.9 [INFO] [stderr] Checking onig v5.0.0 [INFO] [stderr] Checking syntect v3.3.0 [INFO] [stderr] Checking git2 v0.7.5 [INFO] [stderr] Checking prettyprint v0.3.0 [INFO] [stderr] Checking rusty-x v0.1.75 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | Error::FileError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/x.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|(count, entry, tags)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | Error::FileError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/x.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut entries: Vec = fs::read_dir(&snippet_location.local)? [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: unused variable: `count` [INFO] [stdout] --> src/x.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|(count, entry, tags)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [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/x.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut entries: Vec = fs::read_dir(&snippet_location.local)? [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] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | (OpCode::ListSnippets(true)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | (OpCode::PullSnippets) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | (OpCode::SaveSnippets) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | (OpCode::ListSnippets(false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | / (s + ", " [INFO] [stdout] 184 | | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stdout] 185 | | .to_owned()) [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 | s + ", " [INFO] [stdout] 184 | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stdout] 185 | .to_owned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | (OpCode::ListSnippets(true)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | (OpCode::PullSnippets) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | (OpCode::SaveSnippets) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | (OpCode::ListSnippets(false)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | / (s + ", " [INFO] [stdout] 184 | | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stdout] 185 | | .to_owned()) [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 | s + ", " [INFO] [stdout] 184 | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stdout] 185 | .to_owned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 48s [INFO] running `Command { std: "docker" "inspect" "2a57d32b4ebd58624bdf28a38e3a4038601a29963be124e225fa6258e75eb781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a57d32b4ebd58624bdf28a38e3a4038601a29963be124e225fa6258e75eb781", kill_on_drop: false }` [INFO] [stdout] 2a57d32b4ebd58624bdf28a38e3a4038601a29963be124e225fa6258e75eb781