[INFO] fetching crate egui_sdl2_gl 0.10.1... [INFO] checking egui_sdl2_gl-0.10.1 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [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 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "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" "+7b3565da729099dbe807466fcd118fb2815986e0" "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 sdl2-sys v0.34.3 [INFO] [stderr] Downloaded sdl2 v0.34.3 [INFO] [stderr] Downloaded error-code v2.0.2 [INFO] [stderr] Downloaded wayland-scanner v0.27.0 [INFO] [stderr] Downloaded wayland-sys v0.27.0 [INFO] [stderr] Downloaded wayland-protocols v0.27.0 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded tree_magic v0.2.3 [INFO] [stderr] Downloaded wayland-client v0.27.0 [INFO] [stderr] Downloaded ahash v0.7.1 [INFO] [stderr] Downloaded wayland-commons v0.27.0 [INFO] [stderr] Downloaded wl-clipboard-rs v0.4.1 [INFO] [stderr] Downloaded os_pipe v0.9.2 [INFO] [stderr] Downloaded cli-clipboard v0.2.0 [INFO] [stderr] Downloaded syn v1.0.66 [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" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c794223fbaf809179d8e419523fe06d6f60e8aa8995bea7266ab0847d00ef5e7 [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" "c794223fbaf809179d8e419523fe06d6f60e8aa8995bea7266ab0847d00ef5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c794223fbaf809179d8e419523fe06d6f60e8aa8995bea7266ab0847d00ef5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c794223fbaf809179d8e419523fe06d6f60e8aa8995bea7266ab0847d00ef5e7", kill_on_drop: false }` [INFO] [stdout] c794223fbaf809179d8e419523fe06d6f60e8aa8995bea7266ab0847d00ef5e7 [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" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a05ba9377d92c88fd2aa1723390e4c130ddea60c3f443d25d55e293b415ce34 [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" "9a05ba9377d92c88fd2aa1723390e4c130ddea60c3f443d25d55e293b415ce34", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [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] Compiling log v0.4.13 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking atomic_refcell v0.1.6 [INFO] [stderr] Compiling sdl2 v0.34.3 [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] Checking unreachable v1.0.0 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Checking lock_api v0.3.4 [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 heck v0.3.2 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking indexmap v1.6.2 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking term_size v0.3.2 [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 addr2line v0.14.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking rand_chacha v0.3.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] Compiling synstructure v0.12.4 [INFO] [stderr] Checking wayland-commons v0.27.0 [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 32.55s [INFO] running `Command { std: "docker" "inspect" "9a05ba9377d92c88fd2aa1723390e4c130ddea60c3f443d25d55e293b415ce34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a05ba9377d92c88fd2aa1723390e4c130ddea60c3f443d25d55e293b415ce34", kill_on_drop: false }` [INFO] [stdout] 9a05ba9377d92c88fd2aa1723390e4c130ddea60c3f443d25d55e293b415ce34