[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRandomExplosion%2Flightbox_rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RandomExplosion/lightbox_rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded speech-dispatcher v0.7.0 [INFO] [stderr] Downloaded speech-dispatcher-sys v0.5.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] [stderr] Downloaded jsonschema v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c2b8599b13babd37175cdf5c56ac767073329a257525a29bdbc3937c2d48f01 [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" "8c2b8599b13babd37175cdf5c56ac767073329a257525a29bdbc3937c2d48f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c2b8599b13babd37175cdf5c56ac767073329a257525a29bdbc3937c2d48f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c2b8599b13babd37175cdf5c56ac767073329a257525a29bdbc3937c2d48f01", kill_on_drop: false }` [INFO] [stdout] 8c2b8599b13babd37175cdf5c56ac767073329a257525a29bdbc3937c2d48f01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc28af438a9be2f63776466062e0fcf93d60cb380b84fed7eaebe6e02df5f882 [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" "bc28af438a9be2f63776466062e0fcf93d60cb380b84fed7eaebe6e02df5f882", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.57.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling tts v0.12.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking wifi-rs v0.2.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tokio-util v0.6.4 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [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 structopt-derive v0.4.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [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 hyper v0.14.4 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Compiling speech-dispatcher-sys v0.5.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking speech-dispatcher v0.7.0 [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:13 [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:13 [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: 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: 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 17s [INFO] running `Command { std: "docker" "inspect" "bc28af438a9be2f63776466062e0fcf93d60cb380b84fed7eaebe6e02df5f882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc28af438a9be2f63776466062e0fcf93d60cb380b84fed7eaebe6e02df5f882", kill_on_drop: false }` [INFO] [stdout] bc28af438a9be2f63776466062e0fcf93d60cb380b84fed7eaebe6e02df5f882