[INFO] fetching crate gl 0.14.0... [INFO] testing gl-0.14.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate gl 0.14.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate gl 0.14.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gl 0.14.0 [INFO] finished tweaking crates.io crate gl 0.14.0 [INFO] tweaked toml for crates.io crate gl 0.14.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate gl 0.14.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51aff6f8d5260309de0bbe5121b039dbbeb07485e8cc4b46af96820f3bcfd5d9 [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" "51aff6f8d5260309de0bbe5121b039dbbeb07485e8cc4b46af96820f3bcfd5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51aff6f8d5260309de0bbe5121b039dbbeb07485e8cc4b46af96820f3bcfd5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51aff6f8d5260309de0bbe5121b039dbbeb07485e8cc4b46af96820f3bcfd5d9", kill_on_drop: false }` [INFO] [stdout] 51aff6f8d5260309de0bbe5121b039dbbeb07485e8cc4b46af96820f3bcfd5d9 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b3d59c07122d927d337c1aaabe778436f58a66b9d720b0d14d04cd5d79e5987 [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" "8b3d59c07122d927d337c1aaabe778436f58a66b9d720b0d14d04cd5d79e5987", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl v0.14.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.15s [INFO] running `Command { std: "docker" "inspect" "8b3d59c07122d927d337c1aaabe778436f58a66b9d720b0d14d04cd5d79e5987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b3d59c07122d927d337c1aaabe778436f58a66b9d720b0d14d04cd5d79e5987", kill_on_drop: false }` [INFO] [stdout] 8b3d59c07122d927d337c1aaabe778436f58a66b9d720b0d14d04cd5d79e5987 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29afa824c1db3fa9be243df99f0a51e45436615d3fad5742ed97ba7014e0ff67 [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" "29afa824c1db3fa9be243df99f0a51e45436615d3fad5742ed97ba7014e0ff67", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling arrayvec v0.5.0 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.3 [INFO] [stderr] Compiling glutin v0.21.1 [INFO] [stderr] Compiling gl v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> examples/triangle.rs:152:81 [INFO] [stdout] | [INFO] [stdout] 152 | gl::BindFragDataLocation(program, 0, CString::new("out_color").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] --> examples/triangle.rs:155:89 [INFO] [stdout] | [INFO] [stdout] 155 | let pos_attr = gl::GetAttribLocation(program, CString::new("position").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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "29afa824c1db3fa9be243df99f0a51e45436615d3fad5742ed97ba7014e0ff67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29afa824c1db3fa9be243df99f0a51e45436615d3fad5742ed97ba7014e0ff67", kill_on_drop: false }` [INFO] [stdout] 29afa824c1db3fa9be243df99f0a51e45436615d3fad5742ed97ba7014e0ff67 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", 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] 5c67d279d91bb79de8ca03ba37857f094299f4adbf25e48bd489adb3dffa359f [INFO] running `Command { std: "docker" "start" "-a" "5c67d279d91bb79de8ca03ba37857f094299f4adbf25e48bd489adb3dffa359f", kill_on_drop: false }` [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> examples/triangle.rs:152:81 [INFO] [stderr] | [INFO] [stderr] 152 | gl::BindFragDataLocation(program, 0, CString::new("out_color").unwrap().as_ptr()); [INFO] [stderr] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> examples/triangle.rs:155:89 [INFO] [stderr] | [INFO] [stderr] 155 | let pos_attr = gl::GetAttribLocation(program, CString::new("position").unwrap().as_ptr()); [INFO] [stderr] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: `gl` (example "triangle") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gl-7afc1098a9fa90dc) [INFO] [stdout] [INFO] [stderr] Doc-tests gl [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test /opt/rustwide/target/debug/build/gl-66ae24751f5dbcaf/out/bindings.rs - load_with (line 20630) ... ignored [INFO] [stdout] test src/lib.rs - (line 33) ... ignored [INFO] [stdout] test src/lib.rs - (line 47) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 19) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 69) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5c67d279d91bb79de8ca03ba37857f094299f4adbf25e48bd489adb3dffa359f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c67d279d91bb79de8ca03ba37857f094299f4adbf25e48bd489adb3dffa359f", kill_on_drop: false }` [INFO] [stdout] 5c67d279d91bb79de8ca03ba37857f094299f4adbf25e48bd489adb3dffa359f