[INFO] cloning repository https://github.com/divvun/derive-collect-docs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/divvun/derive-collect-docs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fderive-collect-docs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fderive-collect-docs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8ca4647315cf85f142bdcfde8709e6dbbdecd6e [INFO] checking divvun/derive-collect-docs against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fderive-collect-docs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/divvun/derive-collect-docs [INFO] finished tweaking git repo https://github.com/divvun/derive-collect-docs [INFO] tweaked toml for git repo https://github.com/divvun/derive-collect-docs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/divvun/derive-collect-docs on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/divvun/derive-collect-docs 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 27eab55d1aff174ba1668f143225de7a2f89b110cfe1699197c632a97342d332 [INFO] running `Command { std: "docker" "start" "27eab55d1aff174ba1668f143225de7a2f89b110cfe1699197c632a97342d332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27eab55d1aff174ba1668f143225de7a2f89b110cfe1699197c632a97342d332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "27eab55d1aff174ba1668f143225de7a2f89b110cfe1699197c632a97342d332" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27eab55d1aff174ba1668f143225de7a2f89b110cfe1699197c632a97342d332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "27eab55d1aff174ba1668f143225de7a2f89b110cfe1699197c632a97342d332" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking unindent v0.1.5 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking quote v1.0.3 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking derive-collect-docs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: there exists a built-in attribute with the same name [INFO] [stdout] --> src/lib.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | #[proc_macro_derive(CollectDocs, attributes(example, doc))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #151276 [INFO] [stdout] = note: `#[warn(ambiguous_derive_helpers)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stdout] warning: there exists a built-in attribute with the same name [INFO] [stdout] --> src/lib.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | #[proc_macro_derive(CollectDocs, attributes(example, doc))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #151276 [INFO] [stdout] = note: `#[warn(ambiguous_derive_helpers)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stdout] warning: there exists a built-in attribute with the same name [INFO] [stdout] --> src/lib.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | #[proc_macro_derive(CollectDocs, attributes(example, doc))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #151276 [INFO] [stdout] = note: `#[warn(ambiguous_derive_helpers)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> examples/foo.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, serde::Deserialize, CollectDocs)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: could not create directory ./docs/generated: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> examples/foo.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[example( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Debug, serde::Deserialize, CollectDocs)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[deny(legacy_derive_helpers)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> examples/foo.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, serde::Deserialize, CollectDocs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `derive-collect-docs` (example "foo") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "27eab55d1aff174ba1668f143225de7a2f89b110cfe1699197c632a97342d332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27eab55d1aff174ba1668f143225de7a2f89b110cfe1699197c632a97342d332", kill_on_drop: false }` [INFO] [stdout] 27eab55d1aff174ba1668f143225de7a2f89b110cfe1699197c632a97342d332