[INFO] fetching crate vga-emu 0.7.9... [INFO] testing vga-emu-0.7.9 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate vga-emu 0.7.9 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate vga-emu 0.7.9 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate vga-emu 0.7.9 [INFO] tweaked toml for crates.io crate vga-emu 0.7.9 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vga-emu 0.7.9 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vga-emu 0.7.9 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.68 [INFO] [stderr] Downloaded miniz_oxide v0.8.2 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded sdl2-sys v0.38.0 [INFO] [stderr] Downloaded sdl2 v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfbf9ff91c35759da19f8e706c0380b1cf7dcaa151591dc933f60431af5dd9e7 [INFO] running `Command { std: "docker" "start" "-a" "cfbf9ff91c35759da19f8e706c0380b1cf7dcaa151591dc933f60431af5dd9e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfbf9ff91c35759da19f8e706c0380b1cf7dcaa151591dc933f60431af5dd9e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfbf9ff91c35759da19f8e706c0380b1cf7dcaa151591dc933f60431af5dd9e7", kill_on_drop: false }` [INFO] [stdout] cfbf9ff91c35759da19f8e706c0380b1cf7dcaa151591dc933f60431af5dd9e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e66d3b112eb7c7c12f5e06db470bbd8dd917ce82968d37f5adbb613fad543ed [INFO] running `Command { std: "docker" "start" "-a" "8e66d3b112eb7c7c12f5e06db470bbd8dd917ce82968d37f5adbb613fad543ed", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling vga-emu v0.7.9 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `rt` in this scope [INFO] [stdout] --> src/util.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | Ok(rt) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VGAHandle` in this scope [INFO] [stdout] --> src/lib.rs:155:79 [INFO] [stdout] | [INFO] [stdout] 155 | fn setup_backend(width: usize, height: usize, builder: &VGABuilder) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sdl")] [INFO] [stdout] | --------------- the item is gated behind the `sdl` feature [INFO] [stdout] 10 | pub use backend_sdl::VGAHandle; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "web")] [INFO] [stdout] | --------------- the item is gated behind the `web` feature [INFO] [stdout] 12 | pub use backend_web::VGAHandle; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 155 | fn setup_backend(width: usize, height: usize, builder: &VGABuilder) -> Result { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VGAHandle` in this scope [INFO] [stdout] --> src/lib.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn build(&self) -> Result<(VGA, VGAHandle), String> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sdl")] [INFO] [stdout] | --------------- the item is gated behind the `sdl` feature [INFO] [stdout] 10 | pub use backend_sdl::VGAHandle; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "web")] [INFO] [stdout] | --------------- the item is gated behind the `web` feature [INFO] [stdout] 12 | pub use backend_web::VGAHandle; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 213 | impl VGABuilder { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VGAHandle` in this scope [INFO] [stdout] --> src/lib.rs:282:52 [INFO] [stdout] | [INFO] [stdout] 282 | fn setup(builder: &VGABuilder) -> Result<(VGA, VGAHandle), String> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sdl")] [INFO] [stdout] | --------------- the item is gated behind the `sdl` feature [INFO] [stdout] 10 | pub use backend_sdl::VGAHandle; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "web")] [INFO] [stdout] | --------------- the item is gated behind the `web` feature [INFO] [stdout] 12 | pub use backend_web::VGAHandle; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 242 | impl VGA { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VGAHandle` in this scope [INFO] [stdout] --> src/lib.rs:292:46 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn start(self: Arc, handle: Arc, options: Options) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "sdl")] [INFO] [stdout] | --------------- the item is gated behind the `sdl` feature [INFO] [stdout] 10 | pub use backend_sdl::VGAHandle; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "web")] [INFO] [stdout] | --------------- the item is gated behind the `web` feature [INFO] [stdout] 12 | pub use backend_web::VGAHandle; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 242 | impl VGA { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/util.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::runtime::{self, Runtime}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:292:79 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn start(self: Arc, handle: Arc, options: Options) -> Result<(), String> { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ expected `Result<(), String>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), String>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vga-emu` (lib) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8e66d3b112eb7c7c12f5e06db470bbd8dd917ce82968d37f5adbb613fad543ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e66d3b112eb7c7c12f5e06db470bbd8dd917ce82968d37f5adbb613fad543ed", kill_on_drop: false }` [INFO] [stdout] 8e66d3b112eb7c7c12f5e06db470bbd8dd917ce82968d37f5adbb613fad543ed