[INFO] cloning repository https://github.com/Suven/projectBooth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Suven/projectBooth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuven%2FprojectBooth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuven%2FprojectBooth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8c18a0aaee6086293bd33b275fec876e956557f [INFO] checking Suven/projectBooth against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuven%2FprojectBooth" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Suven/projectBooth on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Suven/projectBooth [INFO] finished tweaking git repo https://github.com/Suven/projectBooth [INFO] tweaked toml for git repo https://github.com/Suven/projectBooth written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Suven/projectBooth already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gphoto v0.1.2 [INFO] [stderr] Downloaded evdev-rs v0.3.1 [INFO] [stderr] Downloaded evdev-sys v0.2.0 [INFO] [stderr] Downloaded nix v0.13.1 [INFO] [stderr] Downloaded gphoto2-sys v0.1.2 [INFO] [stderr] Downloaded headers-core v0.1.1 [INFO] [stderr] Downloaded headers v0.2.3 [INFO] [stderr] Downloaded warp v0.1.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00b394af8d1ba6b08d96e3195572d71e3ab8a170b24f2f15ae4e7622bdef920e [INFO] running `Command { std: "docker" "start" "-a" "00b394af8d1ba6b08d96e3195572d71e3ab8a170b24f2f15ae4e7622bdef920e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00b394af8d1ba6b08d96e3195572d71e3ab8a170b24f2f15ae4e7622bdef920e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b394af8d1ba6b08d96e3195572d71e3ab8a170b24f2f15ae4e7622bdef920e", kill_on_drop: false }` [INFO] [stdout] 00b394af8d1ba6b08d96e3195572d71e3ab8a170b24f2f15ae4e7622bdef920e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01d124c1a8b48282d112b03cf54ec7cc52a333d9b53760ef7e639de106a97118 [INFO] running `Command { std: "docker" "start" "-a" "01d124c1a8b48282d112b03cf54ec7cc52a333d9b53760ef7e639de106a97118", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Compiling gphoto2-sys v0.1.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking tokio-executor v0.1.9 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.17 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Compiling evdev-sys v0.2.0 [INFO] [stderr] Checking tokio-timer v0.2.12 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.11 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking gphoto v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking headers-core v0.1.1 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Checking headers v0.2.3 [INFO] [stderr] Checking evdev-rs v0.3.1 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking warp v0.1.20 [INFO] [stderr] Checking project_booth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `warp` is imported redundantly [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::{self, Filter}; [INFO] [stdout] | ^^^^ the item `warp` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gphoto` is imported redundantly [INFO] [stdout] --> src/photo/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gphoto; [INFO] [stdout] | ^^^^^^ the item `gphoto` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `warp` is imported redundantly [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::{self, Filter}; [INFO] [stdout] | ^^^^ the item `warp` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gphoto` is imported redundantly [INFO] [stdout] --> src/photo/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gphoto; [INFO] [stdout] | ^^^^^^ the item `gphoto` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/broker/broker.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | match <X { [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | match addr_of!(LTX) { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/broker/broker.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | match <X { [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | match addr_of!(LTX) { [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PhotoWasShot`, `PhotoWasDownloaded`, `PhotoWasPrinted`, and `InputBroken` are never constructed [INFO] [stdout] --> src/broker/broker_message.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Intention { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | PhotoWasShot, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | PhotoWasDownloaded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | PhotoWasPrinted, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | InputBroken, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Intention` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/broker/broker_message.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BrokerMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | pub intention: Intention, [INFO] [stdout] 17 | pub payload: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/config/var.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get(key: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_u8` is never used [INFO] [stdout] --> src/config/var.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_u8(key: &str) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PhotoWasShot`, `PhotoWasDownloaded`, `PhotoWasPrinted`, and `InputBroken` are never constructed [INFO] [stdout] --> src/broker/broker_message.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Intention { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | PhotoWasShot, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | PhotoWasDownloaded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | PhotoWasPrinted, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | InputBroken, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Intention` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/broker/broker_message.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BrokerMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | pub intention: Intention, [INFO] [stdout] 17 | pub payload: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/config/var.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get(key: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_u8` is never used [INFO] [stdout] --> src/config/var.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_u8(key: &str) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains unused formatting placeholders [INFO] [stdout] --> src/config/var.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | Err(_e) => panic!("config `{}` was expected to be u8, but was `{}`"), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing arguments [INFO] [stdout] | [INFO] [stdout] 16 | Err(_e) => panic!("config `{}` was expected to be u8, but was `{}`", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 16 | Err(_e) => panic!("{}", "config `{}` was expected to be u8, but was `{}`"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains unused formatting placeholders [INFO] [stdout] --> src/config/var.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | Err(_e) => panic!("config `{}` was expected to be u8, but was `{}`"), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing arguments [INFO] [stdout] | [INFO] [stdout] 16 | Err(_e) => panic!("config `{}` was expected to be u8, but was `{}`", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 16 | Err(_e) => panic!("{}", "config `{}` was expected to be u8, but was `{}`"), [INFO] [stdout] | +++++ [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` profile [unoptimized + debuginfo] target(s) in 18.79s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "01d124c1a8b48282d112b03cf54ec7cc52a333d9b53760ef7e639de106a97118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01d124c1a8b48282d112b03cf54ec7cc52a333d9b53760ef7e639de106a97118", kill_on_drop: false }` [INFO] [stdout] 01d124c1a8b48282d112b03cf54ec7cc52a333d9b53760ef7e639de106a97118