[INFO] fetching crate lepton_rs 0.1.3... [INFO] checking lepton_rs-0.1.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate lepton_rs 0.1.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate lepton_rs 0.1.3 [INFO] finished tweaking crates.io crate lepton_rs 0.1.3 [INFO] tweaked toml for crates.io crate lepton_rs 0.1.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lepton_rs 0.1.3 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a259043025f8ff3b2d03e81157b0d69018c82db4db576ff3f363b93ec0071b8 [INFO] running `Command { std: "docker" "start" "-a" "5a259043025f8ff3b2d03e81157b0d69018c82db4db576ff3f363b93ec0071b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a259043025f8ff3b2d03e81157b0d69018c82db4db576ff3f363b93ec0071b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a259043025f8ff3b2d03e81157b0d69018c82db4db576ff3f363b93ec0071b8", kill_on_drop: false }` [INFO] [stdout] 5a259043025f8ff3b2d03e81157b0d69018c82db4db576ff3f363b93ec0071b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18f7cefdad90f62bc186774480871fcc58945469f6284765fc2fe1c99f3919fb [INFO] running `Command { std: "docker" "start" "-a" "18f7cefdad90f62bc186774480871fcc58945469f6284765fc2fe1c99f3919fb", kill_on_drop: false }` [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking lepton_rs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / generate_get_set_functions!( [INFO] [stdout] 69 | | set_agc_enable, get_agc_enable, u16, [INFO] [stdout] 70 | | LepCommand::set_agc_enable(), [INFO] [stdout] 71 | | LepCommand::get_agc_enable() [INFO] [stdout] 72 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | / generate_get_set_functions!( [INFO] [stdout] 77 | | set_telemetry_mode, get_telemetry_mode, u16, [INFO] [stdout] 78 | | LepCommand::set_sys_telemetry_mode(), [INFO] [stdout] 79 | | LepCommand::get_sys_telemetry_mode() [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | / generate_get_set_functions!( [INFO] [stdout] 85 | | set_oem_video_output_format, get_oem_video_output_format, u16, [INFO] [stdout] 86 | | LepCommand::set_oem_video_output_format(), [INFO] [stdout] 87 | | LepCommand::get_oem_video_output_format() [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / generate_get_set_functions!( [INFO] [stdout] 91 | | set_oem_video_output_source, get_oem_video_output_source, u16, [INFO] [stdout] 92 | | LepCommand::set_oem_video_output_source(), [INFO] [stdout] 93 | | LepCommand::get_oem_video_output_source() [INFO] [stdout] 94 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / generate_get_set_functions!( [INFO] [stdout] 97 | | set_oem_video_output_constant, get_oem_video_output_constant, u16, [INFO] [stdout] 98 | | LepCommand::set_oem_video_output_source_constant(), [INFO] [stdout] 99 | | LepCommand::get_oem_video_output_source_constant() [INFO] [stdout] 100 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | / generate_get_set_functions!( [INFO] [stdout] 103 | | set_gpio_mode, get_gpio_mode, u16, [INFO] [stdout] 104 | | LepCommand::set_oem_gpio_mode(), [INFO] [stdout] 105 | | LepCommand::get_oem_gpio_mode() [INFO] [stdout] 106 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lepton_rs` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / generate_get_set_functions!( [INFO] [stdout] 69 | | set_agc_enable, get_agc_enable, u16, [INFO] [stdout] 70 | | LepCommand::set_agc_enable(), [INFO] [stdout] 71 | | LepCommand::get_agc_enable() [INFO] [stdout] 72 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | / generate_get_set_functions!( [INFO] [stdout] 77 | | set_telemetry_mode, get_telemetry_mode, u16, [INFO] [stdout] 78 | | LepCommand::set_sys_telemetry_mode(), [INFO] [stdout] 79 | | LepCommand::get_sys_telemetry_mode() [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | / generate_get_set_functions!( [INFO] [stdout] 85 | | set_oem_video_output_format, get_oem_video_output_format, u16, [INFO] [stdout] 86 | | LepCommand::set_oem_video_output_format(), [INFO] [stdout] 87 | | LepCommand::get_oem_video_output_format() [INFO] [stdout] 88 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / generate_get_set_functions!( [INFO] [stdout] 91 | | set_oem_video_output_source, get_oem_video_output_source, u16, [INFO] [stdout] 92 | | LepCommand::set_oem_video_output_source(), [INFO] [stdout] 93 | | LepCommand::get_oem_video_output_source() [INFO] [stdout] 94 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / generate_get_set_functions!( [INFO] [stdout] 97 | | set_oem_video_output_constant, get_oem_video_output_constant, u16, [INFO] [stdout] 98 | | LepCommand::set_oem_video_output_source_constant(), [INFO] [stdout] 99 | | LepCommand::get_oem_video_output_source_constant() [INFO] [stdout] 100 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lepton_cci.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Ok((data.try_into().unwrap(), status_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | / generate_get_set_functions!( [INFO] [stdout] 103 | | set_gpio_mode, get_gpio_mode, u16, [INFO] [stdout] 104 | | LepCommand::set_oem_gpio_mode(), [INFO] [stdout] 105 | | LepCommand::get_oem_gpio_mode() [INFO] [stdout] 106 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `generate_get_set_functions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lepton_rs` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "18f7cefdad90f62bc186774480871fcc58945469f6284765fc2fe1c99f3919fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18f7cefdad90f62bc186774480871fcc58945469f6284765fc2fe1c99f3919fb", kill_on_drop: false }` [INFO] [stdout] 18f7cefdad90f62bc186774480871fcc58945469f6284765fc2fe1c99f3919fb