[INFO] fetching crate oscar-io 0.4.0... [INFO] checking oscar-io-0.4.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate oscar-io 0.4.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate oscar-io 0.4.0 [INFO] finished tweaking crates.io crate oscar-io 0.4.0 [INFO] tweaked toml for crates.io crate oscar-io 0.4.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oscar-io 0.4.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 156 packages to latest compatible versions [INFO] [stderr] Adding schemars v0.8.22 (available: v1.0.3) [INFO] [stderr] Adding warc v0.3.3 (available: v0.4.0) [INFO] [stderr] Adding zstd v0.12.4 (available: v0.13.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oxilangtag v0.1.5 [INFO] [stderr] Downloaded strum v0.18.0 [INFO] [stderr] Downloaded strum_macros v0.18.0 [INFO] [stderr] Downloaded warc v0.3.3 [INFO] [stderr] Downloaded typed-builder v0.5.1 [INFO] [stderr] Downloaded avro-rs v0.13.0 [INFO] [stderr] Downloaded snap v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5146b3f277ed9cc1ad532b026a683c920b4674809a611101e2a0660da3413195 [INFO] running `Command { std: "docker" "start" "-a" "5146b3f277ed9cc1ad532b026a683c920b4674809a611101e2a0660da3413195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5146b3f277ed9cc1ad532b026a683c920b4674809a611101e2a0660da3413195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5146b3f277ed9cc1ad532b026a683c920b4674809a611101e2a0660da3413195", kill_on_drop: false }` [INFO] [stdout] 5146b3f277ed9cc1ad532b026a683c920b4674809a611101e2a0660da3413195 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97c94fe8d17a737b2a97a8b747251c827b2d83bb469ac66fd731f25a07f35ab4 [INFO] running `Command { std: "docker" "start" "-a" "97c94fe8d17a737b2a97a8b747251c827b2d83bb469ac66fd731f25a07f35ab4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking libflate_lz77 v1.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking libflate v1.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling typed-builder v0.5.1 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerocopy v0.3.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking oxilangtag v0.1.5 [INFO] [stderr] Checking warc v0.3.3 [INFO] [stderr] Checking avro-rs v0.13.0 [INFO] [stderr] Checking oscar-io v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/v3/writer/writer.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | use std::{fs::File, io::Write, thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identifier` is never used [INFO] [stdout] --> src/common/identification.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait Identifier + Clone> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/v3/types/document.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn warc_id(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 220 | pub fn warc_id(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identifier` is never used [INFO] [stdout] --> src/common/identification.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait Identifier + Clone> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/v3/types/document.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn warc_id(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 220 | pub fn warc_id(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/v3/writer/docwriter.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | wr.handle.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = wr.handle.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/v3/writer/docwriter.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | dbg!(std::fs::read_to_string(&pathd)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "97c94fe8d17a737b2a97a8b747251c827b2d83bb469ac66fd731f25a07f35ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c94fe8d17a737b2a97a8b747251c827b2d83bb469ac66fd731f25a07f35ab4", kill_on_drop: false }` [INFO] [stdout] 97c94fe8d17a737b2a97a8b747251c827b2d83bb469ac66fd731f25a07f35ab4