[INFO] cloning repository https://github.com/wjlroe/wpm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wjlroe/wpm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjlroe%2Fwpm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjlroe%2Fwpm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05db1b6a36a1d2c4d24bfaadc21c068410a9a64a [INFO] testing wjlroe/wpm against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjlroe%2Fwpm" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wjlroe/wpm [INFO] finished tweaking git repo https://github.com/wjlroe/wpm [INFO] tweaked toml for git repo https://github.com/wjlroe/wpm written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wjlroe/wpm on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wjlroe/wpm 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusttype v0.8.3 [INFO] [stderr] Downloaded rmp v0.8.10 [INFO] [stderr] Downloaded stb_truetype v0.3.1 [INFO] [stderr] Downloaded gfx_window_glutin v0.31.0 [INFO] [stderr] Downloaded glyph_brush_layout v0.1.9 [INFO] [stderr] Downloaded twox-hash v1.6.0 [INFO] [stderr] Downloaded glyph_brush v0.6.3 [INFO] [stderr] Downloaded cgmath v0.17.0 [INFO] [stderr] Downloaded gfx_glyph v0.16.0 [INFO] [stderr] Downloaded glutin v0.21.2 [INFO] [stderr] Downloaded cocoa v0.18.5 [INFO] [stderr] Downloaded xi-unicode v0.2.1 [INFO] [stderr] Downloaded winit v0.19.5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d55001bc4c1b9063c225ad7e57440a9b3fe34725e26eb60ff723efdf92922d0 [INFO] running `Command { std: "docker" "start" "-a" "6d55001bc4c1b9063c225ad7e57440a9b3fe34725e26eb60ff723efdf92922d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d55001bc4c1b9063c225ad7e57440a9b3fe34725e26eb60ff723efdf92922d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d55001bc4c1b9063c225ad7e57440a9b3fe34725e26eb60ff723efdf92922d0", kill_on_drop: false }` [INFO] [stdout] 6d55001bc4c1b9063c225ad7e57440a9b3fe34725e26eb60ff723efdf92922d0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2fbfe18b84a4ff0a016c0655ccf63b4f3b028205034bb279d15209b948defc2e [INFO] running `Command { std: "docker" "start" "-a" "2fbfe18b84a4ff0a016c0655ccf63b4f3b028205034bb279d15209b948defc2e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling gfx_glyph v0.16.0 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling gfx_window_glutin v0.31.0 [INFO] [stderr] Compiling wpm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ElementState`, `KeyboardInput`, `VirtualKeyCode`, and `WindowEvent` [INFO] [stdout] --> src/screens/menu.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use glutin::{ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/storage.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/layout.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | for mut element in self.elements.iter_mut() { [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/layout.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | for mut element in self.elements.iter_mut() { [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/screens/menu.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut update_and_render = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/label.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | fn section_without_bounds_or_position(&self, gfx_window: &mut GfxWindow) -> Section { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | fn section_without_bounds_or_position(&self, gfx_window: &mut GfxWindow) -> Section<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/label.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn section(&self, gfx_window: &mut GfxWindow) -> Section { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn section(&self, gfx_window: &mut GfxWindow) -> Section<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageVersions` [INFO] [stdout] 18 | enum StorageVersions { [INFO] [stdout] | --------------- `StorageVersions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "2fbfe18b84a4ff0a016c0655ccf63b4f3b028205034bb279d15209b948defc2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fbfe18b84a4ff0a016c0655ccf63b4f3b028205034bb279d15209b948defc2e", kill_on_drop: false }` [INFO] [stdout] 2fbfe18b84a4ff0a016c0655ccf63b4f3b028205034bb279d15209b948defc2e [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 21e36e4e5693e333bc50df22df8082d46de50b8371f19a3a5e8437440576a800 [INFO] running `Command { std: "docker" "start" "-a" "21e36e4e5693e333bc50df22df8082d46de50b8371f19a3a5e8437440576a800", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `ElementState`, `KeyboardInput`, `VirtualKeyCode`, and `WindowEvent` [INFO] [stdout] --> src/screens/menu.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use glutin::{ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/storage.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wpm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/layout.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | for mut element in self.elements.iter_mut() { [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/layout.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | for mut element in self.elements.iter_mut() { [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/screens/menu.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut update_and_render = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/label.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | fn section_without_bounds_or_position(&self, gfx_window: &mut GfxWindow) -> Section { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | fn section_without_bounds_or_position(&self, gfx_window: &mut GfxWindow) -> Section<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/label.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn section(&self, gfx_window: &mut GfxWindow) -> Section { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn section(&self, gfx_window: &mut GfxWindow) -> Section<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageVersions` [INFO] [stdout] 18 | enum StorageVersions { [INFO] [stdout] | --------------- `StorageVersions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementState`, `KeyboardInput`, `VirtualKeyCode`, and `WindowEvent` [INFO] [stdout] --> src/screens/menu.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use glutin::{ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/storage.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/layout.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | for mut element in self.elements.iter_mut() { [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/layout.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | for mut element in self.elements.iter_mut() { [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/screens/menu.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut update_and_render = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/label.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | fn section_without_bounds_or_position(&self, gfx_window: &mut GfxWindow) -> Section { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | fn section_without_bounds_or_position(&self, gfx_window: &mut GfxWindow) -> Section<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/label.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn section(&self, gfx_window: &mut GfxWindow) -> Section { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn section(&self, gfx_window: &mut GfxWindow) -> Section<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/storage.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageVersions` [INFO] [stdout] 18 | enum StorageVersions { [INFO] [stdout] | --------------- `StorageVersions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "21e36e4e5693e333bc50df22df8082d46de50b8371f19a3a5e8437440576a800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21e36e4e5693e333bc50df22df8082d46de50b8371f19a3a5e8437440576a800", kill_on_drop: false }` [INFO] [stdout] 21e36e4e5693e333bc50df22df8082d46de50b8371f19a3a5e8437440576a800 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e9cc26d44ff24b98981edd3ed2b5144c6a5d19a5256d990e9fc05c90c19965a6 [INFO] running `Command { std: "docker" "start" "-a" "e9cc26d44ff24b98981edd3ed2b5144c6a5d19a5256d990e9fc05c90c19965a6", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ElementState`, `KeyboardInput`, `VirtualKeyCode`, and `WindowEvent` [INFO] [stderr] --> src/screens/menu.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use glutin::{ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/storage.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(FromPrimitive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/layout.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 79 | for mut element in self.elements.iter_mut() { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/layout.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | for mut element in self.elements.iter_mut() { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/screens/menu.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 79 | let mut update_and_render = false; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/label.rs:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | fn section_without_bounds_or_position(&self, gfx_window: &mut GfxWindow) -> Section { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 39 | fn section_without_bounds_or_position(&self, gfx_window: &mut GfxWindow) -> Section<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/label.rs:50:20 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn section(&self, gfx_window: &mut GfxWindow) -> Section { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 50 | pub fn section(&self, gfx_window: &mut GfxWindow) -> Section<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/storage.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageVersions` [INFO] [stderr] 18 | enum StorageVersions { [INFO] [stderr] | --------------- `StorageVersions` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `wpm` (lib) generated 8 warnings (run `cargo fix --lib -p wpm` to apply 6 suggestions) [INFO] [stderr] warning: `wpm` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/wpm-8cb45b1625d36f58) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test rect::test_bounds_and_position_as_matrix ... ok [INFO] [stdout] test storage::storage_v1::test_write_new_typing_result_to_blank_file_and_read_it_back ... ok [INFO] [stdout] test storage::storage_v2::test_write_new_typing_result_to_blank_file_and_read_it_back ... ok [INFO] [stdout] test storage::test_read_an_empty_set_of_results ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/wpm-fd21e82256669a79) [INFO] [stdout] test storage::storage_v3::test_write_new_typing_result_to_blank_file_and_read_it_back ... ok [INFO] [stdout] test storage::test_read_and_write_current_version ... ok [INFO] [stdout] test storage::test_write_some_v1s_and_v2s_and_read_them_back ... ok [INFO] [stdout] test storage::test_write_then_read_back_v1_records_only ... ok [INFO] [stdout] test storage::test_write_then_read_back_v2_records_only ... ok [INFO] [stdout] test storage::test_write_then_read_back_v3_records_only ... ok [INFO] [stdout] test storage::test_write_a_future_version_which_will_be_ignored_when_read_back ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [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] [stderr] Running tests/typing_test_tests.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/typing_test_tests-7270bf4dc773fb5e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_correct_so_far ... ok [INFO] [stdout] test test_some_words ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e9cc26d44ff24b98981edd3ed2b5144c6a5d19a5256d990e9fc05c90c19965a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9cc26d44ff24b98981edd3ed2b5144c6a5d19a5256d990e9fc05c90c19965a6", kill_on_drop: false }` [INFO] [stdout] e9cc26d44ff24b98981edd3ed2b5144c6a5d19a5256d990e9fc05c90c19965a6