[INFO] cloning repository https://github.com/fee1-dead/mir2c [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fee1-dead/mir2c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffee1-dead%2Fmir2c", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffee1-dead%2Fmir2c'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4bccb0c19de6ee7f5cc721acdfa815348af8d96 [INFO] documenting fee1-dead/mir2c against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffee1-dead%2Fmir2c" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fee1-dead/mir2c on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/fee1-dead/mir2c [INFO] finished tweaking git repo https://github.com/fee1-dead/mir2c [INFO] tweaked toml for git repo https://github.com/fee1-dead/mir2c written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/fee1-dead/mir2c already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_tools_util v0.2.0 [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" "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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ef91f08e03f24dcd6df5e5de9bdb07bd109fd5348cd1360359d19f80c61ae16 [INFO] running `Command { std: "docker" "start" "-a" "4ef91f08e03f24dcd6df5e5de9bdb07bd109fd5348cd1360359d19f80c61ae16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef91f08e03f24dcd6df5e5de9bdb07bd109fd5348cd1360359d19f80c61ae16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef91f08e03f24dcd6df5e5de9bdb07bd109fd5348cd1360359d19f80c61ae16", kill_on_drop: false }` [INFO] [stdout] 4ef91f08e03f24dcd6df5e5de9bdb07bd109fd5348cd1360359d19f80c61ae16 [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" "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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96590207d947884c210f3c673b49b1d0fe48833a64dd3e7f2e4972143c3bcd84 [INFO] running `Command { std: "docker" "start" "-a" "96590207d947884c210f3c673b49b1d0fe48833a64dd3e7f2e4972143c3bcd84", kill_on_drop: false }` [INFO] [stderr] Checking rustc_tools_util v0.2.0 [INFO] [stderr] Documenting mir2c v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rustc_const_eval` [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_const_eval; [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_data_structures` [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | extern crate rustc_data_structures; [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/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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_interface` [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern crate rustc_interface; [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_middle` [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern crate rustc_middle; [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_span` [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern crate rustc_span; [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_target` [INFO] [stdout] --> src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern crate rustc_target; [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[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | struct DumpMirGuard<'a, 'tcx>(TyCtxt<'tcx>, &'a mir::Body<'tcx>); [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ty` [INFO] [stdout] --> src/main.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | fn konst(&mut self, konst: &ty::Const<'tcx>) { [INFO] [stdout] | ^^ use of undeclared crate or module `ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:229:32 [INFO] [stdout] | [INFO] [stdout] 229 | fn rvalue(&mut self, mir: &mir::Body<'tcx>, rvalue: &Rvalue<'tcx>) { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:290:72 [INFO] [stdout] | [INFO] [stdout] 290 | fn instance_header(&mut self, instance: &Instance<'tcx>) -> Option> { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mir` [INFO] [stdout] --> src/main.rs:323:36 [INFO] [stdout] | [INFO] [stdout] 323 | fn terminator(&mut self, mir: &mir::Body<'tcx>, terminator: &Terminator<'tcx>) { [INFO] [stdout] | ^^^ use of undeclared crate or module `mir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/main.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | tcx: TyCtxt<'tcx>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FxIndexMap` in this scope [INFO] [stdout] --> src/main.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | types_to_compute: FxIndexMap, usize>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/main.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | types_to_compute: FxIndexMap, usize>, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/main.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | struct DumpMirGuard<'a, 'tcx>(TyCtxt<'tcx>, &'a mir::Body<'tcx>); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TyCtxt` in this scope [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | fn new(tcx: TyCtxt<'tcx>) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/main.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | fn n_of_ty(&mut self, elem: Ty<'tcx>) -> usize { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/main.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | fn ty(&mut self, ty: Ty<'tcx>) -> Cow<'static, str> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Operand` in this scope [INFO] [stdout] --> src/main.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | fn operand(&mut self, op: &Operand<'tcx>) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rvalue` in this scope [INFO] [stdout] --> src/main.rs:229:58 [INFO] [stdout] | [INFO] [stdout] 229 | fn rvalue(&mut self, mir: &mir::Body<'tcx>, rvalue: &Rvalue<'tcx>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/main.rs:290:46 [INFO] [stdout] | [INFO] [stdout] 290 | fn instance_header(&mut self, instance: &Instance<'tcx>) -> Option> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Terminator` in this scope [INFO] [stdout] --> src/main.rs:323:66 [INFO] [stdout] | [INFO] [stdout] 323 | fn terminator(&mut self, mir: &mir::Body<'tcx>, terminator: &Terminator<'tcx>) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instance` in this scope [INFO] [stdout] --> src/main.rs:408:39 [INFO] [stdout] | [INFO] [stdout] 408 | fn instance(&mut self, instance: &Instance<'tcx>) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/main.rs:453:36 [INFO] [stdout] | [INFO] [stdout] 453 | fn prototype(&mut self, item: &MonoItem<'tcx>) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MonoItem` in this scope [INFO] [stdout] --> src/main.rs:462:33 [INFO] [stdout] | [INFO] [stdout] 462 | fn define(&mut self, item: &MonoItem<'tcx>) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Callbacks` in this scope [INFO] [stdout] --> src/main.rs:490:6 [INFO] [stdout] | [INFO] [stdout] 490 | impl Callbacks for Mir2c { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Compiler` in this scope [INFO] [stdout] --> src/main.rs:493:21 [INFO] [stdout] | [INFO] [stdout] 493 | _compiler: &Compiler, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Queries` in this scope [INFO] [stdout] --> src/main.rs:494:24 [INFO] [stdout] | [INFO] [stdout] 494 | queries: &'tcx Queries<'tcx>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(if_let_guard)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(let_else)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not document `mir2c` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name mir2c src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=4ab90a610d9bc7cd -L dependency=/opt/rustwide/target/debug/deps --extern rustc_tools_util=/opt/rustwide/target/debug/deps/librustc_tools_util-498e4c457b33b7e1.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "96590207d947884c210f3c673b49b1d0fe48833a64dd3e7f2e4972143c3bcd84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96590207d947884c210f3c673b49b1d0fe48833a64dd3e7f2e4972143c3bcd84", kill_on_drop: false }` [INFO] [stdout] 96590207d947884c210f3c673b49b1d0fe48833a64dd3e7f2e4972143c3bcd84