[INFO] cloning repository https://github.com/Hperigo/Pira [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hperigo/Pira" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHperigo%2FPira", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHperigo%2FPira'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9015968b4c052a01bbb582b33605996a6908d3c [INFO] checking Hperigo/Pira against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHperigo%2FPira" "/workspace/builds/worker-106/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-106/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hperigo/Pira on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hperigo/Pira [INFO] finished tweaking git repo https://github.com/Hperigo/Pira [INFO] tweaked toml for git repo https://github.com/Hperigo/Pira written to /workspace/builds/worker-106/source/Cargo.toml [INFO] crate git repo https://github.com/Hperigo/Pira already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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 indextree v4.3.1 [INFO] [stderr] Downloaded nalgebra v0.23.0 [INFO] [stderr] Downloaded glfw v0.31.0 [INFO] [stderr] Downloaded imgui v0.1.0 [INFO] [stderr] Downloaded imgui-sys v0.1.0 [INFO] [stderr] Downloaded imgui-opengl-renderer v0.5.0 [INFO] [stderr] Downloaded nalgebra-glm v0.9.0 [INFO] [stderr] Downloaded imgui-glfw-rs v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a9aefe3b5b6d1ec2883e4f7c814991465a0154f1d720eea64f9cf8fccd6c305 [INFO] running `Command { std: "docker" "start" "-a" "0a9aefe3b5b6d1ec2883e4f7c814991465a0154f1d720eea64f9cf8fccd6c305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a9aefe3b5b6d1ec2883e4f7c814991465a0154f1d720eea64f9cf8fccd6c305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a9aefe3b5b6d1ec2883e4f7c814991465a0154f1d720eea64f9cf8fccd6c305", kill_on_drop: false }` [INFO] [stdout] 0a9aefe3b5b6d1ec2883e4f7c814991465a0154f1d720eea64f9cf8fccd6c305 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e92b0ea159c48e6b78e2e02476855ef2863a9c9e688014458f217aaa3ffef95 [INFO] running `Command { std: "docker" "start" "-a" "9e92b0ea159c48e6b78e2e02476855ef2863a9c9e688014458f217aaa3ffef95", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] rand v0.7.3: default [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Compiling paste v1.0.3 [INFO] [stderr] Checking indextree v4.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling imgui-sys v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Checking simba v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling imgui-opengl-renderer v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Checking nalgebra v0.23.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking imgui v0.1.0 [INFO] [stderr] Checking glfw v0.31.0 [INFO] [stderr] Checking imgui-glfw-rs v0.4.1 [INFO] [stderr] Checking nalgebra-glm v0.9.0 [INFO] [stderr] Checking piralib v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/gl/mod.rs (1 fix) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gl_helper/vao.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | CString::new( name.as_bytes() ).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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gl_helper/vao.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | CString::new( name.as_bytes() ).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] [stderr] Migrating examples/textured/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/imgui/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/fbo/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/particles/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/indexed/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/instances/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/scene_graph/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/imgui/main.rs (1 fix) [INFO] [stderr] Fixed examples/fbo/main.rs (4 fixes) [INFO] [stdout] warning: variable `save_frame` is assigned to, but never used [INFO] [stdout] --> examples/instances/main.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let mut save_frame = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_save_frame` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `save_frame` is never read [INFO] [stdout] --> examples/instances/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | save_frame = true; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.08s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking piralib v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gl_helper/vao.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | CString::new( name.as_bytes() ).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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gl_helper/vao.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | CString::new( name.as_bytes() ).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: the item `TryInto` is imported redundantly [INFO] [stdout] --> examples/scene_graph/main.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `save_frame` is assigned to, but never used [INFO] [stdout] --> examples/instances/main.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let mut save_frame = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_save_frame` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `save_frame` is never read [INFO] [stdout] --> examples/instances/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | save_frame = true; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "9e92b0ea159c48e6b78e2e02476855ef2863a9c9e688014458f217aaa3ffef95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e92b0ea159c48e6b78e2e02476855ef2863a9c9e688014458f217aaa3ffef95", kill_on_drop: false }` [INFO] [stdout] 9e92b0ea159c48e6b78e2e02476855ef2863a9c9e688014458f217aaa3ffef95