[INFO] cloning repository https://github.com/49nord/unsafety-dance-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/49nord/unsafety-dance-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F49nord%2Funsafety-dance-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F49nord%2Funsafety-dance-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9402f94793606331559b0620a0950d7f64612c12 [INFO] testing 49nord/unsafety-dance-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F49nord%2Funsafety-dance-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/49nord/unsafety-dance-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/49nord/unsafety-dance-rs [INFO] finished tweaking git repo https://github.com/49nord/unsafety-dance-rs [INFO] tweaked toml for git repo https://github.com/49nord/unsafety-dance-rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/49nord/unsafety-dance-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a55795a2a9fe42df58ef6bfc19f3d8afb37ba64d86c25f0e1c179099038de9e [INFO] running `Command { std: "docker" "start" "-a" "5a55795a2a9fe42df58ef6bfc19f3d8afb37ba64d86c25f0e1c179099038de9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a55795a2a9fe42df58ef6bfc19f3d8afb37ba64d86c25f0e1c179099038de9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a55795a2a9fe42df58ef6bfc19f3d8afb37ba64d86c25f0e1c179099038de9e", kill_on_drop: false }` [INFO] [stdout] 5a55795a2a9fe42df58ef6bfc19f3d8afb37ba64d86c25f0e1c179099038de9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6a1276404ebc344dfe84d6f870329dd6a7ccf11b7c2b85d6cc10d5618bff606a [INFO] running `Command { std: "docker" "start" "-a" "6a1276404ebc344dfe84d6f870329dd6a7ccf11b7c2b85d6cc10d5618bff606a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unsafety-dance v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | 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-04-10-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-04-10-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-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/main.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 `syntax` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | codemap: &codemap::CodeMap, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/main.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | span: codemap::Span, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `codemap` [INFO] [stdout] --> src/main.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe_nodes: Vec, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `codemap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> visit::Visitor<'a> for UnsafeVisitor { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/main.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | fn visit_block(&mut self, b: &ast::Block) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/main.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | if let ast::BlockCheckMode::Unsafe(_) = b.rules { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | visit::walk_block(self, b); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/main.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_item(&mut self, i: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/main.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if let ast::ItemKind::Fn(ref _decl, ref header, ref _generics, ref _block) = i.node { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/main.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | if header.unsafety == ast::Unsafety::Unsafe { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | visit::walk_item(self, i) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/main.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | fn visit_mac(&mut self, mac: &ast::Mac) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | visit::walk_mac(self, mac); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | visit::walk_crate(&mut visitor, krate); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileController` [INFO] [stdout] --> src/main.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | let mut control = CompileController::basic(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CompileController` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compilation` [INFO] [stdout] --> src/main.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | control.after_parse.stop = Compilation::Stop; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Compilation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompileState` in this scope [INFO] [stdout] --> src/main.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | fn process_ast(state: &mut CompileState) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `CompilerCalls` in this scope [INFO] [stdout] --> src/main.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> CompilerCalls<'a> for UnsafeAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/main.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | fn build_controller(self: Box, _: &Session, _: &Matches) -> CompileController<'a> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompileController` in this scope [INFO] [stdout] --> src/main.rs:98:71 [INFO] [stdout] | [INFO] [stdout] 98 | fn build_controller(self: Box, _: &Session, _: &Matches) -> CompileController<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 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 compile `unsafety-dance` due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "6a1276404ebc344dfe84d6f870329dd6a7ccf11b7c2b85d6cc10d5618bff606a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a1276404ebc344dfe84d6f870329dd6a7ccf11b7c2b85d6cc10d5618bff606a", kill_on_drop: false }` [INFO] [stdout] 6a1276404ebc344dfe84d6f870329dd6a7ccf11b7c2b85d6cc10d5618bff606a