[INFO] fetching crate coap-handler 0.1.5... [INFO] checking coap-handler-0.1.5 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate coap-handler 0.1.5 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate coap-handler 0.1.5 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate coap-handler 0.1.5 [INFO] finished tweaking crates.io crate coap-handler 0.1.5 [INFO] tweaked toml for crates.io crate coap-handler 0.1.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--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] Locking 26 packages [INFO] [stderr] Adding crc v1.8.1 (latest: v3.0.1) [INFO] [stderr] Adding embedded-io v0.4.0 (latest: v0.6.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded coap-numbers v0.2.3 [INFO] [stderr] Downloaded coap-message v0.3.1 [INFO] [stderr] Downloaded windowed-infinity v0.1.4 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 107eec62f77e4476aa85bffc1a203be7b65d87c0bec8cdb3eb26edde84014243 [INFO] running `Command { std: "docker" "start" "-a" "107eec62f77e4476aa85bffc1a203be7b65d87c0bec8cdb3eb26edde84014243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "107eec62f77e4476aa85bffc1a203be7b65d87c0bec8cdb3eb26edde84014243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107eec62f77e4476aa85bffc1a203be7b65d87c0bec8cdb3eb26edde84014243", kill_on_drop: false }` [INFO] [stdout] 107eec62f77e4476aa85bffc1a203be7b65d87c0bec8cdb3eb26edde84014243 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f22c60d379c2e881f060da78219fc9c9afe802d3712a590f17ca9fa051d3164 [INFO] running `Command { std: "docker" "start" "-a" "9f22c60d379c2e881f060da78219fc9c9afe802d3712a590f17ca9fa051d3164", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking embedded-io v0.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking coap-numbers v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking coap-message v0.3.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking windowed-infinity v0.1.4 [INFO] [stderr] Checking coap-handler v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_cbor` is imported redundantly [INFO] [stdout] --> src/implementations.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | use serde_cbor; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_cbor` 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 `serde_cbor` is imported redundantly [INFO] [stdout] --> src/implementations.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | use serde_cbor; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_cbor` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result<&mut [u8], ::SetPayloadError>` [INFO] [stdout] --> src/helpers.rs:173:36 [INFO] [stdout] | [INFO] [stdout] 173 | data: &mut full_payload[..block2.size() as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result<&mut [u8], ::SetPayloadError>` [INFO] [stdout] --> src/helpers.rs:173:36 [INFO] [stdout] | [INFO] [stdout] 173 | data: &mut full_payload[..block2.size() as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/implementations.rs:552:84 [INFO] [stdout] | [INFO] [stdout] 552 | ... let mut win = windowed_infinity::WindowedInfinity::new(payload, 0); [INFO] [stdout] | ---------------------------------------- ^^^^^^^ expected `&mut [u8]`, found `&mut Result<&mut [u8], ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [u8]` [INFO] [stdout] found mutable reference `&mut Result<&mut [u8], ::SetPayloadError>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/windowed-infinity-0.1.4/src/lib.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(view: &'a mut [u8], cursor: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/implementations.rs:552:84 [INFO] [stdout] | [INFO] [stdout] 552 | ... let mut win = windowed_infinity::WindowedInfinity::new(payload, 0); [INFO] [stdout] | ---------------------------------------- ^^^^^^^ expected `&mut [u8]`, found `&mut Result<&mut [u8], ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [u8]` [INFO] [stdout] found mutable reference `&mut Result<&mut [u8], ::SetPayloadError>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/windowed-infinity-0.1.4/src/lib.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(view: &'a mut [u8], cursor: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for mutable reference `&mut Result<&mut [u8], ::SetPayloadError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations.rs:555:86 [INFO] [stdout] | [INFO] [stdout] 555 | ... Ok(()) => (win.get_cursor().try_into().ok(), payload.len()), [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result<&mut [u8], ::SetPayloadError>: ExactSizeIterator` [INFO] [stdout] which is required by `&mut Result<&mut [u8], ::SetPayloadError>: ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for mutable reference `&mut Result<&mut [u8], ::SetPayloadError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/implementations.rs:555:86 [INFO] [stdout] | [INFO] [stdout] 555 | ... Ok(()) => (win.get_cursor().try_into().ok(), payload.len()), [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result<&mut [u8], ::SetPayloadError>: ExactSizeIterator` [INFO] [stdout] which is required by `&mut Result<&mut [u8], ::SetPayloadError>: ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coap-handler` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `coap-handler` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9f22c60d379c2e881f060da78219fc9c9afe802d3712a590f17ca9fa051d3164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f22c60d379c2e881f060da78219fc9c9afe802d3712a590f17ca9fa051d3164", kill_on_drop: false }` [INFO] [stdout] 9f22c60d379c2e881f060da78219fc9c9afe802d3712a590f17ca9fa051d3164 [INFO] checking coap-handler-0.1.5 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate coap-handler 0.1.5 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate coap-handler 0.1.5 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate coap-handler 0.1.5 [INFO] finished tweaking crates.io crate coap-handler 0.1.5 [INFO] tweaked toml for crates.io crate coap-handler 0.1.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5cbf8f44d2714d62fd41bb77c0a4e79edc4ede5ff60a9adac48207b7c8c4981 [INFO] running `Command { std: "docker" "start" "-a" "a5cbf8f44d2714d62fd41bb77c0a4e79edc4ede5ff60a9adac48207b7c8c4981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5cbf8f44d2714d62fd41bb77c0a4e79edc4ede5ff60a9adac48207b7c8c4981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5cbf8f44d2714d62fd41bb77c0a4e79edc4ede5ff60a9adac48207b7c8c4981", kill_on_drop: false }` [INFO] [stdout] a5cbf8f44d2714d62fd41bb77c0a4e79edc4ede5ff60a9adac48207b7c8c4981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f1d7dfac6815bd031b33242d290fd0910b3cb94ee4b7c9fc9549327ac66392f [INFO] running `Command { std: "docker" "start" "-a" "3f1d7dfac6815bd031b33242d290fd0910b3cb94ee4b7c9fc9549327ac66392f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "3f1d7dfac6815bd031b33242d290fd0910b3cb94ee4b7c9fc9549327ac66392f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f1d7dfac6815bd031b33242d290fd0910b3cb94ee4b7c9fc9549327ac66392f", kill_on_drop: false }` [INFO] [stdout] 3f1d7dfac6815bd031b33242d290fd0910b3cb94ee4b7c9fc9549327ac66392f