[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#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRandomExplosion%2Flightbox_rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RandomExplosion/lightbox_rs on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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-11/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ee246131ee04d010f8826c1bcb43caf2dc2cc4432b0e9f5303548499e33b499 [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" "4ee246131ee04d010f8826c1bcb43caf2dc2cc4432b0e9f5303548499e33b499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ee246131ee04d010f8826c1bcb43caf2dc2cc4432b0e9f5303548499e33b499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee246131ee04d010f8826c1bcb43caf2dc2cc4432b0e9f5303548499e33b499", kill_on_drop: false }` [INFO] [stdout] 4ee246131ee04d010f8826c1bcb43caf2dc2cc4432b0e9f5303548499e33b499 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea56603a6c776d8ac394c4f2176aea45a57176bdd9366358a0e5d694c5aa2f17 [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" "ea56603a6c776d8ac394c4f2176aea45a57176bdd9366358a0e5d694c5aa2f17", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling tts v0.12.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking wifi-rs v0.2.2 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking h2 v0.3.3 [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 structopt-derive v0.4.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking thiserror v1.0.24 [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.125 [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.3 [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: 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 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 42s [INFO] running `Command { std: "docker" "inspect" "ea56603a6c776d8ac394c4f2176aea45a57176bdd9366358a0e5d694c5aa2f17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea56603a6c776d8ac394c4f2176aea45a57176bdd9366358a0e5d694c5aa2f17", kill_on_drop: false }` [INFO] [stdout] ea56603a6c776d8ac394c4f2176aea45a57176bdd9366358a0e5d694c5aa2f17