[INFO] crate orbclient_window_shortcuts 0.1.5 is already in cache [INFO] checking orbclient_window_shortcuts-0.1.5 against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] extracting crate orbclient_window_shortcuts 0.1.5 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate orbclient_window_shortcuts 0.1.5 on toolchain 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate orbclient_window_shortcuts 0.1.5 [INFO] finished tweaking crates.io crate orbclient_window_shortcuts 0.1.5 [INFO] tweaked toml for crates.io crate orbclient_window_shortcuts 0.1.5 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d4b43c63cf582e1ff8dc9ef9401e02ccc9697a04ef368bf115515a30f2425e2 [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" "2d4b43c63cf582e1ff8dc9ef9401e02ccc9697a04ef368bf115515a30f2425e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d4b43c63cf582e1ff8dc9ef9401e02ccc9697a04ef368bf115515a30f2425e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d4b43c63cf582e1ff8dc9ef9401e02ccc9697a04ef368bf115515a30f2425e2", kill_on_drop: false }` [INFO] [stdout] 2d4b43c63cf582e1ff8dc9ef9401e02ccc9697a04ef368bf115515a30f2425e2 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1930f9145918a90fe188e95344e13d27a15c0783f389ee90d15fe05fefc408d0 [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" "1930f9145918a90fe188e95344e13d27a15c0783f389ee90d15fe05fefc408d0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [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 sdl2 v0.32.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Checking orbclient v0.3.27 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking orbclient_window_shortcuts v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/shortcut.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/shortcut.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_derive` [INFO] [stdout] --> src/shortcut.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Result` [INFO] [stdout] --> src/utils.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufReader, Error, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_derive` [INFO] [stdout] --> src/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shortcut::ShortcutComparator` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use shortcut::ShortcutComparator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load` [INFO] [stdout] --> src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use utils::{load}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Eq`, `PartialEq` [INFO] [stdout] --> src/lib.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::cmp::{PartialEq, Eq}; [INFO] [stdout] | ^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventOption`, `Window` [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use orbclient::{Window, EventOption}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::vec::Vec::::remove_item': Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/lib.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | self.pressed.remove_item(&key_event.scancode); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_json(json: &str) -> ShortcutComparator { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/utils.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | fn de(string: &str) /*-> ShortcutComparator */{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut sc = ShortcutComparator { [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: unused import: `serde` [INFO] [stdout] --> src/shortcut.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/shortcut.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_derive` [INFO] [stdout] --> src/shortcut.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Result` [INFO] [stdout] --> src/utils.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufReader, Error, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_derive` [INFO] [stdout] --> src/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shortcut::ShortcutComparator` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use shortcut::ShortcutComparator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load` [INFO] [stdout] --> src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use utils::{load}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Eq`, `PartialEq` [INFO] [stdout] --> src/lib.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::cmp::{PartialEq, Eq}; [INFO] [stdout] | ^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventOption`, `Window` [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use orbclient::{Window, EventOption}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::vec::Vec::::remove_item': Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/lib.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | self.pressed.remove_item(&key_event.scancode); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_json(json: &str) -> ShortcutComparator { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/utils.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | fn de(string: &str) /*-> ShortcutComparator */{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut sc = ShortcutComparator { [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> examples/main.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use orbclient::{Window, Renderer, EventOption, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qe` [INFO] [stdout] --> examples/main.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | EventOption::Quit(qe) => break 'events, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_qe` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `MyId` [INFO] [stdout] --> examples/main.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum MyId { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.81s [INFO] running `Command { std: "docker" "inspect" "1930f9145918a90fe188e95344e13d27a15c0783f389ee90d15fe05fefc408d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1930f9145918a90fe188e95344e13d27a15c0783f389ee90d15fe05fefc408d0", kill_on_drop: false }` [INFO] [stdout] 1930f9145918a90fe188e95344e13d27a15c0783f389ee90d15fe05fefc408d0