[INFO] crate rusty-x 0.1.75 is already in cache [INFO] checking rusty-x-0.1.75 against master#3dbade652ed8ebac70f903e01f51cd92c4e4302c for pr-69741 [INFO] extracting crate rusty-x 0.1.75 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate rusty-x 0.1.75 on toolchain 3dbade652ed8ebac70f903e01f51cd92c4e4302c [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d81bb5eb3ca93cc0a3795654b33f1fc3561b2d2d709572424770ef88528c2887 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "d81bb5eb3ca93cc0a3795654b33f1fc3561b2d2d709572424770ef88528c2887"` [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.50.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking fuzzy-matcher v0.2.2 [INFO] [stderr] Checking pipeline v0.5.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling libssh2-sys v0.2.16 [INFO] [stderr] Compiling curl-sys v0.4.29+curl-7.68.0 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking clicolors-control v0.2.0 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking directories v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Checking error-chain v0.12.2 [INFO] [stderr] Checking timer v0.2.0 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking plist v0.4.2 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking markdown v0.2.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking console v0.6.2 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking tuikit v0.2.9 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling onig_sys v69.2.0 [INFO] [stderr] Compiling derive_builder v0.7.2 [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] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:27:42 [INFO] [stderr] | [INFO] [stderr] 27 | Error::FileError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/x.rs:96:16 [INFO] [stderr] | [INFO] [stderr] 96 | .map(|(count, entry, tags)| { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_count` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/x.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let mut entries: Vec = fs::read_dir(&snippet_location.local)? [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:27:42 [INFO] [stderr] | [INFO] [stderr] 27 | Error::FileError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `count` [INFO] [stderr] --> src/x.rs:96:16 [INFO] [stderr] | [INFO] [stderr] 96 | .map(|(count, entry, tags)| { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_count` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/x.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | let mut entries: Vec = fs::read_dir(&snippet_location.local)? [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | (OpCode::ListSnippets(true)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | (OpCode::PullSnippets) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | (OpCode::SaveSnippets) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | (OpCode::ListSnippets(false)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 183 | / (s + ", " [INFO] [stderr] 184 | | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stderr] 185 | | .to_owned()) [INFO] [stderr] | |________________________________________^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 183 | s + ", " [INFO] [stderr] 184 | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stderr] 185 | .to_owned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | (OpCode::ListSnippets(true)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | (OpCode::PullSnippets) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | (OpCode::SaveSnippets) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | (OpCode::ListSnippets(false)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/bin/main.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 183 | / (s + ", " [INFO] [stderr] 184 | | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stderr] 185 | | .to_owned()) [INFO] [stderr] | |________________________________________^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 183 | s + ", " [INFO] [stderr] 184 | + &format!("{}", ansi_term::Style::new().bold().paint(val.trim())) [INFO] [stderr] 185 | .to_owned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 39s [INFO] running `"docker" "inspect" "d81bb5eb3ca93cc0a3795654b33f1fc3561b2d2d709572424770ef88528c2887"` [INFO] running `"docker" "rm" "-f" "d81bb5eb3ca93cc0a3795654b33f1fc3561b2d2d709572424770ef88528c2887"` [INFO] [stdout] d81bb5eb3ca93cc0a3795654b33f1fc3561b2d2d709572424770ef88528c2887