[INFO] crate pico 0.0.2 is already in cache [INFO] documenting pico-0.0.2 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate pico 0.0.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pico 0.0.2 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pico 0.0.2 [INFO] finished tweaking crates.io crate pico 0.0.2 [INFO] tweaked toml for crates.io crate pico 0.0.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fac88274481682d60edc03b17b330d5d3b12d45a147476a904d5dadd38f3e388 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fac88274481682d60edc03b17b330d5d3b12d45a147476a904d5dadd38f3e388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fac88274481682d60edc03b17b330d5d3b12d45a147476a904d5dadd38f3e388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac88274481682d60edc03b17b330d5d3b12d45a147476a904d5dadd38f3e388", kill_on_drop: false }` [INFO] [stdout] fac88274481682d60edc03b17b330d5d3b12d45a147476a904d5dadd38f3e388 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56cf36047d258b5f7f63dc6ffa394bc3f9efbb64ccd71d6a62f2b29ffbd861ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "56cf36047d258b5f7f63dc6ffa394bc3f9efbb64ccd71d6a62f2b29ffbd861ed", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling pico-sys v0.0.1 [INFO] [stderr] Documenting pico v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/request.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_char, c_int, size_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/request.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_char, c_int, size_t}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/request.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_char, c_int, size_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/request.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | version: c_int [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/response.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_char, c_int, size_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/response.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_char, c_int, size_t}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/response.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_char, c_int, size_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/response.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | status: c_int, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/response.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | version: c_int [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw' [INFO] [stdout] --> src/common.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, raw}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27751 for more information [INFO] [stdout] = help: add `#![feature(raw)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ChunkReader { [INFO] [stdout] | - required by this bound in `ChunkReader` [INFO] [stdout] ... [INFO] [stdout] 25 | type Reader: ChunkReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `Self` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Chunks: std::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ChunkReader { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Headers<'s, 'h>: std::clone::Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Copy, Debug)] [INFO] [stdout] | ^^^^ the trait `std::clone::Clone` is not implemented for `Headers<'s, 'h>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header<'s>: std::clone::Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Copy, Debug)] [INFO] [stdout] | ^^^^ the trait `std::clone::Clone` is not implemented for `Header<'s>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Method<'s>: std::clone::Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Copy, Debug)] [INFO] [stdout] | ^^^^ the trait `std::clone::Clone` is not implemented for `Method<'s>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Path<'s>: std::clone::Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Copy, Debug)] [INFO] [stdout] | ^^^^ the trait `std::clone::Clone` is not implemented for `Path<'s>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Status: std::clone::Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Copy, Debug)] [INFO] [stdout] | ^^^^ the trait `std::clone::Clone` is not implemented for `Status` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Version: std::clone::Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Copy, Debug, PartialEq)] [INFO] [stdout] | ^^^^ the trait `std::clone::Clone` is not implemented for `Version` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `request::RequestParserError: std::clone::Clone` is not satisfied [INFO] [stdout] --> src/request.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, PartialEq, Copy)] [INFO] [stdout] | ^^^^ the trait `std::clone::Clone` is not implemented for `request::RequestParserError` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `response::ResponseParserError: std::clone::Clone` is not satisfied [INFO] [stdout] --> src/response.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, PartialEq, Copy)] [INFO] [stdout] | ^^^^ the trait `std::clone::Clone` is not implemented for `response::ResponseParserError` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ChunkReader { [INFO] [stdout] | - required by this bound in `ChunkReader` [INFO] [stdout] ... [INFO] [stdout] 25 | type Reader: ChunkReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `Self` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 28 | fn chunk(self, F) where F: FnOnce(Self::Reader), Self: std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ChunkReader { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0658. [INFO] [stdout] [INFO] [stderr] error: Could not document `pico`. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name pico src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern pico_sys=/opt/rustwide/target/debug/deps/libpico_sys-71d9eff0e41a74c4.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "56cf36047d258b5f7f63dc6ffa394bc3f9efbb64ccd71d6a62f2b29ffbd861ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56cf36047d258b5f7f63dc6ffa394bc3f9efbb64ccd71d6a62f2b29ffbd861ed", kill_on_drop: false }` [INFO] [stdout] 56cf36047d258b5f7f63dc6ffa394bc3f9efbb64ccd71d6a62f2b29ffbd861ed