[INFO] fetching crate lzfse_rust 0.2.0... [INFO] checking lzfse_rust-0.2.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate lzfse_rust 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate lzfse_rust 0.2.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lzfse_rust 0.2.0 [INFO] finished tweaking crates.io crate lzfse_rust 0.2.0 [INFO] tweaked toml for crates.io crate lzfse_rust 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate lzfse_rust 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-sync v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ccc4becb40b0f36dde260f31991957363f01cd525f84ee6cf9cb03094870fcf [INFO] running `Command { std: "docker" "start" "-a" "7ccc4becb40b0f36dde260f31991957363f01cd525f84ee6cf9cb03094870fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ccc4becb40b0f36dde260f31991957363f01cd525f84ee6cf9cb03094870fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ccc4becb40b0f36dde260f31991957363f01cd525f84ee6cf9cb03094870fcf", kill_on_drop: false }` [INFO] [stdout] 7ccc4becb40b0f36dde260f31991957363f01cd525f84ee6cf9cb03094870fcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48c53e4f4fe4d3dc73414e9a2ed1a5a359f09a37a78bc4a5fbba874c1e161a0e [INFO] running `Command { std: "docker" "start" "-a" "48c53e4f4fe4d3dc73414e9a2ed1a5a359f09a37a78bc4a5fbba874c1e161a0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking unicode-ident v1.0.6 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking lzfse_rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/base/magic_bytes.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{From, TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `probe::probe` [INFO] [stdout] --> src/decode/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use probe::probe; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reader_core::ReaderCore` [INFO] [stdout] --> src/decode/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use reader_core::ReaderCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/fse/buffer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/fse/decoder.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/fse/encoder.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decoder::Decoder` [INFO] [stdout] --> src/fse/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use decoder::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LmdMax` is imported redundantly [INFO] [stdout] --> src/lmd/lmd_non_pack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::lmd_type::LmdMax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::lmd_type::*; [INFO] [stdout] | ------------------ the item `LmdMax` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LmdMax` is imported redundantly [INFO] [stdout] --> src/lmd/lmd_pack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::lmd_type::LmdMax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::lmd_type::*; [INFO] [stdout] | ------------------ the item `LmdMax` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lmd_non_pack::Lmd` [INFO] [stdout] --> src/lmd/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use lmd_non_pack::Lmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raw_decompress` [INFO] [stdout] --> src/raw/mod.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub use ops::{raw_compress, raw_decompress, raw_probe}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring_view::RingView` [INFO] [stdout] --> src/ring/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use ring_view::RingView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::VnBlock` [INFO] [stdout] --> src/vn/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use block::VnBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vn_decompress` [INFO] [stdout] --> src/vn/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub use ops::{vn_decompress, vn_probe}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stdout] warning: method `push_bytes` is never used [INFO] [stdout] --> src/bits/bit_dst.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait BitDst: Allocate + Pos { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 11 | fn push_bytes(&mut self, bytes: usize, n_bytes: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_full` is never used [INFO] [stdout] --> src/types/byte_reader.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait ByteReader<'a>: Len + PeekData + Skip { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn is_full(&self) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking toml v0.5.10 [INFO] [stderr] Checking version-sync v0.9.4 [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/bits/bit_reader.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use test_kit::Fibonacci; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/bits/bit_writer.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use test_kit::Fibonacci; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/encode/frontend_bytes.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | use test_kit::Rng; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/encode/frontend_ring.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | use test_kit::Rng; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/fse/buffer.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | use test_kit::{Rng, Seq}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/fse/literals.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | use test_kit::{Rng, Seq}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/fse/lmds.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | use test_kit::Rng; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/fse/weights.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | use test_kit::Rng; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/fse/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use test_kit::{Rng, Seq}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/fse/test_fse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_kit::{Rng, Seq}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/lz/writer.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | use test_kit::{Rng, Seq}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/raw/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_kit::Seq; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/ring/ring_lz_writer.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | use test_kit::{Cycle, Rng, Seq, Zeros}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/ring/ring_reader.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | use test_kit::Seq; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/ring/ring_short_writer.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | use test_kit::Seq; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_kit` [INFO] [stdout] --> src/vn/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use test_kit::{Rng, Seq}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/base/magic_bytes.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{From, TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `probe::probe` [INFO] [stdout] --> src/decode/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use probe::probe; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reader_core::ReaderCore` [INFO] [stdout] --> src/decode/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use reader_core::ReaderCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/encode/frontend_ring.rs:702:9 [INFO] [stdout] | [INFO] [stdout] 699 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] ... [INFO] [stdout] 702 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Q2` is imported redundantly [INFO] [stdout] --> src/encode/history.rs:228:40 [INFO] [stdout] | [INFO] [stdout] 228 | use crate::encode::constants::{Q0, Q2}; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 231 | use super::*; [INFO] [stdout] | -------- the item `Q2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/fse/buffer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Fse` is imported redundantly [INFO] [stdout] --> src/fse/buffer.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | use crate::fse::Fse; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | -------- the item `Fse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LmdPack` is imported redundantly [INFO] [stdout] --> src/fse/buffer.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | use crate::lmd::{LmdPack, MatchDistance, MatchDistanceUnpack, MatchLen}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | -------- the item `LmdPack` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MatchDistance` is imported redundantly [INFO] [stdout] --> src/fse/buffer.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | use crate::lmd::{LmdPack, MatchDistance, MatchDistanceUnpack, MatchLen}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | use super::*; [INFO] [stdout] | -------- the item `MatchDistance` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/fse/decoder.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/fse/encoder.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decoder::Decoder` [INFO] [stdout] --> src/fse/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use decoder::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LmdMax` is imported redundantly [INFO] [stdout] --> src/lmd/lmd_non_pack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::lmd_type::LmdMax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::lmd_type::*; [INFO] [stdout] | ------------------ the item `LmdMax` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LmdMax` is imported redundantly [INFO] [stdout] --> src/lmd/lmd_pack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::lmd_type::LmdMax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::lmd_type::*; [INFO] [stdout] | ------------------ the item `LmdMax` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raw_decompress` [INFO] [stdout] --> src/raw/mod.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub use ops::{raw_compress, raw_decompress, raw_probe}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WIDE` is imported redundantly [INFO] [stdout] --> src/ring/ring_lz_writer.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | use crate::kit::{Wide, WIDE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `WIDE` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LzWriter` is imported redundantly [INFO] [stdout] --> src/ring/ring_lz_writer.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | use crate::lz::LzWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `LzWriter` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RingType` is imported redundantly [INFO] [stdout] --> src/ring/ring_lz_writer.rs:209:42 [INFO] [stdout] | [INFO] [stdout] 209 | use crate::ring::{RingBox, RingSize, RingType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `RingType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RingBlock` is imported redundantly [INFO] [stdout] --> src/ring/ring_reader.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | use crate::ring::{RingBlock, RingBox, RingSize, RingType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | use super::*; [INFO] [stdout] | -------- the item `RingBlock` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RingSize` is imported redundantly [INFO] [stdout] --> src/ring/ring_reader.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | use crate::ring::{RingBlock, RingBox, RingSize, RingType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | use super::*; [INFO] [stdout] | -------- the item `RingSize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RingBlock` is imported redundantly [INFO] [stdout] --> src/ring/ring_short_writer.rs:194:23 [INFO] [stdout] | [INFO] [stdout] 194 | use crate::ring::{RingBlock, RingBox, RingSize, RingType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 195 | [INFO] [stdout] 196 | use super::*; [INFO] [stdout] | -------- the item `RingBlock` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RingType` is imported redundantly [INFO] [stdout] --> src/ring/ring_short_writer.rs:194:53 [INFO] [stdout] | [INFO] [stdout] 194 | use crate::ring::{RingBlock, RingBox, RingSize, RingType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 195 | [INFO] [stdout] 196 | use super::*; [INFO] [stdout] | -------- the item `RingType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/ring/ring_short_writer.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 196 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] 197 | [INFO] [stdout] 198 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/ring/ring_short_writer.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring_view::RingView` [INFO] [stdout] --> src/ring/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use ring_view::RingView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::VnBlock` [INFO] [stdout] --> src/vn/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use block::VnBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vn_decompress` [INFO] [stdout] --> src/vn/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub use ops::{vn_decompress, vn_probe}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_kit` [INFO] [stdout] --> src/match_kit/match_fast.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | test_kit::build_match_inc(&mut buf, index, match_index, match_len); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_kit` [INFO] [stdout] --> src/match_kit/match_fast.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | test_kit::build_match_inc(&mut buf, index, match_index, match_len); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_kit` [INFO] [stdout] --> src/match_kit/match_fast.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | test_kit::build_match_dec(&mut buf, index, match_index, match_len); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_kit` [INFO] [stdout] --> src/match_kit/match_fast.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | test_kit::build_match_dec(&mut buf, index, match_index, match_len); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_kit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::ShortBuffer` [INFO] [stdout] --> src/ring/ring_reader.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | use crate::types::ShortBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lzfse_rust` (lib test) due to 21 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48c53e4f4fe4d3dc73414e9a2ed1a5a359f09a37a78bc4a5fbba874c1e161a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c53e4f4fe4d3dc73414e9a2ed1a5a359f09a37a78bc4a5fbba874c1e161a0e", kill_on_drop: false }` [INFO] [stdout] 48c53e4f4fe4d3dc73414e9a2ed1a5a359f09a37a78bc4a5fbba874c1e161a0e [INFO] checking lzfse_rust-0.2.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate lzfse_rust 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate lzfse_rust 0.2.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lzfse_rust 0.2.0 [INFO] finished tweaking crates.io crate lzfse_rust 0.2.0 [INFO] tweaked toml for crates.io crate lzfse_rust 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate lzfse_rust 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35c4ab850845141cdfc96a3a1367b4a447dbca28277d05d16543d89ac31f9bf9 [INFO] running `Command { std: "docker" "start" "-a" "35c4ab850845141cdfc96a3a1367b4a447dbca28277d05d16543d89ac31f9bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35c4ab850845141cdfc96a3a1367b4a447dbca28277d05d16543d89ac31f9bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c4ab850845141cdfc96a3a1367b4a447dbca28277d05d16543d89ac31f9bf9", kill_on_drop: false }` [INFO] [stdout] 35c4ab850845141cdfc96a3a1367b4a447dbca28277d05d16543d89ac31f9bf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4f36f5bccb15c4e7979b311083eddb013ce58601b92137d4cc82b670cd082f9 [INFO] running `Command { std: "docker" "start" "-a" "b4f36f5bccb15c4e7979b311083eddb013ce58601b92137d4cc82b670cd082f9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "b4f36f5bccb15c4e7979b311083eddb013ce58601b92137d4cc82b670cd082f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f36f5bccb15c4e7979b311083eddb013ce58601b92137d4cc82b670cd082f9", kill_on_drop: false }` [INFO] [stdout] b4f36f5bccb15c4e7979b311083eddb013ce58601b92137d4cc82b670cd082f9