[INFO] fetching crate miniquad 0.3.0-alpha.29... [INFO] checking miniquad-0.3.0-alpha.29 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate miniquad 0.3.0-alpha.29 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate miniquad 0.3.0-alpha.29 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate miniquad 0.3.0-alpha.29 [INFO] finished tweaking crates.io crate miniquad 0.3.0-alpha.29 [INFO] tweaked toml for crates.io crate miniquad 0.3.0-alpha.29 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate miniquad 0.3.0-alpha.29 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glam v0.8.7 [INFO] [stderr] Downloaded sapp-dummy v0.1.5 [INFO] [stderr] Downloaded sapp-android v0.1.5 [INFO] [stderr] Downloaded sapp-kms v0.1.1 [INFO] [stderr] Downloaded sapp-linux v0.1.12 [INFO] [stderr] Downloaded sapp-wasm v0.1.23 [INFO] [stderr] Downloaded sapp-windows v0.2.16 [INFO] [stderr] Downloaded quad-rand v0.1.1 [INFO] [stderr] Downloaded sapp-darwin v0.1.6 [INFO] [stderr] Downloaded cc v1.0.57 [INFO] [stderr] Downloaded sapp-ios v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e159b6d2ee50b0b7b246ec37b73fcdde9ad69d05bf345609c1e9a694c7d8927 [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" "7e159b6d2ee50b0b7b246ec37b73fcdde9ad69d05bf345609c1e9a694c7d8927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e159b6d2ee50b0b7b246ec37b73fcdde9ad69d05bf345609c1e9a694c7d8927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e159b6d2ee50b0b7b246ec37b73fcdde9ad69d05bf345609c1e9a694c7d8927", kill_on_drop: false }` [INFO] [stdout] 7e159b6d2ee50b0b7b246ec37b73fcdde9ad69d05bf345609c1e9a694c7d8927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 836b6874a9819d82540c27ad919e9fe30faa1f5edf20c91e9537ce1f2ad6b885 [INFO] running `Command { std: "docker" "start" "-a" "836b6874a9819d82540c27ad919e9fe30faa1f5edf20c91e9537ce1f2ad6b885", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling sapp-linux v0.1.12 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Checking quad-rand v0.1.1 [INFO] [stderr] Checking miniquad v0.3.0-alpha.29 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `new_width` [INFO] [stdout] --> src/lib.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn set_window_size(&self, new_width: u32, new_height: u32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_width` [INFO] [stdout] --> src/lib.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn set_window_size(&self, new_width: u32, new_height: u32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_height` [INFO] [stdout] --> src/lib.rs:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn set_window_size(&self, new_width: u32, new_height: u32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_height` [INFO] [stdout] --> src/lib.rs:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn set_window_size(&self, new_width: u32, new_height: u32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fullscreen` [INFO] [stdout] --> src/lib.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn set_fullscreen(&self, fullscreen: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fullscreen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fullscreen` [INFO] [stdout] --> src/lib.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn set_fullscreen(&self, fullscreen: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fullscreen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/graphics.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | let cname = CString::new(name).unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 12 | let cname = CString::new(name).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 12 | let cname = CString::new(name).unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/graphics.rs:1503:71 [INFO] [stdout] | [INFO] [stdout] 1503 | let cname = CString::new(*name).unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1503 | let cname = CString::new(*name).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1503 | let cname = CString::new(*name).unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/graphics.rs:1536:25 [INFO] [stdout] | [INFO] [stdout] 1536 | / format!( [INFO] [stdout] 1537 | | "attribute: {} outside of allocated attributes array len: {}", [INFO] [stdout] 1538 | | name, [INFO] [stdout] 1539 | | vertex_layout.len() [INFO] [stdout] 1540 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1536 | [INFO] [stdout] 1537 | "attribute: {} outside of allocated attributes array len: {}", [INFO] [stdout] 1538 | name, [INFO] [stdout] 1539 | vertex_layout.len() [INFO] [stdout] 1540 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | .unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 67 | .unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 67 | .unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:402:86 [INFO] [stdout] | [INFO] [stdout] 402 | let title = CString::new(conf.window_title.as_bytes()).unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 402 | let title = CString::new(conf.window_title.as_bytes()).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 402 | let title = CString::new(conf.window_title.as_bytes()).unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/graphics.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | let cname = CString::new(name).unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 12 | let cname = CString::new(name).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 12 | let cname = CString::new(name).unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/graphics.rs:1503:71 [INFO] [stdout] | [INFO] [stdout] 1503 | let cname = CString::new(*name).unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1503 | let cname = CString::new(*name).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1503 | let cname = CString::new(*name).unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/graphics.rs:1536:25 [INFO] [stdout] | [INFO] [stdout] 1536 | / format!( [INFO] [stdout] 1537 | | "attribute: {} outside of allocated attributes array len: {}", [INFO] [stdout] 1538 | | name, [INFO] [stdout] 1539 | | vertex_layout.len() [INFO] [stdout] 1540 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1536 | [INFO] [stdout] 1537 | "attribute: {} outside of allocated attributes array len: {}", [INFO] [stdout] 1538 | name, [INFO] [stdout] 1539 | vertex_layout.len() [INFO] [stdout] 1540 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | .unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 67 | .unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 67 | .unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:402:86 [INFO] [stdout] | [INFO] [stdout] 402 | let title = CString::new(conf.window_title.as_bytes()).unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 402 | let title = CString::new(conf.window_title.as_bytes()).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 402 | let title = CString::new(conf.window_title.as_bytes()).unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.54s [INFO] running `Command { std: "docker" "inspect" "836b6874a9819d82540c27ad919e9fe30faa1f5edf20c91e9537ce1f2ad6b885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836b6874a9819d82540c27ad919e9fe30faa1f5edf20c91e9537ce1f2ad6b885", kill_on_drop: false }` [INFO] [stdout] 836b6874a9819d82540c27ad919e9fe30faa1f5edf20c91e9537ce1f2ad6b885