[INFO] cloning repository https://github.com/andrewyli/rust-madlibs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewyli/rust-madlibs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewyli%2Frust-madlibs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewyli%2Frust-madlibs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1a1f6b7e7c639896ff1d0b1950792a576fd28f2b
[INFO] testing andrewyli/rust-madlibs against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewyli%2Frust-madlibs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/andrewyli/rust-madlibs on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/andrewyli/rust-madlibs
[INFO] finished tweaking git repo https://github.com/andrewyli/rust-madlibs
[INFO] tweaked toml for git repo https://github.com/andrewyli/rust-madlibs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/andrewyli/rust-madlibs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8a4d819907bdd8306078d873a77343c62ee482adc2ef9c1cbd8b0b6b5ccdab62
[INFO] running `Command { std: "docker" "start" "-a" "8a4d819907bdd8306078d873a77343c62ee482adc2ef9c1cbd8b0b6b5ccdab62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8a4d819907bdd8306078d873a77343c62ee482adc2ef9c1cbd8b0b6b5ccdab62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a4d819907bdd8306078d873a77343c62ee482adc2ef9c1cbd8b0b6b5ccdab62", kill_on_drop: false }`
[INFO] [stdout] 8a4d819907bdd8306078d873a77343c62ee482adc2ef9c1cbd8b0b6b5ccdab62
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 555821f1d5dbd99a56ffcc8d8828bc8bf0d39db08226c8cb2641405dca885720
[INFO] running `Command { std: "docker" "start" "-a" "555821f1d5dbd99a56ffcc8d8828bc8bf0d39db08226c8cb2641405dca885720", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-madlibs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `regex_macros`
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate regex_macros;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `regex`
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate regex;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: malformed `plugin` attribute input
[INFO] [stdout]  --> src/lib.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use] #[plugin] #[no_link]
[INFO] [stdout]   |              ^^^^^^^^^ help: must be of the form: `#[plugin(name)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `regex` in this scope
[INFO] [stdout]   --> src/lib.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let re = regex!(s.as_slice());
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | extern crate regex;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: compiler plugins are deprecated
[INFO] [stdout]  --> src/lib.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use] #[plugin] #[no_link]
[INFO] [stdout]   |              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #29597 <https://github.com/rust-lang/rust/issues/29597> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
[INFO] [stdout]  --> src/lib.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use] #[plugin] #[no_link]
[INFO] [stdout]   |              ^^^^^^^^^ help: may be removed in a future compiler version
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[feature(plugin)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
[INFO] [stdout]  --> src/lib.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use] #[plugin] #[no_link]
[INFO] [stdout]   |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:14:33
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let input = io::stdin().read_line().ok().expect("Failed to read line.");
[INFO] [stdout]    |                                 ^^^^^^^^^-- an argument of type `&mut String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/io/stdio.rs:387:12
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let input = io::stdin().read_line(/* &mut String */).ok().expect("Failed to read line.");
[INFO] [stdout]    |                                          ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/lib.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let line = input.as_slice();
[INFO] [stdout]    |                          ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `usize: Neg` is not satisfied
[INFO] [stdout]   --> src/lib.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |         None => -1,
[INFO] [stdout]    |                 ^^ the trait `Neg` is not implemented for `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Neg`:
[INFO] [stdout]              &f32
[INFO] [stdout]              &f64
[INFO] [stdout]              &i128
[INFO] [stdout]              &i16
[INFO] [stdout]              &i32
[INFO] [stdout]              &i64
[INFO] [stdout]              &i8
[INFO] [stdout]              &isize
[INFO] [stdout]            and 8 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/lib.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |       let r_index = match r_duple {
[INFO] [stdout]    |  ___________________-
[INFO] [stdout] 40 | |         Some((x, y)) => y,
[INFO] [stdout]    | |                         - this is found to be of type `&str`
[INFO] [stdout] 41 | |         None => -1,
[INFO] [stdout]    | |                 ^^ expected `&str`, found integer
[INFO] [stdout] 42 | |     };
[INFO] [stdout]    | |_____- `match` arms have incompatible types
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `usize`
[INFO] [stdout]   --> src/lib.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 |     if l_index == -1 {
[INFO] [stdout]    |                   ^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   cannot apply unary operator `-`
[INFO] [stdout]    |                   help: you may have meant the maximum value of `usize`: `usize::MAX`
[INFO] [stdout]    |
[INFO] [stdout]    = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/lib.rs:47:40
[INFO] [stdout]    |
[INFO] [stdout] 47 |         println!("Give me a/an {}!", s.slice(l_index + 1, r_index - 1));
[INFO] [stdout]    |                                        ^^^^^ help: there is a method with a similar name: `split_once`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:48:38
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let input = std::io::stdin().read_line().ok().expect("Failed to fill blank.");
[INFO] [stdout]    |                                      ^^^^^^^^^-- an argument of type `&mut String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/io/stdio.rs:387:12
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let input = std::io::stdin().read_line(/* &mut String */).ok().expect("Failed to fill blank.");
[INFO] [stdout]    |                                               ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/lib.rs:50:22
[INFO] [stdout]    |
[INFO] [stdout] 50 |         re.replace(s.slice(l_index, r_index), input.as_slice().trim());
[INFO] [stdout]    |                      ^^^^^ help: there is a method with a similar name: `split_once`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/lib.rs:50:53
[INFO] [stdout]    |
[INFO] [stdout] 50 |         re.replace(s.slice(l_index, r_index), input.as_slice().trim());
[INFO] [stdout]    |                                                     ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 |       else {
[INFO] [stdout]    |  __________^
[INFO] [stdout] 47 | |         println!("Give me a/an {}!", s.slice(l_index + 1, r_index - 1));
[INFO] [stdout] 48 | |         let input = std::io::stdin().read_line().ok().expect("Failed to fill blank.");
[INFO] [stdout] 49 | |         let re = regex!(s.as_slice());
[INFO] [stdout] 50 | |         re.replace(s.slice(l_index, r_index), input.as_slice().trim());
[INFO] [stdout] 51 | |         re.as_str().to_string();
[INFO] [stdout] 52 | |     }
[INFO] [stdout]    | |_____^ expected `String`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0463, E0599, E0600, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-madlibs` (lib) due to 16 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "555821f1d5dbd99a56ffcc8d8828bc8bf0d39db08226c8cb2641405dca885720", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "555821f1d5dbd99a56ffcc8d8828bc8bf0d39db08226c8cb2641405dca885720", kill_on_drop: false }`
[INFO] [stdout] 555821f1d5dbd99a56ffcc8d8828bc8bf0d39db08226c8cb2641405dca885720
