[INFO] cloning repository https://github.com/valignatev/rust-vulkan-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/valignatev/rust-vulkan-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalignatev%2Frust-vulkan-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalignatev%2Frust-vulkan-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1f8b502c066e8892227a66dbb3cb58962de8516 [INFO] testing valignatev/rust-vulkan-tutorial against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalignatev%2Frust-vulkan-tutorial" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/valignatev/rust-vulkan-tutorial on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/valignatev/rust-vulkan-tutorial [INFO] finished tweaking git repo https://github.com/valignatev/rust-vulkan-tutorial [INFO] tweaked toml for git repo https://github.com/valignatev/rust-vulkan-tutorial written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/valignatev/rust-vulkan-tutorial 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded downcast-rs v1.1.0 [INFO] [stderr] Downloaded core-video-sys v0.1.3 [INFO] [stderr] Downloaded winit v0.20.0-alpha3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc4d4e4478fecbf7daa91992658fa42ac6931c97450d3d52b4b0e67a4f5f9217 [INFO] running `Command { std: "docker" "start" "-a" "cc4d4e4478fecbf7daa91992658fa42ac6931c97450d3d52b4b0e67a4f5f9217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc4d4e4478fecbf7daa91992658fa42ac6931c97450d3d52b4b0e67a4f5f9217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4d4e4478fecbf7daa91992658fa42ac6931c97450d3d52b4b0e67a4f5f9217", kill_on_drop: false }` [INFO] [stdout] cc4d4e4478fecbf7daa91992658fa42ac6931c97450d3d52b4b0e67a4f5f9217 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3acacb86448540d17f07dac56399cdcff02c0bbd5a6354a53bc28e699a90d1a [INFO] running `Command { std: "docker" "start" "-a" "b3acacb86448540d17f07dac56399cdcff02c0bbd5a6354a53bc28e699a90d1a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling downcast-rs v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ash v0.29.0 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.4 [INFO] [stderr] Compiling winit v0.20.0-alpha3 [INFO] [stderr] Compiling vulkan-tutorial-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/main.rs:498:14 [INFO] [stdout] | [INFO] [stdout] 494 | create_info.p_queue_family_indices = vec![ [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 495 | | indices.graphics_family.unwrap(), [INFO] [stdout] 496 | | indices.present_family.unwrap(), [INFO] [stdout] 497 | | ] [INFO] [stdout] | |_____________- this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 498 | .as_ptr(); [INFO] [stdout] | ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.37s [INFO] running `Command { std: "docker" "inspect" "b3acacb86448540d17f07dac56399cdcff02c0bbd5a6354a53bc28e699a90d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3acacb86448540d17f07dac56399cdcff02c0bbd5a6354a53bc28e699a90d1a", kill_on_drop: false }` [INFO] [stdout] b3acacb86448540d17f07dac56399cdcff02c0bbd5a6354a53bc28e699a90d1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06686764fa41f0adfe6c9e39bf11a00e014f926f209482022fab75e7f1ab49bf [INFO] running `Command { std: "docker" "start" "-a" "06686764fa41f0adfe6c9e39bf11a00e014f926f209482022fab75e7f1ab49bf", kill_on_drop: false }` [INFO] [stderr] Compiling vulkan-tutorial-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/main.rs:498:14 [INFO] [stdout] | [INFO] [stdout] 494 | create_info.p_queue_family_indices = vec![ [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 495 | | indices.graphics_family.unwrap(), [INFO] [stdout] 496 | | indices.present_family.unwrap(), [INFO] [stdout] 497 | | ] [INFO] [stdout] | |_____________- this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 498 | .as_ptr(); [INFO] [stdout] | ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "06686764fa41f0adfe6c9e39bf11a00e014f926f209482022fab75e7f1ab49bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06686764fa41f0adfe6c9e39bf11a00e014f926f209482022fab75e7f1ab49bf", kill_on_drop: false }` [INFO] [stdout] 06686764fa41f0adfe6c9e39bf11a00e014f926f209482022fab75e7f1ab49bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fb983748076da56b7086a4bdaa21dd754ae18d9deff65bab01f370fb3373aef4 [INFO] running `Command { std: "docker" "start" "-a" "fb983748076da56b7086a4bdaa21dd754ae18d9deff65bab01f370fb3373aef4", kill_on_drop: false }` [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stderr] --> src/main.rs:498:14 [INFO] [stderr] | [INFO] [stderr] 494 | create_info.p_queue_family_indices = vec![ [INFO] [stderr] | __________________________________________________- [INFO] [stderr] 495 | | indices.graphics_family.unwrap(), [INFO] [stderr] 496 | | indices.present_family.unwrap(), [INFO] [stderr] 497 | | ] [INFO] [stderr] | |_____________- this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] 498 | .as_ptr(); [INFO] [stderr] | ^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see [INFO] [stderr] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `vulkan-tutorial-rs` (bin "vulkan-tutorial-rs" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vulkan_tutorial_rs-8f1f7ac96cf9a65f) [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" "fb983748076da56b7086a4bdaa21dd754ae18d9deff65bab01f370fb3373aef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb983748076da56b7086a4bdaa21dd754ae18d9deff65bab01f370fb3373aef4", kill_on_drop: false }` [INFO] [stdout] fb983748076da56b7086a4bdaa21dd754ae18d9deff65bab01f370fb3373aef4