[INFO] cloning repository https://github.com/kvark/wasm-triangle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kvark/wasm-triangle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvark%2Fwasm-triangle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvark%2Fwasm-triangle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4bbf31e1e6e346fb416d598444f1f41de4bfcc9 [INFO] checking kvark/wasm-triangle against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvark%2Fwasm-triangle" "/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/kvark/wasm-triangle on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kvark/wasm-triangle [INFO] finished tweaking git repo https://github.com/kvark/wasm-triangle [INFO] tweaked toml for git repo https://github.com/kvark/wasm-triangle written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kvark/wasm-triangle already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/kvark/glutin` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded gl v0.7.0 [INFO] [stderr] Downloaded wayland-kbd v0.13.0 [INFO] [stderr] Downloaded gleam v0.4.16 [INFO] [stderr] Downloaded gl_generator v0.6.1 [INFO] [stderr] Downloaded wayland-sys v0.9.10 [INFO] [stderr] Downloaded cocoa v0.9.2 [INFO] [stderr] Downloaded core-foundation-sys v0.3.1 [INFO] [stderr] Downloaded memmap v0.6.1 [INFO] [stderr] Downloaded wayland-window v0.13.2 [INFO] [stderr] Downloaded dlib v0.4.0 [INFO] [stderr] Downloaded wayland-client v0.9.10 [INFO] [stderr] Downloaded x11-dl v2.17.1 [INFO] [stderr] Downloaded core-foundation v0.3.0 [INFO] [stderr] Downloaded core-graphics v0.10.0 [INFO] [stderr] Downloaded cocoa v0.11.0 [INFO] [stderr] Downloaded wayland-protocols v0.12.3 [INFO] [stderr] Downloaded wayland-scanner v0.12.3 [INFO] [stderr] Downloaded core-foundation-sys v0.4.6 [INFO] [stderr] Downloaded winit v0.9.0 [INFO] [stderr] Downloaded khronos_api v2.0.0 [INFO] [stderr] Downloaded gl_generator v0.7.0 [INFO] [stderr] Downloaded wayland-scanner v0.9.10 [INFO] [stderr] Downloaded core-graphics v0.8.2 [INFO] [stderr] Downloaded wayland-sys v0.12.3 [INFO] [stderr] Downloaded core-foundation v0.4.6 [INFO] [stderr] Downloaded wayland-client v0.12.3 [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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62b53b0ac8bd91752a18c51f319eb22f3ea8edecc7315bb55275fe4d9cfe25c6 [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" "62b53b0ac8bd91752a18c51f319eb22f3ea8edecc7315bb55275fe4d9cfe25c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62b53b0ac8bd91752a18c51f319eb22f3ea8edecc7315bb55275fe4d9cfe25c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62b53b0ac8bd91752a18c51f319eb22f3ea8edecc7315bb55275fe4d9cfe25c6", kill_on_drop: false }` [INFO] [stdout] 62b53b0ac8bd91752a18c51f319eb22f3ea8edecc7315bb55275fe4d9cfe25c6 [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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 2d136c3942425fd73004c5c61aa42f31a0ea85687baa92325ddda2300e2aaf0c [INFO] running `Command { std: "docker" "start" "-a" "2d136c3942425fd73004c5c61aa42f31a0ea85687baa92325ddda2300e2aaf0c", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling khronos_api v2.0.0 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking memmap v0.6.1 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Checking dlib v0.4.0 [INFO] [stderr] Compiling x11-dl v2.17.1 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Checking wayland-sys v0.12.3 [INFO] [stderr] Compiling wayland-scanner v0.12.3 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling wayland-client v0.12.3 [INFO] [stderr] Compiling wayland-protocols v0.12.3 [INFO] [stderr] Compiling glutin v0.11.0 (https://github.com/kvark/glutin?branch=emscripten#8dec4986) [INFO] [stderr] Compiling gl v0.7.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking wayland-kbd v0.13.0 [INFO] [stderr] Checking wayland-window v0.13.2 [INFO] [stderr] Checking winit v0.9.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.10 [INFO] [stderr] Checking wasm-triangle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:172:89 [INFO] [stdout] | [INFO] [stdout] 172 | 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: `#[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/main.rs:172:89 [INFO] [stdout] | [INFO] [stdout] 172 | 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: `#[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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.60s [INFO] running `Command { std: "docker" "inspect" "2d136c3942425fd73004c5c61aa42f31a0ea85687baa92325ddda2300e2aaf0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d136c3942425fd73004c5c61aa42f31a0ea85687baa92325ddda2300e2aaf0c", kill_on_drop: false }` [INFO] [stdout] 2d136c3942425fd73004c5c61aa42f31a0ea85687baa92325ddda2300e2aaf0c