[INFO] fetching crate egui_sdl2_gl 0.10.1... [INFO] checking egui_sdl2_gl-0.10.1 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate egui_sdl2_gl 0.10.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate egui_sdl2_gl 0.10.1 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate egui_sdl2_gl 0.10.1 [INFO] finished tweaking crates.io crate egui_sdl2_gl 0.10.1 [INFO] tweaked toml for crates.io crate egui_sdl2_gl 0.10.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate egui_sdl2_gl 0.10.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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] fee85af8ab1df2ae4e4d76923480925319e8970047e79ca7057e43f0863ad2dd [INFO] running `Command { std: "docker" "start" "-a" "fee85af8ab1df2ae4e4d76923480925319e8970047e79ca7057e43f0863ad2dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fee85af8ab1df2ae4e4d76923480925319e8970047e79ca7057e43f0863ad2dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee85af8ab1df2ae4e4d76923480925319e8970047e79ca7057e43f0863ad2dd", kill_on_drop: false }` [INFO] [stdout] fee85af8ab1df2ae4e4d76923480925319e8970047e79ca7057e43f0863ad2dd [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70c52362f8ef164f3f00a1e8862bc7b93dceba47427b1e59ecc10df66de1ef46 [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" "70c52362f8ef164f3f00a1e8862bc7b93dceba47427b1e59ecc10df66de1ef46", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling syn v1.0.66 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking emath v0.10.0 [INFO] [stderr] Checking atomic_refcell v0.1.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking log v0.4.13 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking getrandom v0.2.1 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Checking epaint v0.10.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Checking egui v0.10.0 [INFO] [stderr] Checking tree_magic v0.2.3 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking x11-clipboard v0.5.1 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking wl-clipboard-rs v0.4.1 [INFO] [stderr] Checking cli-clipboard v0.2.0 [INFO] [stderr] Checking egui_sdl2_gl v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> examples/example/triangle.rs:141:90 [INFO] [stdout] | [INFO] [stdout] 141 | gl::BindFragDataLocation(self.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/example/triangle.rs:145:87 [INFO] [stdout] | [INFO] [stdout] 145 | gl::GetAttribLocation(self.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 dev [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "70c52362f8ef164f3f00a1e8862bc7b93dceba47427b1e59ecc10df66de1ef46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c52362f8ef164f3f00a1e8862bc7b93dceba47427b1e59ecc10df66de1ef46", kill_on_drop: false }` [INFO] [stdout] 70c52362f8ef164f3f00a1e8862bc7b93dceba47427b1e59ecc10df66de1ef46