[INFO] fetching crate x-media 0.1.3... [INFO] checking x-media-0.1.3 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate x-media 0.1.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate x-media 0.1.3 [INFO] finished tweaking crates.io crate x-media 0.1.3 [INFO] tweaked toml for crates.io crate x-media 0.1.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate x-media 0.1.3 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a145aa4e70df8c41e3b9dc3ee8f97218628a8fa9d492743f56c0fe8c3576ab3 [INFO] running `Command { std: "docker" "start" "-a" "2a145aa4e70df8c41e3b9dc3ee8f97218628a8fa9d492743f56c0fe8c3576ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a145aa4e70df8c41e3b9dc3ee8f97218628a8fa9d492743f56c0fe8c3576ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a145aa4e70df8c41e3b9dc3ee8f97218628a8fa9d492743f56c0fe8c3576ab3", kill_on_drop: false }` [INFO] [stdout] 2a145aa4e70df8c41e3b9dc3ee8f97218628a8fa9d492743f56c0fe8c3576ab3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bd67eff2833a275270d94b7f810fc20f75f93b6c239abdc8c7bdbcf2ee34e93 [INFO] running `Command { std: "docker" "start" "-a" "3bd67eff2833a275270d94b7f810fc20f75f93b6c239abdc8c7bdbcf2ee34e93", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking os-ver v0.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking x-variant v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking x-base v0.1.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking x-media v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `JEDEC_P22` should have an upper camel case name [INFO] [stdout] --> src/video.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | JEDEC_P22 = 22, // JEDEC P22 phosphors [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JedecP22` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JEDEC_P22` should have an upper camel case name [INFO] [stdout] --> src/video.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | JEDEC_P22 = 22, // JEDEC P22 phosphors [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JedecP22` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PlaneInformation` is more private than the item `AudioFormat::data_calc` [INFO] [stdout] --> src/audio.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn data_calc(&self, channels: u8, samples: u32) -> (u32, MemoryPlanes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `AudioFormat::data_calc` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PlaneInformation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/media_frame.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | pub(super) enum PlaneInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PlaneInformation` is more private than the item `PixelFormat::calc_data` [INFO] [stdout] --> src/video.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | pub fn calc_data(&self, width: u32, height: u32, alignment: u32) -> (u32, MemoryPlanes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PixelFormat::calc_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PlaneInformation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/media_frame.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | pub(super) enum PlaneInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PlaneInformation` is more private than the item `PixelFormat::calc_data_with_stride` [INFO] [stdout] --> src/video.rs:806:5 [INFO] [stdout] | [INFO] [stdout] 806 | pub fn calc_data_with_stride(&self, height: u32, stride: u32) -> (u32, MemoryPlanes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PixelFormat::calc_data_with_stride` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PlaneInformation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/media_frame.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | pub(super) enum PlaneInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/media_frame.rs:424:16 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn map(&self) -> Result { [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] 424 | pub fn map(&self) -> Result, MediaError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/media_frame.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stdout] | ^^^^^ ------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/media_frame.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stdout] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PlaneInformation` is more private than the item `AudioFormat::data_calc` [INFO] [stdout] --> src/audio.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn data_calc(&self, channels: u8, samples: u32) -> (u32, MemoryPlanes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `AudioFormat::data_calc` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PlaneInformation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/media_frame.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | pub(super) enum PlaneInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PlaneInformation` is more private than the item `PixelFormat::calc_data` [INFO] [stdout] --> src/video.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | pub fn calc_data(&self, width: u32, height: u32, alignment: u32) -> (u32, MemoryPlanes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PixelFormat::calc_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PlaneInformation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/media_frame.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | pub(super) enum PlaneInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PlaneInformation` is more private than the item `PixelFormat::calc_data_with_stride` [INFO] [stdout] --> src/video.rs:806:5 [INFO] [stdout] | [INFO] [stdout] 806 | pub fn calc_data_with_stride(&self, height: u32, stride: u32) -> (u32, MemoryPlanes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PixelFormat::calc_data_with_stride` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PlaneInformation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/media_frame.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 169 | pub(super) enum PlaneInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/media_frame.rs:424:16 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn map(&self) -> Result { [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] 424 | pub fn map(&self) -> Result, MediaError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/media_frame.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stdout] | ^^^^^ ------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/media_frame.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stdout] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.12s [INFO] running `Command { std: "docker" "inspect" "3bd67eff2833a275270d94b7f810fc20f75f93b6c239abdc8c7bdbcf2ee34e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd67eff2833a275270d94b7f810fc20f75f93b6c239abdc8c7bdbcf2ee34e93", kill_on_drop: false }` [INFO] [stdout] 3bd67eff2833a275270d94b7f810fc20f75f93b6c239abdc8c7bdbcf2ee34e93