[INFO] fetching crate unsafe_ls 0.1.0... [INFO] documenting unsafe_ls-0.1.0 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate unsafe_ls 0.1.0 into /workspace/builds/worker-36/source [INFO] validating manifest of crates.io crate unsafe_ls 0.1.0 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unsafe_ls 0.1.0 [INFO] finished tweaking crates.io crate unsafe_ls 0.1.0 [INFO] tweaked toml for crates.io crate unsafe_ls 0.1.0 written to /workspace/builds/worker-36/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-36/source/src/unsafe_ls.rs` was erroneously implicitly accepted for binary `unsafe_ls`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d905ced78da7d6facea468b798eb66974e5902f5a064c7401d5f4750ca4592e [INFO] running `Command { std: "docker" "start" "-a" "1d905ced78da7d6facea468b798eb66974e5902f5a064c7401d5f4750ca4592e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d905ced78da7d6facea468b798eb66974e5902f5a064c7401d5f4750ca4592e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d905ced78da7d6facea468b798eb66974e5902f5a064c7401d5f4750ca4592e", kill_on_drop: false }` [INFO] [stdout] 1d905ced78da7d6facea468b798eb66974e5902f5a064c7401d5f4750ca4592e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 649553f08ed082d8c73caa94547dd81829fd81bfb072621ab6d5ea177cffc47c [INFO] running `Command { std: "docker" "start" "-a" "649553f08ed082d8c73caa94547dd81829fd81bfb072621ab6d5ea177cffc47c", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/unsafe_ls.rs` was erroneously implicitly accepted for binary `unsafe_ls`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Documenting unsafe_ls v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/unsafe_ls.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use rustc::session::{mod, config}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `mod` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 14 | use rustc::session::{r#mod, config}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> src/unsafe_ls.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | fn get_ast(path: Path, libs: Vec, f: |ty::ctxt| -> T) -> T { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `arena` [INFO] [stdout] --> src/unsafe_ls.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate arena; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/unsafe_ls.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/unsafe_ls.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-05-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_back` [INFO] [stdout] --> src/unsafe_ls.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate rustc_back; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/unsafe_ls.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_trans` [INFO] [stdout] --> src/unsafe_ls.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate rustc_trans; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_typeck` [INFO] [stdout] --> src/unsafe_ls.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate rustc_typeck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/visitor.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | impl fmt::Show for NodeInfo { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/unsafe_ls.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | libs: Vec [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/unsafe_ls.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | fn run_library(&self, path: Path) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/unsafe_ls.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | fn get_ast(path: Path, libs: Vec, f: |ty::ctxt| -> T) -> T { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/unsafe_ls.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | fn get_ast(path: Path, libs: Vec, f: |ty::ctxt| -> T) -> T { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/unsafe_ls.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not document `unsafe_ls` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name unsafe_ls src/unsafe_ls.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=266472b42e27a8fc -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "649553f08ed082d8c73caa94547dd81829fd81bfb072621ab6d5ea177cffc47c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649553f08ed082d8c73caa94547dd81829fd81bfb072621ab6d5ea177cffc47c", kill_on_drop: false }` [INFO] [stdout] 649553f08ed082d8c73caa94547dd81829fd81bfb072621ab6d5ea177cffc47c