[INFO] fetching crate cat_engine 0.6.5... [INFO] testing cat_engine-0.6.5 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate cat_engine 0.6.5 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate cat_engine 0.6.5 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cat_engine 0.6.5 [INFO] finished tweaking crates.io crate cat_engine 0.6.5 [INFO] tweaked toml for crates.io crate cat_engine 0.6.5 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate cat_engine 0.6.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ttf-parser v0.9.0 [INFO] [stderr] Downloaded wayland-egl v0.28.2 [INFO] [stderr] Downloaded smithay-client-toolkit v0.12.1 [INFO] [stderr] Downloaded glium v0.29.0 [INFO] [stderr] Downloaded cat_audio v0.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bad6f322fa1da08d353274a64c288bb62b1f02be6234c520059643870e220b6a [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" "bad6f322fa1da08d353274a64c288bb62b1f02be6234c520059643870e220b6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bad6f322fa1da08d353274a64c288bb62b1f02be6234c520059643870e220b6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad6f322fa1da08d353274a64c288bb62b1f02be6234c520059643870e220b6a", kill_on_drop: false }` [INFO] [stdout] bad6f322fa1da08d353274a64c288bb62b1f02be6234c520059643870e220b6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--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] 1c4a40442dda34833114293e9b45611a84bec4988550e6b11a38fde8dae09f6b [INFO] running `Command { std: "docker" "start" "-a" "1c4a40442dda34833114293e9b45611a84bec4988550e6b11a38fde8dae09f6b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling ttf-parser v0.9.0 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling wayland-client v0.28.2 [INFO] [stderr] Compiling wayland-protocols v0.28.2 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glium v0.29.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling minimp3 v0.5.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-commons v0.28.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling wayland-cursor v0.28.2 [INFO] [stderr] Compiling wayland-egl v0.28.2 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling cat_audio v0.0.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.1 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling cat_engine v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/texture/texture.rs:27:68 [INFO] [stdout] | [INFO] [stdout] 27 | TextureCreationResult::TextureCreationError(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] 27 | TextureCreationResult::TextureCreationError(e)=>panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 27 | TextureCreationResult::TextureCreationError(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/texture/texture.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | TextureCreationResult::ImageCreationError(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] 28 | TextureCreationResult::ImageCreationError(e)=>panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 | TextureCreationResult::ImageCreationError(e)=>std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 50s [INFO] running `Command { std: "docker" "inspect" "1c4a40442dda34833114293e9b45611a84bec4988550e6b11a38fde8dae09f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c4a40442dda34833114293e9b45611a84bec4988550e6b11a38fde8dae09f6b", kill_on_drop: false }` [INFO] [stdout] 1c4a40442dda34833114293e9b45611a84bec4988550e6b11a38fde8dae09f6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ff5f420d069038992e23381bab1ac657b3f7ef3dcab12462fffc8e6fce5a6a9 [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" "5ff5f420d069038992e23381bab1ac657b3f7ef3dcab12462fffc8e6fce5a6a9", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/texture/texture.rs:27:68 [INFO] [stdout] | [INFO] [stdout] 27 | TextureCreationResult::TextureCreationError(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] 27 | TextureCreationResult::TextureCreationError(e)=>panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 27 | TextureCreationResult::TextureCreationError(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/texture/texture.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | TextureCreationResult::ImageCreationError(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] 28 | TextureCreationResult::ImageCreationError(e)=>panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 | TextureCreationResult::ImageCreationError(e)=>std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cat_engine v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/texture/texture.rs:27:68 [INFO] [stdout] | [INFO] [stdout] 27 | TextureCreationResult::TextureCreationError(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] 27 | TextureCreationResult::TextureCreationError(e)=>panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 27 | TextureCreationResult::TextureCreationError(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/texture/texture.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | TextureCreationResult::ImageCreationError(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] 28 | TextureCreationResult::ImageCreationError(e)=>panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 | TextureCreationResult::ImageCreationError(e)=>std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "5ff5f420d069038992e23381bab1ac657b3f7ef3dcab12462fffc8e6fce5a6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ff5f420d069038992e23381bab1ac657b3f7ef3dcab12462fffc8e6fce5a6a9", kill_on_drop: false }` [INFO] [stdout] 5ff5f420d069038992e23381bab1ac657b3f7ef3dcab12462fffc8e6fce5a6a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5c753bf9edfbe4bf5fca827b06934c145ced04b2a465df613272f3fbdcc0918 [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" "c5c753bf9edfbe4bf5fca827b06934c145ced04b2a465df613272f3fbdcc0918", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/texture/texture.rs:27:68 [INFO] [stderr] | [INFO] [stderr] 27 | TextureCreationResult::TextureCreationError(e)=>panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 27 | TextureCreationResult::TextureCreationError(e)=>panic!("{}", e), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 27 | TextureCreationResult::TextureCreationError(e)=>std::panic::panic_any(e), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/texture/texture.rs:28:66 [INFO] [stderr] | [INFO] [stderr] 28 | TextureCreationResult::ImageCreationError(e)=>panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 28 | TextureCreationResult::ImageCreationError(e)=>panic!("{}", e), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 28 | TextureCreationResult::ImageCreationError(e)=>std::panic::panic_any(e), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/texture/texture.rs:27:68 [INFO] [stderr] | [INFO] [stderr] 27 | TextureCreationResult::TextureCreationError(e)=>panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 27 | TextureCreationResult::TextureCreationError(e)=>panic!("{}", e), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 27 | TextureCreationResult::TextureCreationError(e)=>std::panic::panic_any(e), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/texture/texture.rs:28:66 [INFO] [stderr] | [INFO] [stderr] 28 | TextureCreationResult::ImageCreationError(e)=>panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 28 | TextureCreationResult::ImageCreationError(e)=>panic!("{}", e), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 28 | TextureCreationResult::ImageCreationError(e)=>std::panic::panic_any(e), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cat_engine-8a8cc377627d5a34) [INFO] [stdout] [INFO] [stderr] Doc-tests cat_engine [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/text/glyph_cache.rs - text::glyph_cache::GlyphCache::insert_str (line 159) ... FAILED [INFO] [stdout] test src/text/mod.rs - text (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/text/mod.rs - text (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/text/glyph_cache.rs - text::glyph_cache::GlyphCache::insert_str (line 159) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `alphabet` in this scope [INFO] [stdout] --> src/text/glyph_cache.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 3 | for character in alphabet.chars(){ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/text/glyph_cache.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_text_glyph_cache_rs_159_0() { [INFO] [stdout] | ------------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 3 | for character in alphabet.chars(){ [INFO] [stdout] 4 | self.insert_char(character,font,scale,display); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `font` in this scope [INFO] [stdout] --> src/text/glyph_cache.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 4 | self.insert_char(character,font,scale,display); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `scale` in this scope [INFO] [stdout] --> src/text/glyph_cache.rs:161:37 [INFO] [stdout] | [INFO] [stdout] 4 | self.insert_char(character,font,scale,display); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `display` in this scope [INFO] [stdout] --> src/text/glyph_cache.rs:161:43 [INFO] [stdout] | [INFO] [stdout] 4 | self.insert_char(character,font,scale,display); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/text/mod.rs - text (line 31) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/text/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 12 | ... in the cycle: [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 12 | .. in the cycle: [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 12 | ..= in the cycle: [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/text/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 12 | ... in the cycle: [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error: expected one of `;` or `}`, found keyword `in` [INFO] [stdout] --> src/text/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 12 | ... in the cycle: [INFO] [stdout] | ^^ expected one of `;` or `}` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PagedWindow` [INFO] [stdout] --> src/text/mod.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut window=PagedWindow::new(|_,s|{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PagedWindow` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FontOwner` [INFO] [stdout] --> src/text/mod.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 9 | let font=FontOwner::load("resources/font").unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cat_engine::text::FontOwner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 3 | let wi=window.display().gl_window(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/text/mod.rs - text (line 48) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/text/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 13 | ... in the cycle: [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 13 | .. in the cycle: [INFO] [stdout] | ^^ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 13 | ..= in the cycle: [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/text/mod.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 13 | ... in the cycle: [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] error: expected one of `;` or `}`, found keyword `in` [INFO] [stdout] --> src/text/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 13 | ... in the cycle: [INFO] [stdout] | ^^ expected one of `;` or `}` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PagedWindow` [INFO] [stdout] --> src/text/mod.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut window=PagedWindow::new(|_,s|{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PagedWindow` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FontOwner` [INFO] [stdout] --> src/text/mod.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 7 | let font=FontOwner::load("resources/font").unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cat_engine::text::FontOwner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scale` [INFO] [stdout] --> src/text/mod.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 9 | let scale=Scale::new(0.4,0.4); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cat_engine::text::Scale; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlyphCache` [INFO] [stdout] --> src/text/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 11 | let glyphs=GlyphCache::new_alphabet(&font,"HelloWorld?",scale,window.display()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cat_engine::text::GlyphCache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'Failed to initialize any backend! Wayland status: XdgRuntimeDirNotSet X11 status: XOpenDisplayFailed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/mod.rs:605:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a748fa3d10 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55a748fa3d10 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a748fa3d10 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55a748fa3d10 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55a748fc5e5c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55a748fa0f75 - ::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55a748fa5d9b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55a748fa5d9b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55a748fa5d9b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55a748fa5871 - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55a748fa6441 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55a748a0f630 - std[77c0456e0eb29f0c]::panicking::begin_panic::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:542:9 [INFO] [stdout] 12: 0x55a748a0f9cf - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55a748a0f58b - std[77c0456e0eb29f0c]::panicking::begin_panic:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:541:12 [INFO] [stdout] 14: 0x55a74891c55e - >::new_any_thread [INFO] [stdout] 15: 0x55a74891ca1a - >::new [INFO] [stdout] 16: 0x55a74891694b - >::with_user_event [INFO] [stdout] 17: 0x55a7488f2ff3 - ::new:: [INFO] [stdout] 18: 0x55a74892aeea - rust_out[17891616a171812d]::main [INFO] [stdout] 19: 0x55a74892a3a3 - >::call_once [INFO] [stdout] 20: 0x55a7489082a9 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x55a74890d0e9 - std[77c0456e0eb29f0c]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 22: 0x55a748fa6939 - <&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x55a748fa6939 - std[77c0456e0eb29f0c]::panicking::try::do_call::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: 0x55a748fa6939 - std[77c0456e0eb29f0c]::panicking::try:: + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 25: 0x55a748fa6939 - std[77c0456e0eb29f0c]::panic::catch_unwind::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 26: 0x55a748fa6939 - std[77c0456e0eb29f0c]::rt::lang_start_internal [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/rt.rs:34:21 [INFO] [stdout] 27: 0x55a748905bc1 - std[77c0456e0eb29f0c]::rt::lang_start::<()> [INFO] [stdout] 28: 0x55a74892b0e3 - main [INFO] [stdout] 29: 0x7fcea5fee0b3 - __libc_start_main [INFO] [stdout] 30: 0x55a7488f1a6e - _start [INFO] [stdout] 31: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 35) [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] src/text/glyph_cache.rs - text::glyph_cache::GlyphCache::insert_str (line 159) [INFO] [stdout] src/text/mod.rs - text (line 31) [INFO] [stdout] src/text/mod.rs - text (line 48) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.65s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c5c753bf9edfbe4bf5fca827b06934c145ced04b2a465df613272f3fbdcc0918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c753bf9edfbe4bf5fca827b06934c145ced04b2a465df613272f3fbdcc0918", kill_on_drop: false }` [INFO] [stdout] c5c753bf9edfbe4bf5fca827b06934c145ced04b2a465df613272f3fbdcc0918