[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 master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRandomExplosion%2Flightbox_rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RandomExplosion/lightbox_rs on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-8/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-8/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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" "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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", 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] 6e30745f7aa47c018981ce9bc3bf8b7c17a45fcb556ab01803ddd4103f47028a [INFO] running `Command { std: "docker" "start" "-a" "6e30745f7aa47c018981ce9bc3bf8b7c17a45fcb556ab01803ddd4103f47028a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e30745f7aa47c018981ce9bc3bf8b7c17a45fcb556ab01803ddd4103f47028a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e30745f7aa47c018981ce9bc3bf8b7c17a45fcb556ab01803ddd4103f47028a", kill_on_drop: false }` [INFO] [stdout] 6e30745f7aa47c018981ce9bc3bf8b7c17a45fcb556ab01803ddd4103f47028a [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e97e185ea475397bae723e33c2bd69b7cf45caf11524c1e7dc628aac08157ca [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" "1e97e185ea475397bae723e33c2bd69b7cf45caf11524c1e7dc628aac08157ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling tts v0.12.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling memoffset v0.6.3 [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] Checking futures-channel v0.3.14 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking wifi-rs v0.2.2 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Compiling speech-dispatcher-sys v0.5.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking speech-dispatcher v0.7.0 [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: 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: 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 3m 01s [INFO] running `Command { std: "docker" "inspect" "1e97e185ea475397bae723e33c2bd69b7cf45caf11524c1e7dc628aac08157ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e97e185ea475397bae723e33c2bd69b7cf45caf11524c1e7dc628aac08157ca", kill_on_drop: false }` [INFO] [stdout] 1e97e185ea475397bae723e33c2bd69b7cf45caf11524c1e7dc628aac08157ca