[INFO] fetching crate x-media 0.1.3... [INFO] testing x-media-0.1.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate x-media 0.1.3 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate x-media 0.1.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebd0bf6d4fea718f6b885ee408c7a191a8067670137e9c6efc95282769e5d33d [INFO] running `Command { std: "docker" "start" "-a" "ebd0bf6d4fea718f6b885ee408c7a191a8067670137e9c6efc95282769e5d33d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebd0bf6d4fea718f6b885ee408c7a191a8067670137e9c6efc95282769e5d33d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd0bf6d4fea718f6b885ee408c7a191a8067670137e9c6efc95282769e5d33d", kill_on_drop: false }` [INFO] [stdout] ebd0bf6d4fea718f6b885ee408c7a191a8067670137e9c6efc95282769e5d33d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4675e39ce9cdff1de3cd064e2d7362bc229d6769d3ce2fcd398d3e70e9f24e82 [INFO] running `Command { std: "docker" "start" "-a" "4675e39ce9cdff1de3cd064e2d7362bc229d6769d3ce2fcd398d3e70e9f24e82", kill_on_drop: false }` [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling os-ver v0.2.1 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling x-variant v0.1.2 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling x-base v0.1.1 [INFO] [stderr] Compiling 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: 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_frame.rs:424:16 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn map(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 424 | pub fn map(&self) -> Result, MediaError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_frame.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stdout] | ^^^^^ ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_frame.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stdout] | ^^^^^ ------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 9.59s [INFO] running `Command { std: "docker" "inspect" "4675e39ce9cdff1de3cd064e2d7362bc229d6769d3ce2fcd398d3e70e9f24e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4675e39ce9cdff1de3cd064e2d7362bc229d6769d3ce2fcd398d3e70e9f24e82", kill_on_drop: false }` [INFO] [stdout] 4675e39ce9cdff1de3cd064e2d7362bc229d6769d3ce2fcd398d3e70e9f24e82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2610e8488c30821f5b0effa3e3ba0c33716aec1bea55d29063822b695a8fdac4 [INFO] running `Command { std: "docker" "start" "-a" "2610e8488c30821f5b0effa3e3ba0c33716aec1bea55d29063822b695a8fdac4", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_frame.rs:424:16 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn map(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 424 | pub fn map(&self) -> Result, MediaError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_frame.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stdout] | ^^^^^ ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_frame.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stdout] | ^^^^^ ------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stdout] | +++ [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_frame.rs:424:16 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn map(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 424 | pub fn map(&self) -> Result, MediaError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_frame.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stdout] | ^^^^^ ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_frame.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stdout] | ^^^^^ ------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "2610e8488c30821f5b0effa3e3ba0c33716aec1bea55d29063822b695a8fdac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2610e8488c30821f5b0effa3e3ba0c33716aec1bea55d29063822b695a8fdac4", kill_on_drop: false }` [INFO] [stdout] 2610e8488c30821f5b0effa3e3ba0c33716aec1bea55d29063822b695a8fdac4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45e8bd65e3e57c82414d9139c1b0938d136272e6a081b6f01784382b3645331f [INFO] running `Command { std: "docker" "start" "-a" "45e8bd65e3e57c82414d9139c1b0938d136272e6a081b6f01784382b3645331f", kill_on_drop: false }` [INFO] [stderr] warning: variant `JEDEC_P22` should have an upper camel case name [INFO] [stderr] --> src/video.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | JEDEC_P22 = 22, // JEDEC P22 phosphors [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JedecP22` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `PlaneInformation` is more private than the item `AudioFormat::data_calc` [INFO] [stderr] --> src/audio.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn data_calc(&self, channels: u8, samples: u32) -> (u32, MemoryPlanes) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `AudioFormat::data_calc` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `PlaneInformation` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/media_frame.rs:169:1 [INFO] [stderr] | [INFO] [stderr] 169 | pub(super) enum PlaneInformation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `PlaneInformation` is more private than the item `PixelFormat::calc_data` [INFO] [stderr] --> src/video.rs:769:5 [INFO] [stderr] | [INFO] [stderr] 769 | pub fn calc_data(&self, width: u32, height: u32, alignment: u32) -> (u32, MemoryPlanes) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PixelFormat::calc_data` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `PlaneInformation` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/media_frame.rs:169:1 [INFO] [stderr] | [INFO] [stderr] 169 | pub(super) enum PlaneInformation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `PlaneInformation` is more private than the item `PixelFormat::calc_data_with_stride` [INFO] [stderr] --> src/video.rs:806:5 [INFO] [stderr] | [INFO] [stderr] 806 | pub fn calc_data_with_stride(&self, height: u32, stride: u32) -> (u32, MemoryPlanes) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PixelFormat::calc_data_with_stride` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `PlaneInformation` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/media_frame.rs:169:1 [INFO] [stderr] | [INFO] [stderr] 169 | pub(super) enum PlaneInformation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/media_frame.rs:424:16 [INFO] [stderr] | [INFO] [stderr] 424 | pub fn map(&self) -> Result { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 424 | pub fn map(&self) -> Result, MediaError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/media_frame.rs:447:17 [INFO] [stderr] | [INFO] [stderr] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stderr] | ^^^^^ ------------------------------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 447 | pub fn read(&self) -> LockResult>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/media_frame.rs:451:18 [INFO] [stderr] | [INFO] [stderr] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stderr] | ^^^^^ ------------------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 451 | pub fn write(&self) -> LockResult>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `x-media` (lib) generated 7 warnings (run `cargo fix --lib -p x-media` to apply 3 suggestions) [INFO] [stderr] warning: `x-media` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/x_media-71ffffd32de76f37) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests x_media [INFO] [stderr] warning: variant `JEDEC_P22` should have an upper camel case name [INFO] [stderr] --> src/video.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | JEDEC_P22 = 22, // JEDEC P22 phosphors [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JedecP22` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45e8bd65e3e57c82414d9139c1b0938d136272e6a081b6f01784382b3645331f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e8bd65e3e57c82414d9139c1b0938d136272e6a081b6f01784382b3645331f", kill_on_drop: false }` [INFO] [stdout] 45e8bd65e3e57c82414d9139c1b0938d136272e6a081b6f01784382b3645331f