[INFO] cloning repository https://github.com/nsmryan/parcel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nsmryan/parcel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Fparcel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Fparcel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b30c58887cdd8b983a0d7ba3510e2d86d155d094 [INFO] checking nsmryan/parcel against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Fparcel" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/parcel 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 git repo https://github.com/nsmryan/parcel [INFO] finished tweaking git repo https://github.com/nsmryan/parcel [INFO] tweaked toml for git repo https://github.com/nsmryan/parcel written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nsmryan/parcel already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7b6c48ebedfab28dbd7845d834230d66a49457fcd7206869a236a3634951df9 [INFO] running `Command { std: "docker" "start" "-a" "f7b6c48ebedfab28dbd7845d834230d66a49457fcd7206869a236a3634951df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7b6c48ebedfab28dbd7845d834230d66a49457fcd7206869a236a3634951df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b6c48ebedfab28dbd7845d834230d66a49457fcd7206869a236a3634951df9", kill_on_drop: false }` [INFO] [stdout] f7b6c48ebedfab28dbd7845d834230d66a49457fcd7206869a236a3634951df9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9190a5a19e8d7b63a83c4b78f42af5b2753b10eb5cb338408609aa301b20aee2 [INFO] running `Command { std: "docker" "start" "-a" "9190a5a19e8d7b63a83c4b78f42af5b2753b10eb5cb338408609aa301b20aee2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking regex v1.1.6 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking hew v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:174:52 [INFO] [stdout] | [INFO] [stdout] 174 | fn buffered(mut input: R, mut output: W, f: &Fn(&mut [u8], &mut Vec)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut [u8], &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write_index` [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let mut write_index: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write_index` [INFO] [stdout] --> src/main.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let mut write_index: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sep` [INFO] [stdout] --> src/main.rs:312:18 [INFO] [stdout] | [INFO] [stdout] 312 | sep: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let mut write_index: usize = 0; [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/main.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let mut write_index: usize = 0; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | let mut input_file = OpenOptions::new() [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | let mut output_file = OpenOptions::new() [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WRITE_BUFFER_SIZE_BYTES` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const WRITE_BUFFER_SIZE_BYTES: usize = 1024*16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `push_to_write_buffer` [INFO] [stdout] --> src/main.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | fn push_to_write_buffer(output: &mut W, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:174:52 [INFO] [stdout] | [INFO] [stdout] 174 | fn buffered(mut input: R, mut output: W, f: &Fn(&mut [u8], &mut Vec)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut [u8], &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | encode(input.as_bytes(), &mut output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | encode(input.as_bytes(), &mut output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | encode(input.as_bytes(), &mut output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | encode(input.as_bytes(), &mut output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | encode(input.as_bytes(), &mut output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | encode(input.as_bytes(), &mut output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | decode(Cursor::new(input), &mut output, line_width, word_width, case, prefix, &sep); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mut _`, found struct `std::io::Cursor` [INFO] [stdout] | help: consider mutably borrowing here: `&mut Cursor::new(input)` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `std::io::Cursor>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:378:10 [INFO] [stdout] | [INFO] [stdout] 378 | decode(Cursor::new(input), &mut output, line_width, word_width, case, prefix, &sep); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mut _`, found struct `std::io::Cursor` [INFO] [stdout] | help: consider mutably borrowing here: `&mut Cursor::new(input)` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `std::io::Cursor>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:385:10 [INFO] [stdout] | [INFO] [stdout] 385 | decode(Cursor::new(input), &mut output, line_width, word_width, case, prefix, &sep); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mut _`, found struct `std::io::Cursor` [INFO] [stdout] | help: consider mutably borrowing here: `&mut Cursor::new(input)` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `std::io::Cursor>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:401:10 [INFO] [stdout] | [INFO] [stdout] 401 | decode(Cursor::new(input), &mut output, line_width, word_width, case, prefix, &sep); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mut _`, found struct `std::io::Cursor` [INFO] [stdout] | help: consider mutably borrowing here: `&mut Cursor::new(input)` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `std::io::Cursor>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:408:10 [INFO] [stdout] | [INFO] [stdout] 408 | decode(Cursor::new(input), &mut output, line_width, word_width, case, prefix, &sep); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mut _`, found struct `std::io::Cursor` [INFO] [stdout] | help: consider mutably borrowing here: `&mut Cursor::new(input)` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `std::io::Cursor>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:415:10 [INFO] [stdout] | [INFO] [stdout] 415 | decode(Cursor::new(input), &mut output, line_width, word_width, case, prefix, &sep); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mut _`, found struct `std::io::Cursor` [INFO] [stdout] | help: consider mutably borrowing here: `&mut Cursor::new(input)` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `std::io::Cursor>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 422 | decode(Cursor::new(input), &mut output, line_width, word_width, case, prefix, &sep); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mut _`, found struct `std::io::Cursor` [INFO] [stdout] | help: consider mutably borrowing here: `&mut Cursor::new(input)` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `std::io::Cursor>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hew` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9190a5a19e8d7b63a83c4b78f42af5b2753b10eb5cb338408609aa301b20aee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9190a5a19e8d7b63a83c4b78f42af5b2753b10eb5cb338408609aa301b20aee2", kill_on_drop: false }` [INFO] [stdout] 9190a5a19e8d7b63a83c4b78f42af5b2753b10eb5cb338408609aa301b20aee2