[INFO] cloning repository https://github.com/humanity-co/code-that-dreams
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/humanity-co/code-that-dreams" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumanity-co%2Fcode-that-dreams", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumanity-co%2Fcode-that-dreams'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 89aed3b5af5bbaa41ae4a7eb19c684b93747dd59
[INFO] testing humanity-co/code-that-dreams against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumanity-co%2Fcode-that-dreams" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/humanity-co/code-that-dreams
[INFO] finished tweaking git repo https://github.com/humanity-co/code-that-dreams
[INFO] tweaked toml for git repo https://github.com/humanity-co/code-that-dreams written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/humanity-co/code-that-dreams on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/humanity-co/code-that-dreams 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: depenedencies
[INFO] [stderr] warning: `code-that-dreams` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 989bed3a08a9d55d48018497114ee04907359be3aeec7e229f1d47bacd9f4dc4
[INFO] running `Command { std: "docker" "start" "989bed3a08a9d55d48018497114ee04907359be3aeec7e229f1d47bacd9f4dc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "989bed3a08a9d55d48018497114ee04907359be3aeec7e229f1d47bacd9f4dc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "989bed3a08a9d55d48018497114ee04907359be3aeec7e229f1d47bacd9f4dc4" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "989bed3a08a9d55d48018497114ee04907359be3aeec7e229f1d47bacd9f4dc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "989bed3a08a9d55d48018497114ee04907359be3aeec7e229f1d47bacd9f4dc4" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: depenedencies
[INFO] [stderr] warning: `code-that-dreams` (manifest) generated 1 warning
[INFO] [stderr]    Compiling code-that-dreams v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]  --> src/dream/generator.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::seq::IndexedRandom;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]  --> src/dream/mutator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::seq::IndexedRandom;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/dream/generator.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::RngExt;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/dream/mutator.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::RngExt;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]  --> src/interpreter/analyzer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::seq::IndexedRandom;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rhai`
[INFO] [stdout]  --> src/sandbox/executor.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rhai::{Engine, Scope, OptimizationLevel};
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rhai`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rhai`, use `cargo add rhai` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/interpreter/analyzer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::RngExt;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> src/core/state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]  --> src/main.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rhai` in this scope
[INFO] [stdout]   --> src/sandbox/executor.rs:44:22
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 Some(rhai::Dynamic::from("Execution timed out".to_string()))
[INFO] [stdout]    |                      ^^^^ use of unresolved module or unlinked crate `rhai`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rhai`, use `cargo add rhai` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> src/core/engine.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             tokio::time::sleep(std::time::Duration::from_secs(5)).await;
[INFO] [stdout]    |             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/core/engine.rs:31:61
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let dream = if self.state.history.is_empty() || rand::random::<f64>() < 0.3 {
[INFO] [stdout]    |                                                             ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/main.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/dream/generator.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut rng = rand::rng();
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `choose` found for reference `&'static [&'static str]` in the current scope
[INFO] [stdout]   --> src/dream/generator.rs:19:44
[INFO] [stdout]    |
[INFO] [stdout] 19 |             if let Some(&line) = FRAGMENTS.choose(&mut rng) {
[INFO] [stdout]    |                                            ^^^^^^ method not found in `&'static [&'static str]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/dream/mutator.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut rng = rand::rng();
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/interpreter/analyzer.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut rng = rand::rng();
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `choose` found for reference `&'static [&'static str]` in the current scope
[INFO] [stdout]   --> src/interpreter/analyzer.rs:16:28
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let theme = THEMES.choose(&mut rng).unwrap_or(&"Unknown");
[INFO] [stdout]    |                            ^^^^^^ method not found in `&'static [&'static str]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `choose` found for array `[&str; 4]` in the current scope
[INFO] [stdout]   --> src/interpreter/analyzer.rs:47:45
[INFO] [stdout]    |
[INFO] [stdout] 47 |         hallucinations.push(random_thoughts.choose(&mut rng).unwrap().to_string());
[INFO] [stdout]    |                                             ^^^^^^ method not found in `[&str; 4]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `code-that-dreams` (bin "code-that-dreams") due to 19 previous errors
[INFO] running `Command { std: "docker" "inspect" "989bed3a08a9d55d48018497114ee04907359be3aeec7e229f1d47bacd9f4dc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "989bed3a08a9d55d48018497114ee04907359be3aeec7e229f1d47bacd9f4dc4", kill_on_drop: false }`
[INFO] [stdout] 989bed3a08a9d55d48018497114ee04907359be3aeec7e229f1d47bacd9f4dc4
