[INFO] cloning repository https://github.com/Tarnadas/switch-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tarnadas/switch-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTarnadas%2Fswitch-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTarnadas%2Fswitch-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c4232b84a4b95c294e0c84a06cd4fdfc741ff59 [INFO] checking Tarnadas/switch-app against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTarnadas%2Fswitch-app" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tarnadas/switch-app on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config [INFO] started tweaking git repo https://github.com/Tarnadas/switch-app [INFO] finished tweaking git repo https://github.com/Tarnadas/switch-app [INFO] tweaked toml for git repo https://github.com/Tarnadas/switch-app written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Tarnadas/switch-app already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/skyline-rs/getrandom` [INFO] [stderr] Updating git repository `https://github.com/ArjunNair/egui_sdl2_gl.git` [INFO] [stderr] warning: Patch `getrandom v0.2.0 (https://github.com/skyline-rs/getrandom#c8f353e9)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a384968f00236c0765ea66f0a7bae3862110a469ec8f52173a49e12df356dea [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" "4a384968f00236c0765ea66f0a7bae3862110a469ec8f52173a49e12df356dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a384968f00236c0765ea66f0a7bae3862110a469ec8f52173a49e12df356dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a384968f00236c0765ea66f0a7bae3862110a469ec8f52173a49e12df356dea", kill_on_drop: false }` [INFO] [stdout] 4a384968f00236c0765ea66f0a7bae3862110a469ec8f52173a49e12df356dea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c37c5267492361c7f24a591ab54243eee5c751e89b6693aafa4504bea653243 [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" "0c37c5267492361c7f24a591ab54243eee5c751e89b6693aafa4504bea653243", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: Patch `getrandom v0.2.0 (https://github.com/skyline-rs/getrandom#c8f353e9)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking atomic_refcell v0.1.7 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking emath v0.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking epaint v0.10.0 [INFO] [stderr] Checking egui v0.10.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking egui_sdl2_gl v0.10.1 (https://github.com/ArjunNair/egui_sdl2_gl.git?branch=main#d808b19d) [INFO] [stderr] Checking switch-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `egui_output` [INFO] [stdout] --> src/main.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let (egui_output, paint_cmds) = egui_ctx.end_frame(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_egui_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/triangle.rs:139:90 [INFO] [stdout] | [INFO] [stdout] 139 | 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] --> src/triangle.rs:143:87 [INFO] [stdout] | [INFO] [stdout] 143 | 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `egui_output` [INFO] [stdout] --> src/main.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let (egui_output, paint_cmds) = egui_ctx.end_frame(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_egui_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/triangle.rs:139:90 [INFO] [stdout] | [INFO] [stdout] 139 | 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] --> src/triangle.rs:143:87 [INFO] [stdout] | [INFO] [stdout] 143 | 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.92s [INFO] running `Command { std: "docker" "inspect" "0c37c5267492361c7f24a591ab54243eee5c751e89b6693aafa4504bea653243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c37c5267492361c7f24a591ab54243eee5c751e89b6693aafa4504bea653243", kill_on_drop: false }` [INFO] [stdout] 0c37c5267492361c7f24a591ab54243eee5c751e89b6693aafa4504bea653243