[INFO] fetching crate rusty-x 0.1.75... [INFO] testing rusty-x-0.1.75 against try#5bc97a20e5cc382ae6d19f727a9e73eeb2734548 for pr-99093 [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 5bc97a20e5cc382ae6d19f727a9e73eeb2734548 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab28e2f3591f5f7f4663a28fd20c3b54f9be0235c905c275432c4b9ee1201d4f [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" "ab28e2f3591f5f7f4663a28fd20c3b54f9be0235c905c275432c4b9ee1201d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab28e2f3591f5f7f4663a28fd20c3b54f9be0235c905c275432c4b9ee1201d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab28e2f3591f5f7f4663a28fd20c3b54f9be0235c905c275432c4b9ee1201d4f", kill_on_drop: false }` [INFO] [stdout] ab28e2f3591f5f7f4663a28fd20c3b54f9be0235c905c275432c4b9ee1201d4f [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ee74245521a26959e261ed2f6de5194c892da4b16764fcd1823329594b941d28 [INFO] running `Command { std: "docker" "start" "-a" "ee74245521a26959e261ed2f6de5194c892da4b16764fcd1823329594b941d28", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling bytemuck v1.10.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling fuzzy-matcher v0.2.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling pipeline v0.5.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling rgb v0.8.33 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.55+curl-7.83.1 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling ansi_colours v1.1.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling markdown v0.2.0 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling 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.8.0 [INFO] [stderr] Compiling skim v0.6.9 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling onig v5.0.0 [INFO] [stderr] Compiling syntect v3.3.0 [INFO] [stderr] Compiling git2 v0.7.5 [INFO] [stderr] Compiling prettyprint v0.3.0 [INFO] [stderr] Compiling 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: 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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stdout] 127 + OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]]) [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stdout] 129 + OpCode::NewSnippet(&project.locations[choice[0]]) [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - (OpCode::ListSnippets(true)) [INFO] [stdout] 132 + OpCode::ListSnippets(true) [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - (OpCode::PullSnippets) [INFO] [stdout] 134 + OpCode::PullSnippets [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - (OpCode::SaveSnippets) [INFO] [stdout] 136 + OpCode::SaveSnippets [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - (OpCode::ListSnippets(false)) [INFO] [stdout] 138 + OpCode::ListSnippets(false) [INFO] [stdout] | [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] | ^ [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 40s [INFO] running `Command { std: "docker" "inspect" "ee74245521a26959e261ed2f6de5194c892da4b16764fcd1823329594b941d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee74245521a26959e261ed2f6de5194c892da4b16764fcd1823329594b941d28", kill_on_drop: false }` [INFO] [stdout] ee74245521a26959e261ed2f6de5194c892da4b16764fcd1823329594b941d28 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a2ccb46eafeb328c0a5e7451375b908f57e77142b28c4f9e7feead8d928b30ee [INFO] running `Command { std: "docker" "start" "-a" "a2ccb46eafeb328c0a5e7451375b908f57e77142b28c4f9e7feead8d928b30ee", kill_on_drop: false }` [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: 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] [stderr] Compiling rusty-x v0.1.75 (/opt/rustwide/workdir) [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stdout] 127 + OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]]) [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stdout] 129 + OpCode::NewSnippet(&project.locations[choice[0]]) [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - (OpCode::ListSnippets(true)) [INFO] [stdout] 132 + OpCode::ListSnippets(true) [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - (OpCode::PullSnippets) [INFO] [stdout] 134 + OpCode::PullSnippets [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - (OpCode::SaveSnippets) [INFO] [stdout] 136 + OpCode::SaveSnippets [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - (OpCode::ListSnippets(false)) [INFO] [stdout] 138 + OpCode::ListSnippets(false) [INFO] [stdout] | [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] | ^ [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: 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: 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "a2ccb46eafeb328c0a5e7451375b908f57e77142b28c4f9e7feead8d928b30ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ccb46eafeb328c0a5e7451375b908f57e77142b28c4f9e7feead8d928b30ee", kill_on_drop: false }` [INFO] [stdout] a2ccb46eafeb328c0a5e7451375b908f57e77142b28c4f9e7feead8d928b30ee [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+5bc97a20e5cc382ae6d19f727a9e73eeb2734548" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 538773c8adefde7e47a28f9279b99729007e12816747697fa0c52743b915fdbe [INFO] running `Command { std: "docker" "start" "-a" "538773c8adefde7e47a28f9279b99729007e12816747697fa0c52743b915fdbe", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `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: if this is intentional, prefix it 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: `rusty-x` (lib) generated 3 warnings [INFO] [stderr] warning: `rusty-x` (lib test) generated 3 warnings (3 duplicates) [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 127 - (OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]])) [INFO] [stderr] 127 + OpCode::AddSnippet(args.flag_add, &project.locations[choice[0]]) [INFO] [stderr] | [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 129 - (OpCode::NewSnippet(&project.locations[choice[0]])) [INFO] [stderr] 129 + OpCode::NewSnippet(&project.locations[choice[0]]) [INFO] [stderr] | [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 132 - (OpCode::ListSnippets(true)) [INFO] [stderr] 132 + OpCode::ListSnippets(true) [INFO] [stderr] | [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 134 - (OpCode::PullSnippets) [INFO] [stderr] 134 + OpCode::PullSnippets [INFO] [stderr] | [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 136 - (OpCode::SaveSnippets) [INFO] [stderr] 136 + OpCode::SaveSnippets [INFO] [stderr] | [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 138 - (OpCode::ListSnippets(false)) [INFO] [stderr] 138 + OpCode::ListSnippets(false) [INFO] [stderr] | [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] | ^ [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: `rusty-x` (bin "x" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_x-260358228871506a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/x-9182c23586a6ebf1) [INFO] [stdout] [INFO] [stderr] Doc-tests rusty-x [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "538773c8adefde7e47a28f9279b99729007e12816747697fa0c52743b915fdbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "538773c8adefde7e47a28f9279b99729007e12816747697fa0c52743b915fdbe", kill_on_drop: false }` [INFO] [stdout] 538773c8adefde7e47a28f9279b99729007e12816747697fa0c52743b915fdbe