[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEduRenesto%2Frustcraft" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EduRenesto/rustcraft on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e879ca39c026fb73bb0b6ce410008c8e8f41b9d72b7d0673195e5170e2646f9 [INFO] running `Command { std: "docker" "start" "-a" "6e879ca39c026fb73bb0b6ce410008c8e8f41b9d72b7d0673195e5170e2646f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e879ca39c026fb73bb0b6ce410008c8e8f41b9d72b7d0673195e5170e2646f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e879ca39c026fb73bb0b6ce410008c8e8f41b9d72b7d0673195e5170e2646f9", kill_on_drop: false }` [INFO] [stdout] 6e879ca39c026fb73bb0b6ce410008c8e8f41b9d72b7d0673195e5170e2646f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deaa6e3476dcc3cff2e07d2f3c918c20dad5d5028f8d94077bc72dbd2c596a6b [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" "deaa6e3476dcc3cff2e07d2f3c918c20dad5d5028f8d94077bc72dbd2c596a6b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking lock_api v0.1.5 [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] Checking smallvec v0.6.13 [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] Checking dlib v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling stb_image v0.2.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [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 1m 09s [INFO] running `Command { std: "docker" "inspect" "deaa6e3476dcc3cff2e07d2f3c918c20dad5d5028f8d94077bc72dbd2c596a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deaa6e3476dcc3cff2e07d2f3c918c20dad5d5028f8d94077bc72dbd2c596a6b", kill_on_drop: false }` [INFO] [stdout] deaa6e3476dcc3cff2e07d2f3c918c20dad5d5028f8d94077bc72dbd2c596a6b