[INFO] fetching crate glerminal 0.3.0... [INFO] building glerminal-0.3.0 against master#c8e6a9e8b6251bbc8276cb78cabe1998deecbed7 for pr-97334-2 [INFO] extracting crate glerminal 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate glerminal 0.3.0 on toolchain c8e6a9e8b6251bbc8276cb78cabe1998deecbed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate glerminal 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate glerminal 0.3.0 [INFO] tweaked toml for crates.io crate glerminal 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-graphics v0.14.0 [INFO] [stderr] Downloaded wayland-commons v0.20.12 [INFO] [stderr] Downloaded wayland-client v0.20.12 [INFO] [stderr] Downloaded memmap v0.6.2 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded wayland-sys v0.20.12 [INFO] [stderr] Downloaded wayland-scanner v0.20.12 [INFO] [stderr] Downloaded bmfont_parser v0.2.0 [INFO] [stderr] Downloaded parking_lot_core v0.2.14 [INFO] [stderr] Downloaded cocoa v0.15.0 [INFO] [stderr] Downloaded wayland-protocols v0.20.12 [INFO] [stderr] Downloaded glutin v0.16.0 [INFO] [stderr] Downloaded parking_lot v0.5.5 [INFO] [stderr] Downloaded winit v0.15.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.2.6 [INFO] [stderr] Downloaded nix v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fe151a4480a757e0edf085d45b0e17aade164402f5603b534a13773aaee0654 [INFO] running `Command { std: "docker" "start" "-a" "9fe151a4480a757e0edf085d45b0e17aade164402f5603b534a13773aaee0654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fe151a4480a757e0edf085d45b0e17aade164402f5603b534a13773aaee0654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fe151a4480a757e0edf085d45b0e17aade164402f5603b534a13773aaee0654", kill_on_drop: false }` [INFO] [stdout] 9fe151a4480a757e0edf085d45b0e17aade164402f5603b534a13773aaee0654 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e278b2c494b225b035d5f96c4c6636ad212213fa418371b60bb1b5f7d7273f3 [INFO] running `Command { std: "docker" "start" "-a" "2e278b2c494b225b035d5f96c4c6636ad212213fa418371b60bb1b5f7d7273f3", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling bmfont_parser v0.2.0 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling glutin v0.16.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.2.6 [INFO] [stderr] Compiling winit v0.15.1 [INFO] [stderr] Compiling glerminal v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/mod.rs:122:84 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn draw(program: Program, proj_matrix: Matrix4, time: f32, renderable: &Renderable) { [INFO] [stdout] | ^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn draw(program: Program, proj_matrix: Matrix4, time: f32, renderable: &dyn Renderable) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/display.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => panic!(err), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => panic!("{}", err), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/display.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 79 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 79 | std::panic::panic_any(err); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/renderer/mod.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | panic!(format!("Error while compiling shader:\n{}", log)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 333 - panic!(format!("Error while compiling shader:\n{}", log)) [INFO] [stdout] 333 + panic!("Error while compiling shader:\n{}", log) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.21s [INFO] running `Command { std: "docker" "inspect" "2e278b2c494b225b035d5f96c4c6636ad212213fa418371b60bb1b5f7d7273f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e278b2c494b225b035d5f96c4c6636ad212213fa418371b60bb1b5f7d7273f3", kill_on_drop: false }` [INFO] [stdout] 2e278b2c494b225b035d5f96c4c6636ad212213fa418371b60bb1b5f7d7273f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e26b0c904b87fef0a2f1949f83aae6cdcdc2a8193b9a5f87daa56415be841478 [INFO] running `Command { std: "docker" "start" "-a" "e26b0c904b87fef0a2f1949f83aae6cdcdc2a8193b9a5f87daa56415be841478", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/mod.rs:122:84 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn draw(program: Program, proj_matrix: Matrix4, time: f32, renderable: &Renderable) { [INFO] [stdout] | ^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn draw(program: Program, proj_matrix: Matrix4, time: f32, renderable: &dyn Renderable) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/display.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => panic!(err), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => panic!("{}", err), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/display.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 79 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 79 | std::panic::panic_any(err); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/renderer/mod.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | panic!(format!("Error while compiling shader:\n{}", log)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 333 - panic!(format!("Error while compiling shader:\n{}", log)) [INFO] [stdout] 333 + panic!("Error while compiling shader:\n{}", log) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [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 glerminal v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/performance_tester.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 8 - Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] 8 + Err(error) => panic!("Failed to initialize text buffer: {}", error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/window.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 11 - Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] 11 + Err(error) => panic!("Failed to initialize text buffer: {}", error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/text_buffer.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 11 - Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] 11 + Err(error) => panic!("Failed to initialize text buffer: {}", error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/multiple_text_buffers.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 12 - Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] 12 + Err(error) => panic!("Failed to initialize text buffer: {}", error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/multiple_text_buffers.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 18 - Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] 18 + Err(error) => panic!("Failed to initialize text buffer: {}", error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/text_parser.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 11 - Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] 11 + Err(error) => panic!("Failed to initialize text buffer: {}", error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/mod.rs:122:84 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn draw(program: Program, proj_matrix: Matrix4, time: f32, renderable: &Renderable) { [INFO] [stdout] | ^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn draw(program: Program, proj_matrix: Matrix4, time: f32, renderable: &dyn Renderable) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/input.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 11 - Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] 11 + Err(error) => panic!("Failed to initialize text buffer: {}", error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/mod.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 22 - Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] 22 + Err(error) => panic!("Failed to initialize text buffer: {}", error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/mod.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 45 - Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] 45 + Err(error) => panic!("Failed to initialize text buffer: {}", error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests/mod.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 54 - Err(error) => panic!(format!("Failed to initialize text buffer: {}", error)), [INFO] [stdout] 54 + Err(error) => panic!("Failed to initialize text buffer: {}", error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/display.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => panic!(err), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => panic!("{}", err), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/display.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 79 | panic!("{}", err); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 79 | std::panic::panic_any(err); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/renderer/mod.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | panic!(format!("Error while compiling shader:\n{}", log)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 333 - panic!(format!("Error while compiling shader:\n{}", log)) [INFO] [stdout] 333 + panic!("Error while compiling shader:\n{}", log) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.38s [INFO] running `Command { std: "docker" "inspect" "e26b0c904b87fef0a2f1949f83aae6cdcdc2a8193b9a5f87daa56415be841478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26b0c904b87fef0a2f1949f83aae6cdcdc2a8193b9a5f87daa56415be841478", kill_on_drop: false }` [INFO] [stdout] e26b0c904b87fef0a2f1949f83aae6cdcdc2a8193b9a5f87daa56415be841478