[INFO] cloning repository https://github.com/wmww/Rust-on-Android-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wmww/Rust-on-Android-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmww%2FRust-on-Android-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmww%2FRust-on-Android-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fea157162df88c7cb7c0a086f78e32d67e2ab29 [INFO] building wmww/Rust-on-Android-test against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmww%2FRust-on-Android-test" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wmww/Rust-on-Android-test on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wmww/Rust-on-Android-test [INFO] finished tweaking git repo https://github.com/wmww/Rust-on-Android-test [INFO] tweaked toml for git repo https://github.com/wmww/Rust-on-Android-test written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wmww/Rust-on-Android-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.16.0 [INFO] [stderr] Downloaded gleam v0.5.1 [INFO] [stderr] Downloaded core-foundation-sys v0.6.0 [INFO] [stderr] Downloaded winit v0.15.0 [INFO] [stderr] Downloaded core-foundation v0.6.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.2.1 [INFO] [stderr] Downloaded wayland-commons v0.20.8 [INFO] [stderr] Downloaded wayland-scanner v0.20.8 [INFO] [stderr] Downloaded wayland-client v0.20.8 [INFO] [stderr] Downloaded wayland-protocols v0.20.8 [INFO] [stderr] Downloaded wayland-sys v0.20.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47c1fc96192c9b229a317942b0bb9427fbd852de1fc96b82bc98baed7b8627d0 [INFO] running `Command { std: "docker" "start" "-a" "47c1fc96192c9b229a317942b0bb9427fbd852de1fc96b82bc98baed7b8627d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47c1fc96192c9b229a317942b0bb9427fbd852de1fc96b82bc98baed7b8627d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c1fc96192c9b229a317942b0bb9427fbd852de1fc96b82bc98baed7b8627d0", kill_on_drop: false }` [INFO] [stdout] 47c1fc96192c9b229a317942b0bb9427fbd852de1fc96b82bc98baed7b8627d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dadb6f7e0d0bde131816ad3f4c162e9a5da187c562e78219b011a49a24dc809a [INFO] running `Command { std: "docker" "start" "-a" "dadb6f7e0d0bde131816ad3f4c162e9a5da187c562e78219b011a49a24dc809a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling smallvec v0.6.1 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling x11-dl v2.17.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.20.8 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling wayland-client v0.20.8 [INFO] [stderr] Compiling wayland-protocols v0.20.8 [INFO] [stderr] Compiling tempfile v3.0.2 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling wayland-sys v0.20.8 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling glutin v0.16.0 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling wayland-commons v0.20.8 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling rusttype v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.2.1 [INFO] [stderr] Compiling winit v0.15.0 [INFO] [stderr] Compiling android_rust_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Font` [INFO] [stdout] --> src/text.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use rusttype::{point, vector, Font, FontCollection, PositionedGlyph, Rect, Scale}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/gl_basic/object.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/text.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | / attribs!(pub struct Vertex { [INFO] [stdout] 346 | | pub position: Vec2, [INFO] [stdout] 347 | | pub tex_coords: Vec2, [INFO] [stdout] 348 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attribs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusttype::gpu_cache::CacheBuilder` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rusttype::gpu_cache::CacheBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Font`, `Rect`, and `vector` [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use rusttype::{point, vector, Font, FontCollection, PositionedGlyph, Rect, Scale}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/gl_basic/object.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / attribs!(pub struct Vertex { [INFO] [stdout] 150 | | pub position: Vec2, [INFO] [stdout] 151 | | pub tex_coords: Vec2, [INFO] [stdout] 152 | | pub color: Vec4, [INFO] [stdout] 153 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attribs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gl_basic/object.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | let mut vertex_array = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gl_basic/object.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let mut vertex_buffer = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gl_basic/object.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | let mut element_buffer = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gl_basic/texture.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let mut id = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl_basic::types::GlType` [INFO] [stdout] --> src/gl_basic/object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gl_basic::types::GlType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut texture = match gl_basic::Texture::new() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut cache = rusttype::gpu_cache::CacheBuilder { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut object = match Vertex::new_object(program) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut cache = match GlGlyphCache::new() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | let mut glyph = base_glyph.scaled(scale).positioned(caret); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut texture = match gl_basic::Texture::new() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `tex_coords`, and `color` are never read [INFO] [stdout] --> src/main.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 149 | attribs!(pub struct Vertex { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 150 | pub position: Vec2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 151 | pub tex_coords: Vec2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 152 | pub color: Vec4, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `attribs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/gl_basic/types.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Vec2 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | pub x: Float, [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub y: Float, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> src/gl_basic/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Vec3 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | pub x: Float, [INFO] [stdout] | ^ [INFO] [stdout] 16 | pub y: Float, [INFO] [stdout] | ^ [INFO] [stdout] 17 | pub z: Float, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, `z`, and `w` are never read [INFO] [stdout] --> src/gl_basic/types.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Vec4 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | pub x: Float, [INFO] [stdout] | ^ [INFO] [stdout] 23 | pub y: Float, [INFO] [stdout] | ^ [INFO] [stdout] 24 | pub z: Float, [INFO] [stdout] | ^ [INFO] [stdout] 25 | pub w: Float, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position` and `tex_coords` are never read [INFO] [stdout] --> src/text.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 345 | attribs!(pub struct Vertex { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 346 | pub position: Vec2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 347 | pub tex_coords: Vec2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attribs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/gl_basic/object.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let mut vertex_array = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/gl_basic/object.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | let mut vertex_buffer = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/gl_basic/object.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | let mut element_buffer = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/gl_basic/texture.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | let mut id = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.78s [INFO] running `Command { std: "docker" "inspect" "dadb6f7e0d0bde131816ad3f4c162e9a5da187c562e78219b011a49a24dc809a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dadb6f7e0d0bde131816ad3f4c162e9a5da187c562e78219b011a49a24dc809a", kill_on_drop: false }` [INFO] [stdout] dadb6f7e0d0bde131816ad3f4c162e9a5da187c562e78219b011a49a24dc809a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c3613b5d3f1b0245dad99b030d3d2f24bcf5ffef57b5fbfd43da89fef1c0690 [INFO] running `Command { std: "docker" "start" "-a" "6c3613b5d3f1b0245dad99b030d3d2f24bcf5ffef57b5fbfd43da89fef1c0690", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling android_rust_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Font` [INFO] [stdout] --> src/text.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use rusttype::{point, vector, Font, FontCollection, PositionedGlyph, Rect, Scale}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/gl_basic/object.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/text.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | / attribs!(pub struct Vertex { [INFO] [stdout] 346 | | pub position: Vec2, [INFO] [stdout] 347 | | pub tex_coords: Vec2, [INFO] [stdout] 348 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attribs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusttype::gpu_cache::CacheBuilder` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rusttype::gpu_cache::CacheBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Font`, `Rect`, and `vector` [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use rusttype::{point, vector, Font, FontCollection, PositionedGlyph, Rect, Scale}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/gl_basic/object.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / attribs!(pub struct Vertex { [INFO] [stdout] 150 | | pub position: Vec2, [INFO] [stdout] 151 | | pub tex_coords: Vec2, [INFO] [stdout] 152 | | pub color: Vec4, [INFO] [stdout] 153 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attribs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gl_basic/object.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | let mut vertex_array = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gl_basic/object.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let mut vertex_buffer = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gl_basic/object.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | let mut element_buffer = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gl_basic/texture.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let mut id = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl_basic::types::GlType` [INFO] [stdout] --> src/gl_basic/object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gl_basic::types::GlType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut texture = match gl_basic::Texture::new() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut cache = rusttype::gpu_cache::CacheBuilder { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut object = match Vertex::new_object(program) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut cache = match GlGlyphCache::new() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | let mut glyph = base_glyph.scaled(scale).positioned(caret); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut texture = match gl_basic::Texture::new() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/gl_basic/types.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Vec2 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | pub x: Float, [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub y: Float, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> src/gl_basic/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Vec3 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | pub x: Float, [INFO] [stdout] | ^ [INFO] [stdout] 16 | pub y: Float, [INFO] [stdout] | ^ [INFO] [stdout] 17 | pub z: Float, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, `z`, and `w` are never read [INFO] [stdout] --> src/gl_basic/types.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Vec4 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | pub x: Float, [INFO] [stdout] | ^ [INFO] [stdout] 23 | pub y: Float, [INFO] [stdout] | ^ [INFO] [stdout] 24 | pub z: Float, [INFO] [stdout] | ^ [INFO] [stdout] 25 | pub w: Float, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position` and `tex_coords` are never read [INFO] [stdout] --> src/text.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 345 | attribs!(pub struct Vertex { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 346 | pub position: Vec2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 347 | pub tex_coords: Vec2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attribs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/gl_basic/object.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let mut vertex_array = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/gl_basic/object.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | let mut vertex_buffer = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/gl_basic/object.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | let mut element_buffer = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/gl_basic/texture.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | let mut id = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "6c3613b5d3f1b0245dad99b030d3d2f24bcf5ffef57b5fbfd43da89fef1c0690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c3613b5d3f1b0245dad99b030d3d2f24bcf5ffef57b5fbfd43da89fef1c0690", kill_on_drop: false }` [INFO] [stdout] 6c3613b5d3f1b0245dad99b030d3d2f24bcf5ffef57b5fbfd43da89fef1c0690