[INFO] fetching crate lz-fear 0.1.0... [INFO] testing lz-fear-0.1.0 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate lz-fear 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate lz-fear 0.1.0 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate lz-fear 0.1.0 [INFO] finished tweaking crates.io crate lz-fear 0.1.0 [INFO] tweaked toml for crates.io crate lz-fear 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate lz-fear 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fb3c79fcf8d16e712bbbb6e1e022565f8e66ca1b68f6ef245de91af8bb116e5f [INFO] running `"docker" "start" "-a" "fb3c79fcf8d16e712bbbb6e1e022565f8e66ca1b68f6ef245de91af8bb116e5f"` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling fehler v1.0.0 [INFO] [stderr] Compiling lz-fear v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `thiserror::Error` [INFO] [stderr] --> src/compress/framed.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use thiserror::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `throw` [INFO] [stderr] --> src/compress/framed.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use fehler::{throw, throws}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.52s [INFO] running `"docker" "inspect" "fb3c79fcf8d16e712bbbb6e1e022565f8e66ca1b68f6ef245de91af8bb116e5f"` [INFO] running `"docker" "rm" "-f" "fb3c79fcf8d16e712bbbb6e1e022565f8e66ca1b68f6ef245de91af8bb116e5f"` [INFO] [stdout] fb3c79fcf8d16e712bbbb6e1e022565f8e66ca1b68f6ef245de91af8bb116e5f [INFO] running `"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" "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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a54e6d26d0f4202752a3de5a4586c821c587cfc07ca79a753988912fd9378130 [INFO] running `"docker" "start" "-a" "a54e6d26d0f4202752a3de5a4586c821c587cfc07ca79a753988912fd9378130"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling oorandom v11.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [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] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] warning: unused import: `thiserror::Error` [INFO] [stderr] --> src/compress/framed.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use thiserror::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `throw` [INFO] [stderr] --> src/compress/framed.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use fehler::{throw, throws}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling criterion-plot v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling plotters v0.2.12 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.0.3 [INFO] [stderr] Compiling criterion v0.3.1 [INFO] [stderr] Compiling lz-fear v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `crate::compress::compress2` [INFO] [stderr] --> src/lib.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | use crate::compress::compress2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `compress2` in `compress` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::decompress::decompress` [INFO] [stderr] --> src/lib.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | use crate::decompress::decompress; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `decompress` in `decompress` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `lz4_compression` [INFO] [stderr] --> examples/delz4.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use lz4_compression::LZ4FrameReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `lz4_compression` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `decompress` in this scope [INFO] [stderr] --> src/decompress/raw.rs:145:20 [INFO] [stderr] | [INFO] [stderr] 145 | assert_eq!(decompress(&[0x11, b'a', 1, 0]).unwrap(), b"aaaaaa"); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `decompress` in this scope [INFO] [stderr] --> src/decompress/raw.rs:151:13 [INFO] [stderr] | [INFO] [stderr] 151 | decompress(&[0x11, b'a', 1, 0, 0x22, b'b', b'c', 2, 0]).unwrap(), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `decompress` in this scope [INFO] [stderr] --> src/decompress/raw.rs:158:20 [INFO] [stderr] | [INFO] [stderr] 158 | assert_eq!(decompress(&[0x30, b'a', b'4', b'9']).unwrap(), b"a49"); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `decompress` in this scope [INFO] [stderr] --> src/decompress/raw.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | decompress(&[0x10, b'a', 2, 0]).unwrap_err(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `decompress` in this scope [INFO] [stderr] --> src/decompress/raw.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | decompress(&[0x40, b'a', 1, 0]).unwrap_err(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `U16Table` in module `crate::compress` [INFO] [stderr] --> src/lib.rs:26:45 [INFO] [stderr] | [INFO] [stderr] 26 | compress2::<_, crate::compress::U16Table>(input, &mut buf).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in `crate::compress` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 19 | use crate::compress::raw::U16Table; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `U32Table` in module `crate::compress` [INFO] [stderr] --> src/lib.rs:28:45 [INFO] [stderr] | [INFO] [stderr] 28 | compress2::<_, crate::compress::U32Table>(input, &mut buf).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in `crate::compress` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 19 | use crate::compress::raw::U32Table; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/decompress/raw.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `thiserror::Error` [INFO] [stderr] --> src/compress/framed.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use thiserror::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `throw` [INFO] [stderr] --> src/compress/framed.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use fehler::{throw, throws}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BufRead` [INFO] [stderr] --> examples/delz4.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{self, BufRead, Write}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `lz-fear`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: can't compare `[u8]` with `&[u8]` [INFO] [stderr] --> src/lib.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | assert_eq!(decompressed, s.as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `[u8] == &[u8]` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq<&[u8]>` is not implemented for `[u8]` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/decompress/framed.rs:179:36 [INFO] [stderr] | [INFO] [stderr] 179 | if hasher.finish() != checksum.into() { [INFO] [stderr] | ^^ cannot infer type for type `u64` [INFO] [stderr] ... [INFO] [stderr] 198 | if hasher.finish() != checksum.into() { [INFO] [stderr] | --------------- this method call resolves to `u64` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `u64: std::cmp::PartialEq<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0283, E0412, E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `lz-fear`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a54e6d26d0f4202752a3de5a4586c821c587cfc07ca79a753988912fd9378130"` [INFO] running `"docker" "rm" "-f" "a54e6d26d0f4202752a3de5a4586c821c587cfc07ca79a753988912fd9378130"` [INFO] [stdout] a54e6d26d0f4202752a3de5a4586c821c587cfc07ca79a753988912fd9378130