[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 try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalignatev%2Frust-vulkan-tutorial" "/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/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/valignatev/rust-vulkan-tutorial on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9232d2863fee0fe607bf2dc5a6bd73207529a0c1727f6f9523fe0d276436a68 [INFO] running `Command { std: "docker" "start" "-a" "e9232d2863fee0fe607bf2dc5a6bd73207529a0c1727f6f9523fe0d276436a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9232d2863fee0fe607bf2dc5a6bd73207529a0c1727f6f9523fe0d276436a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9232d2863fee0fe607bf2dc5a6bd73207529a0c1727f6f9523fe0d276436a68", kill_on_drop: false }` [INFO] [stdout] e9232d2863fee0fe607bf2dc5a6bd73207529a0c1727f6f9523fe0d276436a68 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3280103bb8b7577551f895838cc5b4f415a75bb8512d3dababfa1e313838054f [INFO] running `Command { std: "docker" "start" "-a" "3280103bb8b7577551f895838cc5b4f415a75bb8512d3dababfa1e313838054f", 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 autocfg v0.1.6 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling downcast-rs v1.1.0 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.1.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling ash v0.29.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [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: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [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 31.47s [INFO] running `Command { std: "docker" "inspect" "3280103bb8b7577551f895838cc5b4f415a75bb8512d3dababfa1e313838054f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3280103bb8b7577551f895838cc5b4f415a75bb8512d3dababfa1e313838054f", kill_on_drop: false }` [INFO] [stdout] 3280103bb8b7577551f895838cc5b4f415a75bb8512d3dababfa1e313838054f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fe1d68b35e65df1edd2a02693f9281f53e7494e4875b3ba45ad3c6b573c2bcb [INFO] running `Command { std: "docker" "start" "-a" "7fe1d68b35e65df1edd2a02693f9281f53e7494e4875b3ba45ad3c6b573c2bcb", 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: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [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.48s [INFO] running `Command { std: "docker" "inspect" "7fe1d68b35e65df1edd2a02693f9281f53e7494e4875b3ba45ad3c6b573c2bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe1d68b35e65df1edd2a02693f9281f53e7494e4875b3ba45ad3c6b573c2bcb", kill_on_drop: false }` [INFO] [stdout] 7fe1d68b35e65df1edd2a02693f9281f53e7494e4875b3ba45ad3c6b573c2bcb [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8291b927e6354e258bfa818772093dcd7dd2c0b39d2ad7c10738ce8e3f4d4870 [INFO] running `Command { std: "docker" "start" "-a" "8291b927e6354e258bfa818772093dcd7dd2c0b39d2ad7c10738ce8e3f4d4870", 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: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [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-c3907bb86376687b) [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" "8291b927e6354e258bfa818772093dcd7dd2c0b39d2ad7c10738ce8e3f4d4870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8291b927e6354e258bfa818772093dcd7dd2c0b39d2ad7c10738ce8e3f4d4870", kill_on_drop: false }` [INFO] [stdout] 8291b927e6354e258bfa818772093dcd7dd2c0b39d2ad7c10738ce8e3f4d4870