[INFO] fetching crate embedded-io 0.4.0... [INFO] documenting embedded-io-0.4.0 against 1.66.0 for beta-1.67-rustdoc-3 [INFO] extracting crate embedded-io 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate embedded-io 0.4.0 on toolchain 1.66.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.66.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate embedded-io 0.4.0 [INFO] finished tweaking crates.io crate embedded-io 0.4.0 [INFO] tweaked toml for crates.io crate embedded-io 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.66.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.66.0" "fetch" "--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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.66.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70488713443e9cb7c5511f94290eb726661b902e7eb7663fd7d10c97812ef3ca [INFO] running `Command { std: "docker" "start" "-a" "70488713443e9cb7c5511f94290eb726661b902e7eb7663fd7d10c97812ef3ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70488713443e9cb7c5511f94290eb726661b902e7eb7663fd7d10c97812ef3ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70488713443e9cb7c5511f94290eb726661b902e7eb7663fd7d10c97812ef3ca", kill_on_drop: false }` [INFO] [stdout] 70488713443e9cb7c5511f94290eb726661b902e7eb7663fd7d10c97812ef3ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.66.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ca630ff0759e262bef93ed1f03e83e6685677e534c038acffadfa754b7c0c1d [INFO] running `Command { std: "docker" "start" "-a" "0ca630ff0759e262bef93ed1f03e83e6685677e534c038acffadfa754b7c0c1d", kill_on_drop: false }` [INFO] [stderr] Documenting embedded-io v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `std::io::Read` [INFO] [stdout] --> src/blocking.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | /// Semantics are the same as [`std::io::Read`], check its documentation for details. [INFO] [stdout] | ^^^^^^^^^^^^^ no item named `std` in scope [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `std::io::BufRead` [INFO] [stdout] --> src/blocking.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | /// Semantics are the same as [`std::io::BufRead`], check its documentation for details. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no item named `std` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `std::io::Write` [INFO] [stdout] --> src/blocking.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | /// Semantics are the same as [`std::io::Write`], check its documentation for details. [INFO] [stdout] | ^^^^^^^^^^^^^^ no item named `std` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `std::io::Seek` [INFO] [stdout] --> src/blocking.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | /// Semantics are the same as [`std::io::Seek`], check its documentation for details. [INFO] [stdout] | ^^^^^^^^^^^^^ no item named `std` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `std::io::SeekFrom` [INFO] [stdout] --> src/lib.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | /// Semantics are the same as [`std::io::SeekFrom`], check its documentation for details. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no item named `std` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "0ca630ff0759e262bef93ed1f03e83e6685677e534c038acffadfa754b7c0c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca630ff0759e262bef93ed1f03e83e6685677e534c038acffadfa754b7c0c1d", kill_on_drop: false }` [INFO] [stdout] 0ca630ff0759e262bef93ed1f03e83e6685677e534c038acffadfa754b7c0c1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.66.0" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "std async defmt futures tokio" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 827adc506094a026cbfcc57f7f46e2f541f165302785240203e49fd88489604f [INFO] running `Command { std: "docker" "start" "-a" "827adc506094a026cbfcc57f7f46e2f541f165302785240203e49fd88489604f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling defmt-macros v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Compiling defmt v0.3.2 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures v0.3.25 [INFO] [stderr] Documenting embedded-io v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/asynch.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T, &mut [u8]) -> impl futures::Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, &mut [u8]) -> impl futures::Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> src/asynch.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | impl Read for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/asynch.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | async fn fill_buf(&mut self) -> Result<&[u8], Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T) -> impl futures::Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T) -> impl futures::Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> src/asynch.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | impl BufRead for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/asynch.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T, &[u8]) -> impl futures::Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, &[u8]) -> impl futures::Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> src/asynch.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | impl Write for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/asynch.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | async fn flush(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T) -> impl futures::Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T) -> impl futures::Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> src/asynch.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | impl Write for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/asynch.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | async fn seek(&mut self, pos: crate::SeekFrom) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut T, SeekFrom) -> impl futures::Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut T, SeekFrom) -> impl futures::Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> src/asynch.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | impl Seek for &mut T { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/asynch.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | async fn read(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &[u8], &mut [u8]) -> impl futures::Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &[u8], &mut [u8]) -> impl futures::Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> src/asynch.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | impl Read for &[u8] { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/asynch.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | async fn fill_buf(&mut self) -> Result<&[u8], Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &[u8]) -> impl futures::Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &[u8]) -> impl futures::Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> src/asynch.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | impl BufRead for &[u8] { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/asynch.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | async fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut &mut [u8], &[u8]) -> impl futures::Future::Error>>` [INFO] [stdout] found fn pointer `fn(&mut &mut [u8], &[u8]) -> impl futures::Future::Error>>` [INFO] [stdout] note: the anonymous lifetime as defined here... [INFO] [stdout] --> src/asynch.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | impl Write for &mut [u8] { [INFO] [stdout] | ^ [INFO] [stdout] = note: ...does not necessarily outlive the static lifetime [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not document `embedded-io` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name embedded_io src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="alloc"' --cfg 'feature="async"' --cfg 'feature="defmt"' --cfg 'feature="futures"' --cfg 'feature="std"' --cfg 'feature="tokio"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=1f2f312fa3da8f5a -L dependency=/opt/rustwide/target/debug/deps --extern defmt=/opt/rustwide/target/debug/deps/libdefmt-958d85c939f10c44.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-7507c3bf1a1f77eb.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-e9ecc04f66c3d3fd.rmeta --extern-html-root-url 'defmt=https://docs.rs/defmt/0.3.2/' --extern-html-root-url 'futures=https://docs.rs/futures/0.3.25/' --extern-html-root-url 'tokio=https://docs.rs/tokio/1.23.0/' -Zunstable-options --cap-lints=warn --crate-version 0.4.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "827adc506094a026cbfcc57f7f46e2f541f165302785240203e49fd88489604f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827adc506094a026cbfcc57f7f46e2f541f165302785240203e49fd88489604f", kill_on_drop: false }` [INFO] [stdout] 827adc506094a026cbfcc57f7f46e2f541f165302785240203e49fd88489604f