[INFO] fetching crate lz-fear 0.1.1... [INFO] checking lz-fear-0.1.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate lz-fear 0.1.1 into /workspace/builds/worker-40/source [INFO] validating manifest of crates.io crate lz-fear 0.1.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lz-fear 0.1.1 [INFO] finished tweaking crates.io crate lz-fear 0.1.1 [INFO] tweaked toml for crates.io crate lz-fear 0.1.1 written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate crates.io crate lz-fear 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db278bfde289be946469f569f2c83d99b6d9dc594f2a08f16f593f2bc4221fb2 [INFO] running `Command { std: "docker" "start" "-a" "db278bfde289be946469f569f2c83d99b6d9dc594f2a08f16f593f2bc4221fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db278bfde289be946469f569f2c83d99b6d9dc594f2a08f16f593f2bc4221fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db278bfde289be946469f569f2c83d99b6d9dc594f2a08f16f593f2bc4221fb2", kill_on_drop: false }` [INFO] [stdout] db278bfde289be946469f569f2c83d99b6d9dc594f2a08f16f593f2bc4221fb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dec6e638ddc9f5ce869f7945c5b44cf62096a4bf5f8bcc045e1682b139360bf3 [INFO] running `Command { std: "docker" "start" "-a" "dec6e638ddc9f5ce869f7945c5b44cf62096a4bf5f8bcc045e1682b139360bf3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking thiserror v1.0.14 [INFO] [stderr] Checking fehler v1.0.0 [INFO] [stderr] Checking lz-fear v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/framed/decompress.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | &mut buf[..bytes_to_take].copy_from_slice(&mybuf[..bytes_to_take]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = &mut buf[..bytes_to_take].copy_from_slice(&mybuf[..bytes_to_take]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stdout] warning: unused variable: `lz4_reader` [INFO] [stdout] --> examples/roundtrip.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut lz4_reader = LZ4FrameReader::new(Cursor::new(output)) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lz4_reader` [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] --> examples/roundtrip.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut lz4_reader = LZ4FrameReader::new(Cursor::new(output)) [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] error: couldn't read /usr/bin/cargo: No such file or directory (os error 2) [INFO] [stdout] --> tests/output_equivalence.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | settings.dictionary(0, /*DICT_DATA*/include_bytes!("/usr/bin/cargo")).dictionary_id_nonsense_override(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/output_equivalence.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> tests/output_equivalence.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read benches/../sh.lz4: No such file or directory (os error 2) [INFO] [stdout] --> benches/my_benchmark.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let cargo = include_bytes!("../sh.lz4") as &[u8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lz4_compression` [INFO] [stdout] --> benches/my_benchmark.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lz4_compression::decompress::decompress; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `lz4_compression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lz4_compression` [INFO] [stdout] --> benches/my_benchmark.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lz4_compression::compress::compress; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `lz4_compression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lz4_compression` [INFO] [stdout] --> benches/my_benchmark.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lz4_compression::decompress_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `lz4_compression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> tests/output_equivalence.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 64 | continue; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 65 | settings.block_size(256 * 1024); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compress` in this scope [INFO] [stdout] --> benches/my_benchmark.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | let compressed_data = compress(uncompressed_data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decompress` in this scope [INFO] [stdout] --> benches/my_benchmark.rs:22:82 [INFO] [stdout] | [INFO] [stdout] 22 | group.bench_with_input("ours", &compressed_data.as_slice(), |b, c| b.iter(|| decompress(c))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/my_benchmark.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use criterion::{black_box, criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lz-fear` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/framed/decompress.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | &mut buf[..bytes_to_take].copy_from_slice(&mybuf[..bytes_to_take]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = &mut buf[..bytes_to_take].copy_from_slice(&mybuf[..bytes_to_take]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dec6e638ddc9f5ce869f7945c5b44cf62096a4bf5f8bcc045e1682b139360bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec6e638ddc9f5ce869f7945c5b44cf62096a4bf5f8bcc045e1682b139360bf3", kill_on_drop: false }` [INFO] [stdout] dec6e638ddc9f5ce869f7945c5b44cf62096a4bf5f8bcc045e1682b139360bf3