[INFO] cloning repository https://github.com/nguyenlkdn/psplash-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nguyenlkdn/psplash-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenlkdn%2Fpsplash-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenlkdn%2Fpsplash-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 894706663fb527ba368c63bc6f92b0434a24aa02 [INFO] checking nguyenlkdn/psplash-rust against try#4949cf2f817beadb9a248d423b6d55d6d2398ffe for pr-142681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenlkdn%2Fpsplash-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nguyenlkdn/psplash-rust [INFO] finished tweaking git repo https://github.com/nguyenlkdn/psplash-rust [INFO] tweaked toml for git repo https://github.com/nguyenlkdn/psplash-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nguyenlkdn/psplash-rust on toolchain 4949cf2f817beadb9a248d423b6d55d6d2398ffe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nguyenlkdn/psplash-rust 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" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5525d2abc2567aa297f6c222d026e549bde9c4abc2fbc6eb1f8e55cba8d8ba59 [INFO] running `Command { std: "docker" "start" "-a" "5525d2abc2567aa297f6c222d026e549bde9c4abc2fbc6eb1f8e55cba8d8ba59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5525d2abc2567aa297f6c222d026e549bde9c4abc2fbc6eb1f8e55cba8d8ba59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5525d2abc2567aa297f6c222d026e549bde9c4abc2fbc6eb1f8e55cba8d8ba59", kill_on_drop: false }` [INFO] [stdout] 5525d2abc2567aa297f6c222d026e549bde9c4abc2fbc6eb1f8e55cba8d8ba59 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdd4c58ab9964afa878c2d0f53da33929f3f58feb25386652c9f35313855cd56 [INFO] running `Command { std: "docker" "start" "-a" "cdd4c58ab9964afa878c2d0f53da33929f3f58feb25386652c9f35313855cd56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling drm-sys v0.4.0 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking drm-ffi v0.5.0 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking drm v0.9.0 [INFO] [stderr] Checking psplash-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Card` in `drm` [INFO] [stdout] --> src/main.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | let mut dev = drm::Card::open_global().unwrap(); [INFO] [stdout] | ^^^^ could not find `Card` in `drm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create` in module `framebuffer` [INFO] [stdout] --> src/main.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | let framebuffer = framebuffer::create( [INFO] [stdout] | ^^^^^^ not found in `framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set` in module `crtc` [INFO] [stdout] --> src/main.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | crtc::set( [INFO] [stdout] | ^^^ not found in `crtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mode` and `ResourceHandle` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use drm::control::{ResourceHandle, crtc, framebuffer, Mode}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `drm::Device as DrmDevice` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use drm::Device as DrmDevice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gif::Frame` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gif::Frame; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Card` in `drm` [INFO] [stdout] --> src/main.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | let mut dev = drm::Card::open_global().unwrap(); [INFO] [stdout] | ^^^^ could not find `Card` in `drm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create` in module `framebuffer` [INFO] [stdout] --> src/main.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | let framebuffer = framebuffer::create( [INFO] [stdout] | ^^^^^^ not found in `framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set` in module `crtc` [INFO] [stdout] --> src/main.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | crtc::set( [INFO] [stdout] | ^^^ not found in `crtc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_info` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | match decoder.read_info() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Result>, DecodingError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mode` and `ResourceHandle` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use drm::control::{ResourceHandle, crtc, framebuffer, Mode}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `drm::Device as DrmDevice` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use drm::Device as DrmDevice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gif::Frame` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gif::Frame; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `IncompleteBuffer` found for enum `DecodingError` in the current scope [INFO] [stdout] --> src/main.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | Err(gif::DecodingError::IncompleteBuffer) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `DecodingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_into_buffer` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | decoder.read_into_buffer(&mut buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Result>, DecodingError>` [INFO] [stdout] | [INFO] [stdout] note: the method `read_into_buffer` exists on the type `Decoder>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gif-0.12.0/src/reader/mod.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn read_into_buffer(&mut self, buf: &mut [u8]) -> Result<(), DecodingError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Decoder>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 48 | decoder.expect("REASON").read_into_buffer(&mut buffer).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let drm_buffer = DrmBuffer::new( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 56 | let drm_buffer = ::new( [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psplash-rust` (bin "psplash-rust") due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `read_info` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | match decoder.read_info() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Result>, DecodingError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `IncompleteBuffer` found for enum `DecodingError` in the current scope [INFO] [stdout] --> src/main.rs:88:37 [INFO] [stdout] | [INFO] [stdout] 88 | Err(gif::DecodingError::IncompleteBuffer) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `DecodingError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_into_buffer` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | decoder.read_into_buffer(&mut buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Result>, DecodingError>` [INFO] [stdout] | [INFO] [stdout] note: the method `read_into_buffer` exists on the type `Decoder>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gif-0.12.0/src/reader/mod.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn read_into_buffer(&mut self, buf: &mut [u8]) -> Result<(), DecodingError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Decoder>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 48 | decoder.expect("REASON").read_into_buffer(&mut buffer).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let drm_buffer = DrmBuffer::new( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 56 | let drm_buffer = ::new( [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psplash-rust` (bin "psplash-rust" test) due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cdd4c58ab9964afa878c2d0f53da33929f3f58feb25386652c9f35313855cd56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd4c58ab9964afa878c2d0f53da33929f3f58feb25386652c9f35313855cd56", kill_on_drop: false }` [INFO] [stdout] cdd4c58ab9964afa878c2d0f53da33929f3f58feb25386652c9f35313855cd56