[INFO] cloning repository https://github.com/peerhenry/execut_retro_input [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peerhenry/execut_retro_input" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeerhenry%2Fexecut_retro_input", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeerhenry%2Fexecut_retro_input'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42121b0961b989951766f6226a6a7170fac151cc [INFO] testing peerhenry/execut_retro_input against try#ddc023471205c186b40f4bf8ffb598008dbf4885 for pr-87041-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeerhenry%2Fexecut_retro_input" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peerhenry/execut_retro_input on toolchain ddc023471205c186b40f4bf8ffb598008dbf4885 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/peerhenry/execut_retro_input [INFO] finished tweaking git repo https://github.com/peerhenry/execut_retro_input [INFO] tweaked toml for git repo https://github.com/peerhenry/execut_retro_input written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/peerhenry/execut_retro_input already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded andrew v0.2.0 [INFO] [stderr] Downloaded gl v0.11.0 [INFO] [stderr] Downloaded lewton v0.9.4 [INFO] [stderr] Downloaded glyph_brush_layout v0.1.5 [INFO] [stderr] Downloaded seahash v3.0.6 [INFO] [stderr] Downloaded openssl-sys v0.9.42 [INFO] [stderr] Downloaded openssl v0.10.19 [INFO] [stderr] Downloaded tokio-sync v0.1.3 [INFO] [stderr] Downloaded tokio v0.1.16 [INFO] [stderr] Downloaded libflate v0.1.21 [INFO] [stderr] Downloaded glyph_brush v0.3.0 [INFO] [stderr] Downloaded rusttype v0.7.5 [INFO] [stderr] Downloaded reqwest v0.9.11 [INFO] [stderr] Downloaded escposify v0.1.4 [INFO] [stderr] Downloaded qrcode v0.1.8 [INFO] [stderr] Downloaded gleam v0.6.13 [INFO] [stderr] Downloaded smithay-client-toolkit v0.4.5 [INFO] [stderr] Downloaded spin_sleep v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2183d1befcf1915acc0c539238aec88af7d45b1f27e9636eaee9278fb8c663fd [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" "2183d1befcf1915acc0c539238aec88af7d45b1f27e9636eaee9278fb8c663fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2183d1befcf1915acc0c539238aec88af7d45b1f27e9636eaee9278fb8c663fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2183d1befcf1915acc0c539238aec88af7d45b1f27e9636eaee9278fb8c663fd", kill_on_drop: false }` [INFO] [stdout] 2183d1befcf1915acc0c539238aec88af7d45b1f27e9636eaee9278fb8c663fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0284999646a6c2a3ab7ed38b5e3ab4e23c8ea9ece32fbd657db403ba34c2b01 [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" "e0284999646a6c2a3ab7ed38b5e3ab4e23c8ea9ece32fbd657db403ba34c2b01", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling xi-unicode v0.1.0 [INFO] [stderr] Compiling seahash v3.0.6 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling claxon v0.3.2 [INFO] [stderr] Compiling spin_sleep v0.3.7 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Compiling unicase v2.3.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling tokio-sync v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling slice-deque v0.1.16 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling ordered-float v1.0.1 [INFO] [stderr] Compiling approx v0.3.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling tokio-executor v0.1.6 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling libflate v0.1.21 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.5 [INFO] [stderr] Compiling cgmath v0.14.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.42 [INFO] [stderr] Compiling minimp3 v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.16 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling wayland-sys v0.21.11 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling rusttype v0.7.5 [INFO] [stderr] Compiling wayland-commons v0.21.11 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-threadpool v0.1.12 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling openssl v0.10.19 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling andrew v0.2.0 [INFO] [stderr] Compiling glyph_brush_layout v0.1.5 [INFO] [stderr] Compiling qrcode v0.1.8 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling glyph_brush v0.3.0 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling h2 v0.1.17 [INFO] [stderr] Compiling rodio v0.8.1 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.16 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling image v0.12.4 [INFO] [stderr] Compiling hyper v0.12.25 [INFO] [stderr] Compiling escposify v0.1.4 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.11 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.5 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling retro_font_render_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/text_scene/selected_input.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | 0...4 => SelectedInput::Setting(SpaceshipSetting::from_index(index)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/execut_http_client.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fetch_taken_nicknames() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/execut_http_client.rs:34:110 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn post_new_player(nickname: String, settings: [SpaceshipSettingValue; SETTING_COUNT]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | pub type Res = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/render_pass.rs:11:106 [INFO] [stdout] | [INFO] [stdout] 11 | let handle = gl::GetSubroutineIndex(program_handle, gl::FRAGMENT_SHADER, CString::new(name).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/retrofy_scene.rs:78:109 [INFO] [stdout] | [INFO] [stdout] 78 | self.rand_uniform_loc = gl::GetUniformLocation(self.program.handle, CString::new("baseRand").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/retrofy_scene.rs:79:109 [INFO] [stdout] | [INFO] [stdout] 79 | self.texture_loc = gl::GetUniformLocation(self.program.handle, CString::new("screenTexture").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/retrofy_scene.rs:80:119 [INFO] [stdout] | [INFO] [stdout] 80 | self.retro_color_left_loc = gl::GetUniformLocation(self.program.handle, CString::new("retroColorLeft").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/retrofy_scene.rs:81:121 [INFO] [stdout] | [INFO] [stdout] 81 | self.retro_color_right_loc = gl::GetUniformLocation(self.program.handle, CString::new("retroColorRight").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/retrofy_scene.rs:82:113 [INFO] [stdout] | [INFO] [stdout] 82 | self.line_pos_left_loc = gl::GetUniformLocation(self.program.handle, CString::new("linePosLeft").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/retrofy_scene.rs:83:115 [INFO] [stdout] | [INFO] [stdout] 83 | self.line_pos_right_loc = gl::GetUniformLocation(self.program.handle, CString::new("linePosRight").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/text_scene.rs:64:82 [INFO] [stdout] | [INFO] [stdout] 64 | gl::GetUniformLocation(program.handle, CString::new("baseRand").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/text_scene.rs:367:44 [INFO] [stdout] | [INFO] [stdout] 367 | 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: 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 18s [INFO] running `Command { std: "docker" "inspect" "e0284999646a6c2a3ab7ed38b5e3ab4e23c8ea9ece32fbd657db403ba34c2b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0284999646a6c2a3ab7ed38b5e3ab4e23c8ea9ece32fbd657db403ba34c2b01", kill_on_drop: false }` [INFO] [stdout] e0284999646a6c2a3ab7ed38b5e3ab4e23c8ea9ece32fbd657db403ba34c2b01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7a29884f62c59f8061bca8b6622530b55205497102f70fd0f58973fbcd985a8 [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" "a7a29884f62c59f8061bca8b6622530b55205497102f70fd0f58973fbcd985a8", kill_on_drop: false }` [INFO] [stderr] Compiling retro_font_render_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/text_scene/selected_input.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | 0...4 => SelectedInput::Setting(SpaceshipSetting::from_index(index)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/execut_http_client.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fetch_taken_nicknames() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/execut_http_client.rs:34:110 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn post_new_player(nickname: String, settings: [SpaceshipSettingValue; SETTING_COUNT]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | pub type Res = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/render_pass.rs:11:106 [INFO] [stdout] | [INFO] [stdout] 11 | let handle = gl::GetSubroutineIndex(program_handle, gl::FRAGMENT_SHADER, CString::new(name).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/retrofy_scene.rs:78:109 [INFO] [stdout] | [INFO] [stdout] 78 | self.rand_uniform_loc = gl::GetUniformLocation(self.program.handle, CString::new("baseRand").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/retrofy_scene.rs:79:109 [INFO] [stdout] | [INFO] [stdout] 79 | self.texture_loc = gl::GetUniformLocation(self.program.handle, CString::new("screenTexture").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/retrofy_scene.rs:80:119 [INFO] [stdout] | [INFO] [stdout] 80 | self.retro_color_left_loc = gl::GetUniformLocation(self.program.handle, CString::new("retroColorLeft").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/retrofy_scene.rs:81:121 [INFO] [stdout] | [INFO] [stdout] 81 | self.retro_color_right_loc = gl::GetUniformLocation(self.program.handle, CString::new("retroColorRight").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/retrofy_scene.rs:82:113 [INFO] [stdout] | [INFO] [stdout] 82 | self.line_pos_left_loc = gl::GetUniformLocation(self.program.handle, CString::new("linePosLeft").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/retrofy_scene.rs:83:115 [INFO] [stdout] | [INFO] [stdout] 83 | self.line_pos_right_loc = gl::GetUniformLocation(self.program.handle, CString::new("linePosRight").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/text_scene.rs:64:82 [INFO] [stdout] | [INFO] [stdout] 64 | gl::GetUniformLocation(program.handle, CString::new("baseRand").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/text_scene.rs:367:44 [INFO] [stdout] | [INFO] [stdout] 367 | 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: 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.47s [INFO] running `Command { std: "docker" "inspect" "a7a29884f62c59f8061bca8b6622530b55205497102f70fd0f58973fbcd985a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7a29884f62c59f8061bca8b6622530b55205497102f70fd0f58973fbcd985a8", kill_on_drop: false }` [INFO] [stdout] a7a29884f62c59f8061bca8b6622530b55205497102f70fd0f58973fbcd985a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b224b9d2f358666c1767c9b4b1a60bb2c954a8fdde077c676ff87a3b61f94e70 [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" "b224b9d2f358666c1767c9b4b1a60bb2c954a8fdde077c676ff87a3b61f94e70", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/text_scene/selected_input.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | 0...4 => SelectedInput::Setting(SpaceshipSetting::from_index(index)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/execut_http_client.rs:13:59 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn fetch_taken_nicknames() -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/execut_http_client.rs:34:110 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn post_new_player(nickname: String, settings: [SpaceshipSettingValue; SETTING_COUNT]) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:47:33 [INFO] [stderr] | [INFO] [stderr] 47 | pub type Res = Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/render_pass.rs:11:106 [INFO] [stderr] | [INFO] [stderr] 11 | let handle = gl::GetSubroutineIndex(program_handle, gl::FRAGMENT_SHADER, CString::new(name).unwrap().as_ptr()); [INFO] [stderr] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/retrofy_scene.rs:78:109 [INFO] [stderr] | [INFO] [stderr] 78 | self.rand_uniform_loc = gl::GetUniformLocation(self.program.handle, CString::new("baseRand").unwrap().as_ptr()); [INFO] [stderr] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/retrofy_scene.rs:79:109 [INFO] [stderr] | [INFO] [stderr] 79 | self.texture_loc = gl::GetUniformLocation(self.program.handle, CString::new("screenTexture").unwrap().as_ptr()); [INFO] [stderr] | -------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/retrofy_scene.rs:80:119 [INFO] [stderr] | [INFO] [stderr] 80 | self.retro_color_left_loc = gl::GetUniformLocation(self.program.handle, CString::new("retroColorLeft").unwrap().as_ptr()); [INFO] [stderr] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/retrofy_scene.rs:81:121 [INFO] [stderr] | [INFO] [stderr] 81 | self.retro_color_right_loc = gl::GetUniformLocation(self.program.handle, CString::new("retroColorRight").unwrap().as_ptr()); [INFO] [stderr] | ---------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/retrofy_scene.rs:82:113 [INFO] [stderr] | [INFO] [stderr] 82 | self.line_pos_left_loc = gl::GetUniformLocation(self.program.handle, CString::new("linePosLeft").unwrap().as_ptr()); [INFO] [stderr] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/retrofy_scene.rs:83:115 [INFO] [stderr] | [INFO] [stderr] 83 | self.line_pos_right_loc = gl::GetUniformLocation(self.program.handle, CString::new("linePosRight").unwrap().as_ptr()); [INFO] [stderr] | ------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/text_scene.rs:64:82 [INFO] [stderr] | [INFO] [stderr] 64 | gl::GetUniformLocation(program.handle, CString::new("baseRand").unwrap().as_ptr()); [INFO] [stderr] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/text_scene.rs:367:44 [INFO] [stderr] | [INFO] [stderr] 367 | CString::new("out_color").unwrap().as_ptr(), [INFO] [stderr] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: `retro_font_render_test` (bin "retro_font_render_test" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/retro_font_render_test-6cdbd4f8eeeedf1d) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test nickname_generator::tests::test_taken_nickname ... ok [INFO] [stdout] test nickname_generator::tests::test_taken_nicknames_constructor ... ok [INFO] [stdout] test text_scene::selected_input::tests::assert_next ... ok [INFO] [stdout] test text_scene::selected_input::tests::assert_prev ... ok [INFO] [stdout] test nickname_generator::tests::test_generate_nickname ... ok [INFO] [stdout] test execut_http_client::tests::test_string_deserialization ... ok [INFO] [stdout] test spaceship_settings::tests::assert_from_to_index ... ok [INFO] [stdout] test execut_http_client::tests::test_setting_to_key ... ok [INFO] [stdout] test spaceship_settings::tests::test_count ... ok [INFO] [stdout] test text_scene::cost_calculator::tests::test_calculate_cost ... ok [INFO] [stdout] test text_scene::cost_calculator::tests::test_calculate_cost_expensiveness ... ok [INFO] [stdout] test text_scene::selected_input::tests::assert_first_prev ... ok [INFO] [stdout] test text_scene::selected_input::tests::assert_from_to_index ... ok [INFO] [stdout] test text_scene::selected_input::tests::assert_last_index ... ok [INFO] [stdout] test text_scene::selected_input::tests::assert_last_next ... ok [INFO] [stdout] test execut_http_client::tests::test_to_map ... ok [INFO] [stdout] test nickname_generator::tests::test_two_taken_nicknames ... ok [INFO] [stdout] test nickname_generator::tests::test_taken_nicknames_constructor_two ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- nickname_generator::tests::test_taken_nicknames_constructor_two stdout ---- [INFO] [stdout] thread 'nickname_generator::tests::test_taken_nicknames_constructor_two' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `"Bad Man 3"`, [INFO] [stdout] right: `"Bad Man 2"`', src/nickname_generator.rs:107:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55d5c479eb1c - std::backtrace_rs::backtrace::libunwind::trace::hf7449935ead7573e [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55d5c479eb1c - std::backtrace_rs::backtrace::trace_unsynchronized::h221aa2d88d72372a [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55d5c479eb1c - std::sys_common::backtrace::_print_fmt::h1c77e8983e1df895 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55d5c479eb1c - ::fmt::hd4ec41a9a6b0d22c [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55d5c47c189c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55d5c479a9f5 - std::io::Write::write_fmt::h4a32d0934f160ec4 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/io/mod.rs:1660:15 [INFO] [stdout] 6: 0x55d5c47a0570 - std::sys_common::backtrace::_print::h2d15cd157796a64a [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55d5c47a0570 - std::sys_common::backtrace::print::h52d286d22e2398eb [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55d5c47a0570 - std::panicking::default_hook::{{closure}}::h6da08fba6306daf2 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55d5c47a0156 - std::panicking::default_hook::h266f67a22e76b11a [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55d5c47a0c24 - std::panicking::rust_panic_with_hook::he55698a957f4fb6d [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55d5c47a0700 - std::panicking::begin_panic_handler::{{closure}}::h01f453c3ac181895 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55d5c479efc4 - std::sys_common::backtrace::__rust_end_short_backtrace::h675d77c6e5a3926d [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55d5c47a0669 - rust_begin_unwind [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55d5c46dd341 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x55d5c47c0448 - core::panicking::assert_failed_inner::hc71171cfb6f4bc69 [INFO] [stdout] 16: 0x55d5c46e556e - core::panicking::assert_failed::h563f926b01594a5e [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x55d5c46e9f83 - retro_font_render_test::nickname_generator::tests::test_taken_nicknames_constructor_two::h567dedf80ff1cb55 [INFO] [stdout] at /opt/rustwide/workdir/src/nickname_generator.rs:107:5 [INFO] [stdout] 18: 0x55d5c46e9d0a - retro_font_render_test::nickname_generator::tests::test_taken_nicknames_constructor_two::{{closure}}::hd18a41eac043ad84 [INFO] [stdout] at /opt/rustwide/workdir/src/nickname_generator.rs:103:3 [INFO] [stdout] 19: 0x55d5c46e623e - core::ops::function::FnOnce::call_once::hf1ca12051662bd79 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55d5c473dde3 - core::ops::function::FnOnce::call_once::h5d20c69df64cb066 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55d5c473dde3 - test::__rust_begin_short_backtrace::h74effa4f90907c5e [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x55d5c473c9a7 - as core::ops::function::FnOnce>::call_once::h19edd65423024e64 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/alloc/src/boxed.rs:1811:9 [INFO] [stdout] 23: 0x55d5c473c9a7 - as core::ops::function::FnOnce<()>>::call_once::hecd0007c98d2c571 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55d5c473c9a7 - std::panicking::try::do_call::hdfd7d8bd90990dc0 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x55d5c473c9a7 - std::panicking::try::h24be999959943ce9 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x55d5c473c9a7 - std::panic::catch_unwind::h0ca097148ff956c7 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x55d5c473c9a7 - test::run_test_in_process::hb1447ce84a041621 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x55d5c473c9a7 - test::run_test::run_test_inner::{{closure}}::h243d5767f98dd76b [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x55d5c470928e - test::run_test::run_test_inner::{{closure}}::ha28868a6fd450406 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x55d5c470928e - std::sys_common::backtrace::__rust_begin_short_backtrace::h9b0a0ec9acaf0854 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x55d5c470e388 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd8bff32e65e0fd1d [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] 32: 0x55d5c470e388 - as core::ops::function::FnOnce<()>>::call_once::he74b6751c2689665 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55d5c470e388 - std::panicking::try::do_call::h5d2ee92103f6cc44 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x55d5c470e388 - std::panicking::try::h4ff94863d1e19091 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x55d5c470e388 - std::panic::catch_unwind::h80719b283a984060 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x55d5c470e388 - std::thread::Builder::spawn_unchecked::{{closure}}::h53d75ac43e0325b2 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] 37: 0x55d5c470e388 - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha0944c3b1c2a3b97 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55d5c47a55e3 - as core::ops::function::FnOnce>::call_once::h4beb69a85f7fb16c [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/alloc/src/boxed.rs:1811:9 [INFO] [stdout] 39: 0x55d5c47a55e3 - as core::ops::function::FnOnce>::call_once::hef865a799f44aaf2 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/alloc/src/boxed.rs:1811:9 [INFO] [stdout] 40: 0x55d5c47a55e3 - std::sys::unix::thread::Thread::new::thread_start::hee0b2d4e2414fa96 [INFO] [stdout] at /rustc/ddc023471205c186b40f4bf8ffb598008dbf4885/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f9bc4454609 - start_thread [INFO] [stdout] 42: 0x7f9bc422c293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] nickname_generator::tests::test_taken_nicknames_constructor_two [INFO] [stdout] [INFO] [stdout] test result: FAILED. 17 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin retro_font_render_test' [INFO] running `Command { std: "docker" "inspect" "b224b9d2f358666c1767c9b4b1a60bb2c954a8fdde077c676ff87a3b61f94e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b224b9d2f358666c1767c9b4b1a60bb2c954a8fdde077c676ff87a3b61f94e70", kill_on_drop: false }` [INFO] [stdout] b224b9d2f358666c1767c9b4b1a60bb2c954a8fdde077c676ff87a3b61f94e70