[INFO] cloning repository https://github.com/EduRenesto/rustcraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EduRenesto/rustcraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEduRenesto%2Frustcraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEduRenesto%2Frustcraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8768fd9c828edc2f9684d70d9bc5b8d712e8d264 [INFO] checking EduRenesto/rustcraft against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEduRenesto%2Frustcraft" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EduRenesto/rustcraft on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EduRenesto/rustcraft [INFO] finished tweaking git repo https://github.com/EduRenesto/rustcraft [INFO] tweaked toml for git repo https://github.com/EduRenesto/rustcraft written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/EduRenesto/rustcraft already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stb_image v0.2.2 [INFO] [stderr] Downloaded noise v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e6b46af30fb1b1312e8d158d91e6048a9bccf8b93561471c78c6fafe880b58c [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" "3e6b46af30fb1b1312e8d158d91e6048a9bccf8b93561471c78c6fafe880b58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e6b46af30fb1b1312e8d158d91e6048a9bccf8b93561471c78c6fafe880b58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e6b46af30fb1b1312e8d158d91e6048a9bccf8b93561471c78c6fafe880b58c", kill_on_drop: false }` [INFO] [stdout] 3e6b46af30fb1b1312e8d158d91e6048a9bccf8b93561471c78c6fafe880b58c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27e767c690c1edb780ddbe2f3abfbde0b0bd80b3044abb2e4adf8e7109bb1a40 [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" "27e767c690c1edb780ddbe2f3abfbde0b0bd80b3044abb2e4adf8e7109bb1a40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling stb_image v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking cgmath v0.16.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking noise v0.5.1 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking rustcraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:80:87 [INFO] [stdout] | [INFO] [stdout] 80 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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 https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:88:87 [INFO] [stdout] | [INFO] [stdout] 88 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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 https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:96:87 [INFO] [stdout] | [INFO] [stdout] 96 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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 https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:80:87 [INFO] [stdout] | [INFO] [stdout] 80 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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 https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:88:87 [INFO] [stdout] | [INFO] [stdout] 88 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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 https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:96:87 [INFO] [stdout] | [INFO] [stdout] 96 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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 https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.99s [INFO] running `Command { std: "docker" "inspect" "27e767c690c1edb780ddbe2f3abfbde0b0bd80b3044abb2e4adf8e7109bb1a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e767c690c1edb780ddbe2f3abfbde0b0bd80b3044abb2e4adf8e7109bb1a40", kill_on_drop: false }` [INFO] [stdout] 27e767c690c1edb780ddbe2f3abfbde0b0bd80b3044abb2e4adf8e7109bb1a40