[INFO] fetching crate on-off-sequence-output 0.2.0... [INFO] checking on-off-sequence-output-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate on-off-sequence-output 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate on-off-sequence-output 0.2.0 [INFO] finished tweaking crates.io crate on-off-sequence-output 0.2.0 [INFO] tweaked toml for crates.io crate on-off-sequence-output 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate on-off-sequence-output 0.2.0 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] crate crates.io crate on-off-sequence-output 0.2.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2ed23f1d5dfbb86549a6a23f1572d68fdb0d0075440ab65c0317c6ff5a0cd975 [INFO] running `Command { std: "docker" "start" "-a" "2ed23f1d5dfbb86549a6a23f1572d68fdb0d0075440ab65c0317c6ff5a0cd975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ed23f1d5dfbb86549a6a23f1572d68fdb0d0075440ab65c0317c6ff5a0cd975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed23f1d5dfbb86549a6a23f1572d68fdb0d0075440ab65c0317c6ff5a0cd975", kill_on_drop: false }` [INFO] [stdout] 2ed23f1d5dfbb86549a6a23f1572d68fdb0d0075440ab65c0317c6ff5a0cd975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 15df4caecb8b6b33c2e6534d79d8d74660604700e674fd8cf3796f889006cbc6 [INFO] running `Command { std: "docker" "start" "-a" "15df4caecb8b6b33c2e6534d79d8d74660604700e674fd8cf3796f889006cbc6", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Compiling stm32f4 v0.10.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking on-off-sequence-output v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking stm32f4xx-hal v0.7.0 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/show-led-output.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if ledout.update().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/show-led-output.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if ledout.update().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/show-led-output.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | ledout.update().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `on-off-sequence-output` (example "show-led-output") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MockedOutputPinError` [INFO] [stdout] 13 | #[fail(display = "An error occurred")] [INFO] [stdout] 14 | pub struct MockedOutputPinError; [INFO] [stdout] | -------------------- `MockedOutputPinError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MockedOutputPinError` [INFO] [stdout] 13 | #[fail(display = "An error occurred")] [INFO] [stdout] 14 | pub struct MockedOutputPinError; [INFO] [stdout] | -------------------- `MockedOutputPinError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> examples/show-rust-is-good.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | ledout.update().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `on-off-sequence-output` (example "show-rust-is-good") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "15df4caecb8b6b33c2e6534d79d8d74660604700e674fd8cf3796f889006cbc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15df4caecb8b6b33c2e6534d79d8d74660604700e674fd8cf3796f889006cbc6", kill_on_drop: false }` [INFO] [stdout] 15df4caecb8b6b33c2e6534d79d8d74660604700e674fd8cf3796f889006cbc6