[INFO] cloning repository https://github.com/RandomExplosion/lightbox_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RandomExplosion/lightbox_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRandomExplosion%2Flightbox_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRandomExplosion%2Flightbox_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80d91bd5c10f749eef78f278b34e446eb0ac8231 [INFO] checking RandomExplosion/lightbox_rs against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRandomExplosion%2Flightbox_rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RandomExplosion/lightbox_rs on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RandomExplosion/lightbox_rs [INFO] finished tweaking git repo https://github.com/RandomExplosion/lightbox_rs [INFO] tweaked toml for git repo https://github.com/RandomExplosion/lightbox_rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/RandomExplosion/lightbox_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-util v0.6.5 [INFO] [stderr] Downloaded mio v0.7.10 [INFO] [stderr] Downloaded speech-dispatcher v0.7.0 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded jsonschema v0.4.3 [INFO] [stderr] Downloaded speech-dispatcher-sys v0.5.2 [INFO] [stderr] Downloaded winrt_gen_macros v0.7.2 [INFO] [stderr] Downloaded winrt_macros v0.7.2 [INFO] [stderr] Downloaded winrt_gen v0.7.2 [INFO] [stderr] Downloaded winrt v0.7.2 [INFO] [stderr] Downloaded wifi-rs v0.2.2 [INFO] [stderr] Downloaded tts_winrt_bindings v0.2.0 [INFO] [stderr] Downloaded tts v0.12.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a9a196e86488854c181dd427c0d961d8ba452a694b66f8e0c991a356a8c031d [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" "9a9a196e86488854c181dd427c0d961d8ba452a694b66f8e0c991a356a8c031d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a9a196e86488854c181dd427c0d961d8ba452a694b66f8e0c991a356a8c031d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a9a196e86488854c181dd427c0d961d8ba452a694b66f8e0c991a356a8c031d", kill_on_drop: false }` [INFO] [stdout] 9a9a196e86488854c181dd427c0d961d8ba452a694b66f8e0c991a356a8c031d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3b3825a5ad9feb13f8d29e718702d7823607f7aee005ecaeafcb855a203d8c7 [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" "e3b3825a5ad9feb13f8d29e718702d7823607f7aee005ecaeafcb855a203d8c7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling tts v0.12.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking mio v0.7.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling bindgen v0.57.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking wifi-rs v0.2.2 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Compiling speech-dispatcher-sys v0.5.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking speech-dispatcher v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking reqwest v0.11.2 [INFO] [stderr] Checking jsonschema v0.4.3 [INFO] [stderr] Checking lightbox_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error`, `trace`, `warn` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{info, trace, warn, error}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace` [INFO] [stdout] --> src/conf.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, trace, warn, error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `trace`, `warn` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{info, trace, warn, error}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace` [INFO] [stdout] --> src/conf.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, trace, warn, error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_data` [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut config_data: conf::Configuration = serde_json::from_str(&config_data).expect("Invalid json!"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut config_data: conf::Configuration = serde_json::from_str(&config_data).expect("Invalid json!"); [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 variable: `config_data` [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut config_data: conf::Configuration = serde_json::from_str(&config_data).expect("Invalid json!"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut config_data: conf::Configuration = serde_json::from_str(&config_data).expect("Invalid json!"); [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: constant is never used: `ALLOWED_PINS` [INFO] [stdout] --> src/conf.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const ALLOWED_PINS: [u8; 25] = [2,3,4,17,27,22,10,9,11,5,6,13,19,26,18,23,24,25,8,7,1,12,16,20,21]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_config` [INFO] [stdout] --> src/conf.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn validate_config (mut config: Configuration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `checkIsHoliday` [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn checkIsHoliday(config: conf::Configuration) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkIsHoliday` should have a snake case name [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn checkIsHoliday(config: conf::Configuration) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_is_holiday` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ALLOWED_PINS` [INFO] [stdout] --> src/conf.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const ALLOWED_PINS: [u8; 25] = [2,3,4,17,27,22,10,9,11,5,6,13,19,26,18,23,24,25,8,7,1,12,16,20,21]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_config` [INFO] [stdout] --> src/conf.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn validate_config (mut config: Configuration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `checkIsHoliday` [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn checkIsHoliday(config: conf::Configuration) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkIsHoliday` should have a snake case name [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn checkIsHoliday(config: conf::Configuration) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_is_holiday` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "e3b3825a5ad9feb13f8d29e718702d7823607f7aee005ecaeafcb855a203d8c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b3825a5ad9feb13f8d29e718702d7823607f7aee005ecaeafcb855a203d8c7", kill_on_drop: false }` [INFO] [stdout] e3b3825a5ad9feb13f8d29e718702d7823607f7aee005ecaeafcb855a203d8c7