[INFO] updating cached repository https://github.com/vitorhnn/vke [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 469e582a37d2072cf28f8534af6b778320edf23b [INFO] testing vitorhnn/vke against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitorhnn%2Fvke" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitorhnn/vke on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vitorhnn/vke [INFO] finished tweaking git repo https://github.com/vitorhnn/vke [INFO] tweaked toml for git repo https://github.com/vitorhnn/vke written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/vitorhnn/vke already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b089959ff71be01dab45237b252d664dda7337e958cbbe87d45d1d2293b57cb3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b089959ff71be01dab45237b252d664dda7337e958cbbe87d45d1d2293b57cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b089959ff71be01dab45237b252d664dda7337e958cbbe87d45d1d2293b57cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b089959ff71be01dab45237b252d664dda7337e958cbbe87d45d1d2293b57cb3", kill_on_drop: false }` [INFO] [stdout] b089959ff71be01dab45237b252d664dda7337e958cbbe87d45d1d2293b57cb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 922bd9cfade3220cc45eb81d8cc98d8b7c7f1bbab21703b0c9ce1a465633b9d0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "922bd9cfade3220cc45eb81d8cc98d8b7c7f1bbab21703b0c9ce1a465633b9d0", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling hashbrown v0.7.1 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling png v0.16.4 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.3.2 [INFO] [stderr] Compiling ash v0.30.0 [INFO] [stderr] Compiling tynm v0.1.4 [INFO] [stderr] Compiling shred-derive v0.6.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling vke v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../vert.spv: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:805:22 [INFO] [stdout] | [INFO] [stdout] 805 | let raw_vs = include_bytes!("../vert.spv"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../frag.spv: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:806:22 [INFO] [stdout] | [INFO] [stdout] 806 | let raw_fs = include_bytes!("../frag.spv"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 3 [INFO] [stdout] --> src/main.rs:1013:52 [INFO] [stdout] | [INFO] [stdout] 1013 | .try_find::<_, Box, _>(|(index, queue_properties)| { [INFO] [stdout] | ^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::boxed::Box: std::ops::Try` is not satisfied [INFO] [stdout] --> src/main.rs:1013:22 [INFO] [stdout] | [INFO] [stdout] 1013 | .try_find::<_, Box, _>(|(index, queue_properties)| { [INFO] [stdout] | ^^^^^^^^ the trait `std::ops::Try` is not implemented for `std::boxed::Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/main.rs:1018:33 [INFO] [stdout] | [INFO] [stdout] 1013 | .try_find::<_, Box, _>(|(index, queue_properties)| { [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 1014 | | Ok(queue_properties [INFO] [stdout] 1015 | | .queue_flags [INFO] [stdout] 1016 | | .contains(vk::QueueFlags::GRAPHICS) [INFO] [stdout] 1017 | | && unsafe { [INFO] [stdout] 1018 | /| surface.loader.get_physical_device_surface_support( [INFO] [stdout] 1019 | || device, [INFO] [stdout] 1020 | || *index as u32, [INFO] [stdout] 1021 | || surface.surface, [INFO] [stdout] 1022 | || )? [INFO] [stdout] | ||__________________________________^ cannot use the `?` operator in a closure that returns `std::boxed::Box` [INFO] [stdout] 1023 | | }) [INFO] [stdout] 1024 | | })? [INFO] [stdout] | |_____________________- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `std::boxed::Box` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:1014:25 [INFO] [stdout] | [INFO] [stdout] 1014 | / Ok(queue_properties [INFO] [stdout] 1015 | | .queue_flags [INFO] [stdout] 1016 | | .contains(vk::QueueFlags::GRAPHICS) [INFO] [stdout] 1017 | | && unsafe { [INFO] [stdout] ... | [INFO] [stdout] 1022 | | )? [INFO] [stdout] 1023 | | }) [INFO] [stdout] | |______________________________^ expected struct `std::boxed::Box`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::boxed::Box` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] help: store this in the heap by calling `Box::new` [INFO] [stdout] | [INFO] [stdout] 1014 | Box::new(Ok(queue_properties [INFO] [stdout] 1015 | .queue_flags [INFO] [stdout] 1016 | .contains(vk::QueueFlags::GRAPHICS) [INFO] [stdout] 1017 | && unsafe { [INFO] [stdout] 1018 | surface.loader.get_physical_device_surface_support( [INFO] [stdout] 1019 | device, [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vke`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "922bd9cfade3220cc45eb81d8cc98d8b7c7f1bbab21703b0c9ce1a465633b9d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "922bd9cfade3220cc45eb81d8cc98d8b7c7f1bbab21703b0c9ce1a465633b9d0", kill_on_drop: false }` [INFO] [stdout] 922bd9cfade3220cc45eb81d8cc98d8b7c7f1bbab21703b0c9ce1a465633b9d0