[INFO] crate dacite-winit 0.7.0 is already in cache [INFO] testing dacite-winit-0.7.0 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate dacite-winit 0.7.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate dacite-winit 0.7.0 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate dacite-winit 0.7.0 [INFO] finished tweaking crates.io crate dacite-winit 0.7.0 [INFO] tweaked toml for crates.io crate dacite-winit 0.7.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stdout] 89145d6c63f2b43fc14d60f3ce94916e0b38985f9457ecc6546513911257e7cf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "89145d6c63f2b43fc14d60f3ce94916e0b38985f9457ecc6546513911257e7cf"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling vks v0.20.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling dacite v0.7.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling wayland-window v0.7.0 [INFO] [stderr] Compiling winit v0.7.6 [INFO] [stderr] Compiling dacite-winit v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:114:106 [INFO] [stderr] | [INFO] [stderr] 114 | fn create_surface(&self, instance: &core::Instance, flags: SurfaceCreateFlags, allocator: Option>) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn core::Allocator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:143:102 [INFO] [stderr] | [INFO] [stderr] 143 | fn create_surface(&self, instance: &core::Instance, _: SurfaceCreateFlags, allocator: Option>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn core::Allocator` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:206:44 [INFO] [stderr] | [INFO] [stderr] 206 | Error::VulkanError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `"docker" "inspect" "89145d6c63f2b43fc14d60f3ce94916e0b38985f9457ecc6546513911257e7cf"` [INFO] running `"docker" "rm" "-f" "89145d6c63f2b43fc14d60f3ce94916e0b38985f9457ecc6546513911257e7cf"` [INFO] [stdout] 89145d6c63f2b43fc14d60f3ce94916e0b38985f9457ecc6546513911257e7cf [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d1eefbb25234c60a1b422f700d88a73bbcb7849423e01c81708a6a60753fa9c3 [INFO] running `"docker" "start" "-a" "d1eefbb25234c60a1b422f700d88a73bbcb7849423e01c81708a6a60753fa9c3"` [INFO] [stderr] Compiling dacite-winit v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:114:106 [INFO] [stderr] | [INFO] [stderr] 114 | fn create_surface(&self, instance: &core::Instance, flags: SurfaceCreateFlags, allocator: Option>) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn core::Allocator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:143:102 [INFO] [stderr] | [INFO] [stderr] 143 | fn create_surface(&self, instance: &core::Instance, _: SurfaceCreateFlags, allocator: Option>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn core::Allocator` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:206:44 [INFO] [stderr] | [INFO] [stderr] 206 | Error::VulkanError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:114:106 [INFO] [stderr] | [INFO] [stderr] 114 | fn create_surface(&self, instance: &core::Instance, flags: SurfaceCreateFlags, allocator: Option>) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn core::Allocator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:143:102 [INFO] [stderr] | [INFO] [stderr] 143 | fn create_surface(&self, instance: &core::Instance, _: SurfaceCreateFlags, allocator: Option>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn core::Allocator` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:206:44 [INFO] [stderr] | [INFO] [stderr] 206 | Error::VulkanError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `"docker" "inspect" "d1eefbb25234c60a1b422f700d88a73bbcb7849423e01c81708a6a60753fa9c3"` [INFO] running `"docker" "rm" "-f" "d1eefbb25234c60a1b422f700d88a73bbcb7849423e01c81708a6a60753fa9c3"` [INFO] [stdout] d1eefbb25234c60a1b422f700d88a73bbcb7849423e01c81708a6a60753fa9c3 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stdout] a26227f08b50018b2da74d94bdbcb8928d2fcf59380fc0432e6e5b34a767c558 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "a26227f08b50018b2da74d94bdbcb8928d2fcf59380fc0432e6e5b34a767c558"` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:114:106 [INFO] [stderr] | [INFO] [stderr] 114 | fn create_surface(&self, instance: &core::Instance, flags: SurfaceCreateFlags, allocator: Option>) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn core::Allocator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:143:102 [INFO] [stderr] | [INFO] [stderr] 143 | fn create_surface(&self, instance: &core::Instance, _: SurfaceCreateFlags, allocator: Option>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn core::Allocator` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:206:44 [INFO] [stderr] | [INFO] [stderr] 206 | Error::VulkanError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:114:106 [INFO] [stderr] | [INFO] [stderr] 114 | fn create_surface(&self, instance: &core::Instance, flags: SurfaceCreateFlags, allocator: Option>) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn core::Allocator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:143:102 [INFO] [stderr] | [INFO] [stderr] 143 | fn create_surface(&self, instance: &core::Instance, _: SurfaceCreateFlags, allocator: Option>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn core::Allocator` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:206:44 [INFO] [stderr] | [INFO] [stderr] 206 | Error::VulkanError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/dacite_winit-891549474b7ad151 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests dacite-winit [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 24) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error[E0658]: `let` expressions in this position are experimental [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 41 | / let surface = window.create_surface(&instance, [INFO] [stdout] 42 | | dacite_winit::SurfaceCreateFlags::empty(), [INFO] [stdout] 43 | | None).unwrap(); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #53667 for more information [INFO] [stdout] = help: add `#![feature(let_chains)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error: `let` expressions are not supported here [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 41 | / let surface = window.create_surface(&instance, [INFO] [stdout] 42 | | dacite_winit::SurfaceCreateFlags::empty(), [INFO] [stdout] 43 | | None).unwrap(); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if`- and `while`-expressions [INFO] [stdout] = note: as well as when nested within `&&` and parenthesis in those conditions [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/lib.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 15 | let required_extensions = match window.get_required_extensions() { [INFO] [stdout] | ___________________________- [INFO] [stdout] 16 | | Ok(required_extensions) => required_extensions, [INFO] [stdout] | | ------------------- this is found to be of type `dacite::core::InstanceExtensionsProperties` [INFO] [stdout] 17 | | Err(error) => { [INFO] [stdout] | |___________________^ [INFO] [stdout] 18 | || // This error can mean either, that the windowing system is not supported, or that [INFO] [stdout] 19 | || // a Vulkan error occurred. [INFO] [stdout] 20 | || [INFO] [stdout] 21 | || // Other functions from the `WindowExt` trait can also return errors, which should be [INFO] [stdout] 22 | || // handled appropriately. [INFO] [stdout] 23 | || } [INFO] [stdout] | ||_____^ expected struct `dacite::core::InstanceExtensionsProperties`, found `()` [INFO] [stdout] 24 | | }; [INFO] [stdout] | |_- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `application_info`, `chain`, `enabled_layers` and 1 other field in initializer of `dacite::core::InstanceCreateInfo` [INFO] [stdout] --> src/lib.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 27 | let create_info = dacite::core::InstanceCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `application_info`, `chain`, `enabled_layers` and 1 other field [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "a26227f08b50018b2da74d94bdbcb8928d2fcf59380fc0432e6e5b34a767c558"` [INFO] running `"docker" "rm" "-f" "a26227f08b50018b2da74d94bdbcb8928d2fcf59380fc0432e6e5b34a767c558"` [INFO] [stdout] a26227f08b50018b2da74d94bdbcb8928d2fcf59380fc0432e6e5b34a767c558