[INFO] fetching crate sorty 0.1.2... [INFO] testing sorty-0.1.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate sorty 0.1.2 into /workspace/builds/worker-116/source [INFO] validating manifest of crates.io crate sorty 0.1.2 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 crates.io crate sorty 0.1.2 [INFO] finished tweaking crates.io crate sorty 0.1.2 [INFO] tweaked toml for crates.io crate sorty 0.1.2 written to /workspace/builds/worker-116/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb5c4d956790afe5ccd937932273cf7a3b6df38236bd60e9e93c0c9cca6a08eb [INFO] running `Command { std: "docker" "start" "-a" "fb5c4d956790afe5ccd937932273cf7a3b6df38236bd60e9e93c0c9cca6a08eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb5c4d956790afe5ccd937932273cf7a3b6df38236bd60e9e93c0c9cca6a08eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5c4d956790afe5ccd937932273cf7a3b6df38236bd60e9e93c0c9cca6a08eb", kill_on_drop: false }` [INFO] [stdout] fb5c4d956790afe5ccd937932273cf7a3b6df38236bd60e9e93c0c9cca6a08eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d946396983a44b7c235988e12e4519c069696306e21f88683eef87968e31cd3e [INFO] running `Command { std: "docker" "start" "-a" "d946396983a44b7c235988e12e4519c069696306e21f88683eef87968e31cd3e", kill_on_drop: false }` [INFO] [stderr] Compiling sorty v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin_registrar, plugin, box_syntax, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: a __rustc_plugin_registrar symbol must now be defined instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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.asan.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.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] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rustc_plugin; [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/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_lint` in this scope [INFO] [stdout] --> src/sorty.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | declare_lint!(UNSORTED_DECLARATIONS, Warn, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/sorty.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | lint_array!(UNSORTED_DECLARATIONS) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/sorty.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | ItemKind::ExternCrate(ref optional_name) if item_name != "std" => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/sorty.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | ItemKind::Mod(ref module) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemKind` [INFO] [stdout] --> src/sorty.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | ItemKind::Use(ref spanned) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ViewPath_` [INFO] [stdout] --> src/sorty.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | ViewPath_::ViewPathSimple(ref ident, ref path) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ViewPath_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ViewPath_` [INFO] [stdout] --> src/sorty.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | ViewPath_::ViewPathList(ref path, ref list) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ViewPath_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `keywords` [INFO] [stdout] --> src/sorty.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | ... if list_item.node.name.name == keywords::SelfValue.name() { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `keywords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ViewPath_` [INFO] [stdout] --> src/sorty.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | ViewPath_::ViewPathGlob(ref path) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ViewPath_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visibility` [INFO] [stdout] --> src/sorty.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | Visibility::Public if pub_check => match attr_string.is_empty() { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/sorty.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | &LitKind::Str(ref inner_str, _) => format!("{}", inner_str), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/sorty.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | MetaItemKind::Word => format!("{}", name), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/sorty.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | MetaItemKind::List(ref meta_items) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedMetaItemKind` [INFO] [stdout] --> src/sorty.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 179 | ... NestedMetaItemKind::MetaItem(ref meta) => [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NestedMetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedMetaItemKind` [INFO] [stdout] --> src/sorty.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | ... NestedMetaItemKind::Literal(ref value) => format_literal(&value.node), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NestedMetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/sorty.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | MetaItemKind::NameValue(ref literal) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> src/sorty.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl LintPass for Sorty { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> src/sorty.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EarlyLintPass` in this scope [INFO] [stdout] --> src/sorty.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | impl EarlyLintPass for Sorty { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EarlyContext` in this scope [INFO] [stdout] --> src/sorty.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn check_mod(&mut self, cx: &EarlyContext, module: &Mod, _span: Span, _id: NodeId) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mod` in this scope [INFO] [stdout] --> src/sorty.rs:23:57 [INFO] [stdout] | [INFO] [stdout] 23 | fn check_mod(&mut self, cx: &EarlyContext, module: &Mod, _span: Span, _id: NodeId) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/sorty.rs:23:69 [INFO] [stdout] | [INFO] [stdout] 23 | fn check_mod(&mut self, cx: &EarlyContext, module: &Mod, _span: Span, _id: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/sorty.rs:23:80 [INFO] [stdout] | [INFO] [stdout] 23 | fn check_mod(&mut self, cx: &EarlyContext, module: &Mod, _span: Span, _id: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `path_to_string` in this scope [INFO] [stdout] --> src/sorty.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | ... let path_str = path_to_string(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `path_to_string` in this scope [INFO] [stdout] --> src/sorty.rs:100:66 [INFO] [stdout] | [INFO] [stdout] 100 | ... let use_list = format!("{}::{{{}}}", path_to_string(&path), new_list.join(", ")); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `path_to_string` in this scope [INFO] [stdout] --> src/sorty.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | ... let path_str = path_to_string(&path) + "::*"; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/sorty.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | fn get_item_attrs(item: &Item, pub_check: bool) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitKind` in this scope [INFO] [stdout] --> src/sorty.rs:165:33 [INFO] [stdout] | [INFO] [stdout] 165 | fn format_literal(lit: &LitKind) -> String { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetaItemKind` in this scope [INFO] [stdout] --> src/sorty.rs:173:55 [INFO] [stdout] | [INFO] [stdout] 173 | fn get_meta_as_string(name: &str, meta_item: &MetaItemKind) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/sorty.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | fn check_sort(old_list: &[(String, String, Span, bool)], cx: &EarlyContext, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EarlyContext` in this scope [INFO] [stdout] --> src/sorty.rs:198:71 [INFO] [stdout] | [INFO] [stdout] 198 | fn check_sort(old_list: &[(String, String, Span, bool)], cx: &EarlyContext, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UNSORTED_DECLARATIONS` in this scope [INFO] [stdout] --> src/sorty.rs:246:39 [INFO] [stdout] | [INFO] [stdout] 246 | cx.span_lint_help(UNSORTED_DECLARATIONS, final_span, &message, &suggestion); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn plugin_registrar(reg: &mut Registry) { [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/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin_registrar, plugin, box_syntax, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stderr] error: could not compile `sorty` due to 40 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d946396983a44b7c235988e12e4519c069696306e21f88683eef87968e31cd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d946396983a44b7c235988e12e4519c069696306e21f88683eef87968e31cd3e", kill_on_drop: false }` [INFO] [stdout] d946396983a44b7c235988e12e4519c069696306e21f88683eef87968e31cd3e