[INFO] cloning repository https://github.com/omerbenamram/rust-63283-mcve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omerbenamram/rust-63283-mcve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2Frust-63283-mcve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2Frust-63283-mcve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e81bdcea67e772dc6c48f31cf504f45661a462f6 [INFO] testing omerbenamram/rust-63283-mcve against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2Frust-63283-mcve" "/workspace/builds/worker-99/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-99/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/omerbenamram/rust-63283-mcve on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/omerbenamram/rust-63283-mcve [INFO] finished tweaking git repo https://github.com/omerbenamram/rust-63283-mcve [INFO] tweaked toml for git repo https://github.com/omerbenamram/rust-63283-mcve written to /workspace/builds/worker-99/source/Cargo.toml [INFO] crate git repo https://github.com/omerbenamram/rust-63283-mcve already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.4.0 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19e1a2c4ad8f9076432734e3a7bc62c3f14ed8bb7bfe3470276a4cca8caf275d [INFO] running `Command { std: "docker" "start" "-a" "19e1a2c4ad8f9076432734e3a7bc62c3f14ed8bb7bfe3470276a4cca8caf275d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19e1a2c4ad8f9076432734e3a7bc62c3f14ed8bb7bfe3470276a4cca8caf275d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e1a2c4ad8f9076432734e3a7bc62c3f14ed8bb7bfe3470276a4cca8caf275d", kill_on_drop: false }` [INFO] [stdout] 19e1a2c4ad8f9076432734e3a7bc62c3f14ed8bb7bfe3470276a4cca8caf275d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bfe2691bd9db0357c21d0b345acbeeed55228102da742d2dcc866c87553754d [INFO] running `Command { std: "docker" "start" "-a" "7bfe2691bd9db0357c21d0b345acbeeed55228102da742d2dcc866c87553754d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling string_decryption v0.1.0 (/opt/rustwide/workdir/string-decryption) [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling string_encryption_plugin v0.1.0 (/opt/rustwide/workdir/string-encryption-plugin) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin_registrar, 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[E0463]: can't find crate for `syntax` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_pos` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syntax_pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | 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: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[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 `DummyResult` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | None => return DummyResult::expr(sp), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DummyResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacEager` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | MacEager::expr(cx.expr_call( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MacEager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ident` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | vec![Ident::from_str("string_decryption"), Ident::from_str("d")], [INFO] [stdout] | ^^^^^ use of undeclared type `Ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ident` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:44:56 [INFO] [stdout] | [INFO] [stdout] 44 | vec![Ident::from_str("string_decryption"), Ident::from_str("d")], [INFO] [stdout] | ^^^^^ use of undeclared type `Ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | cx.expr_lit(sp, LitKind::ByteStr(Rc::new(bytes))) [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn encrypt_str(cx: &mut ExtCtxt<'_>, sp: Span, tts: &[TokenTree]) -> Box { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | fn encrypt_str(cx: &mut ExtCtxt<'_>, sp: Span, tts: &[TokenTree]) -> Box { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | fn encrypt_str(cx: &mut ExtCtxt<'_>, sp: Span, tts: &[TokenTree]) -> Box { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:25:78 [INFO] [stdout] | [INFO] [stdout] 25 | fn encrypt_str(cx: &mut ExtCtxt<'_>, sp: Span, tts: &[TokenTree]) -> Box { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_single_str_from_tts` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let text = match get_single_str_from_tts(cx, sp, tts, "e!") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | fn create_enc_expr(cx: &mut ExtCtxt<'_>, sp: Span, text: &str) -> Box { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | fn create_enc_expr(cx: &mut ExtCtxt<'_>, sp: Span, text: &str) -> Box { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | fn create_enc_expr(cx: &mut ExtCtxt<'_>, sp: Span, text: &str) -> Box { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_expr_from_bytes(cx: &mut ExtCtxt<'_>, sp: Span, bytes: Vec) -> P { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_expr_from_bytes(cx: &mut ExtCtxt<'_>, sp: Span, bytes: Vec) -> P { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:66:75 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_expr_from_bytes(cx: &mut ExtCtxt<'_>, sp: Span, bytes: Vec) -> P { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:66:77 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_expr_from_bytes(cx: &mut ExtCtxt<'_>, sp: Span, bytes: Vec) -> P { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | 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 stable release channel [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> string-encryption-plugin/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `string_encryption_plugin` due to 25 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7bfe2691bd9db0357c21d0b345acbeeed55228102da742d2dcc866c87553754d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bfe2691bd9db0357c21d0b345acbeeed55228102da742d2dcc866c87553754d", kill_on_drop: false }` [INFO] [stdout] 7bfe2691bd9db0357c21d0b345acbeeed55228102da742d2dcc866c87553754d