[INFO] cloning repository https://github.com/Payne325/adventur
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Payne325/adventur" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPayne325%2Fadventur", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPayne325%2Fadventur'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a8bd6dbb98226c996ec4adb3d69a12cd6df64d23
[INFO] testing Payne325/adventur 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%2FPayne325%2Fadventur" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Payne325/adventur 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/Payne325/adventur
[INFO] finished tweaking git repo https://github.com/Payne325/adventur
[INFO] tweaked toml for git repo https://github.com/Payne325/adventur written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Payne325/adventur 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c717f70baf61a733cbff8486efc16781b44023675aec894ad79d4a03d9989607
[INFO] running `Command { std: "docker" "start" "-a" "c717f70baf61a733cbff8486efc16781b44023675aec894ad79d4a03d9989607", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c717f70baf61a733cbff8486efc16781b44023675aec894ad79d4a03d9989607", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c717f70baf61a733cbff8486efc16781b44023675aec894ad79d4a03d9989607", kill_on_drop: false }`
[INFO] [stdout] c717f70baf61a733cbff8486efc16781b44023675aec894ad79d4a03d9989607
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5f407fef27028b1ed200a996a6a56886a87b62220939b03297ae2ebcd0eaf3d9
[INFO] running `Command { std: "docker" "start" "-a" "5f407fef27028b1ed200a996a6a56886a87b62220939b03297ae2ebcd0eaf3d9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.49
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling choose v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `PageData`
[INFO] [stdout]   --> src/page_reader.rs:29:75
[INFO] [stdout]    |
[INFO] [stdout] 29 |   page_battle_initiated = if contentVec[2] == True { true } else { false }
[INFO] [stdout]    |                                                                           ^ help: add `;` here
[INFO] [stdout] 30 |   
[INFO] [stdout] 31 |   PageData {
[INFO] [stdout]    |   -------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `,`, `.`, `::`, `?`, `{`, `}`, or an operator, found `enemy`
[INFO] [stdout]   --> src/page_reader.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |   PageData {
[INFO] [stdout]    |   -------- while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     battleInitiated : page_battle_initiated
[INFO] [stdout]    |                                            -
[INFO] [stdout]    |                                            |
[INFO] [stdout]    |                                            expected one of 8 possible tokens
[INFO] [stdout]    |                                            help: try adding a comma: `,`
[INFO] [stdout] 35 |     enemy : contentVec[3]
[INFO] [stdout]    |     ^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `PageResult`
[INFO] [stdout]   --> src/page_reader.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     }        
[INFO] [stdout]    |      ^ help: add `;` here
[INFO] [stdout] 58 |     
[INFO] [stdout] 59 |     PageResult {
[INFO] [stdout]    |     ---------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `PageResult`
[INFO] [stdout]   --> src/page_reader.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     }        
[INFO] [stdout]    |      ^ help: add `;` here
[INFO] [stdout] 77 |     
[INFO] [stdout] 78 |     PageResult {
[INFO] [stdout]    |     ---------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `PageResult`
[INFO] [stdout]   --> src/page_reader.rs:92:6
[INFO] [stdout]    |
[INFO] [stdout] 92 |     }        
[INFO] [stdout]    |      ^ help: add `;` here
[INFO] [stdout] 93 |     
[INFO] [stdout] 94 |     PageResult {
[INFO] [stdout]    |     ---------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected a literal
[INFO] [stdout]   --> src/page_reader.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let filename = concat!(page.to_string(), ".txt");
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only literals (like `"foo"`, `-42` and `3.14`) can be passed to `concat!()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `page_options` in this scope
[INFO] [stdout]   --> src/page_reader.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 |   page_options: Vec<i32> = 
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   not found in this scope
[INFO] [stdout]    |   help: maybe you meant to write an assignment here: `let page_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `page_options` in this scope
[INFO] [stdout]   --> src/page_reader.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |     nextPageOptions : page_options,
[INFO] [stdout]    |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Character` in this scope
[INFO] [stdout]   --> src/page_reader.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let enemy = Character {
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::Character;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Character` in this scope
[INFO] [stdout]   --> src/page_reader.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let enemy = Character {
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::Character;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Character` in this scope
[INFO] [stdout]   --> src/page_reader.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let enemy = Character {
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::Character;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/page_reader.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     text : contentVec[0],
[INFO] [stdout]    |            ^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            expected `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `enemy` in initializer of `PageData`
[INFO] [stdout]   --> src/page_reader.rs:31:3
[INFO] [stdout]    |
[INFO] [stdout] 31 |   PageData {
[INFO] [stdout]    |   ^^^^^^^^ missing `enemy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/page_reader.rs:46:2
[INFO] [stdout]    |
[INFO] [stdout] 46 |     io::stdin().read_line(&mut selection_str)
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     use of undeclared crate or module `io`
[INFO] [stdout]    |     help: a builtin type with a similar name exists: `i8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `page_options` on type `PageData`
[INFO] [stdout]   --> src/page_reader.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |       nextPage : page.page_options[0],
[INFO] [stdout]    |                       ^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `text`, `nextPageOptions`, `battleInitiated`, `enemy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/page_reader.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | /    if page.battleInitiated == true {
[INFO] [stdout] 51 | |      let enemy = Character {
[INFO] [stdout] 52 | |        name: String::from("TestingFileReader"),
[INFO] [stdout] 53 | |        skill: 0,
[INFO] [stdout] ...  |
[INFO] [stdout] 59 | |/     PageResult {
[INFO] [stdout] 60 | ||       nextPage : page.page_options[0],
[INFO] [stdout] 61 | ||       enemy : enemy
[INFO] [stdout] 62 | ||     }
[INFO] [stdout]    | ||_____^ expected `()`, found `PageResult`
[INFO] [stdout] 63 | |    }
[INFO] [stdout]    | |____- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]    |
[INFO] [stdout] 59 ~     return PageResult {
[INFO] [stdout] 60 |       nextPage : page.page_options[0],
[INFO] [stdout] 61 |       enemy : enemy
[INFO] [stdout] 62 ~     };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u32`
[INFO] [stdout]   --> src/page_reader.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |       nextPage : -1,
[INFO] [stdout]    |                  ^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  cannot apply unary operator `-`
[INFO] [stdout]    |                  help: you may have meant the maximum value of `u32`: `u32::MAX`
[INFO] [stdout]    |
[INFO] [stdout]    = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/page_reader.rs:85:41
[INFO] [stdout]    |
[INFO] [stdout] 85 |   else if page.nextPageOptions.contains(selection) {  
[INFO] [stdout]    |                                -------- ^^^^^^^^^
[INFO] [stdout]    |                                |        |
[INFO] [stdout]    |                                |        expected `&u32`, found `u32`
[INFO] [stdout]    |                                |        help: consider borrowing here: `&selection`
[INFO] [stdout]    |                                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/slice/mod.rs:2250:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/page_reader.rs:99:8
[INFO] [stdout]     |
[INFO] [stdout] 99  |     else {
[INFO] [stdout]     |  ________^
[INFO] [stdout] 100 | |     //If the user gives invalid input, 
[INFO] [stdout] 101 | |     //then just recursively call this function until valid input is given.
[INFO] [stdout] 102 | |     println!("\n\n\nInvalid Option!\n\n\n");
[INFO] [stdout] 103 | |     process_page(page);
[INFO] [stdout]     | |                       - help: remove this semicolon to return this value
[INFO] [stdout] 104 | |   }
[INFO] [stdout]     | |___^ expected `PageResult`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found module `page_reader`
[INFO] [stdout]   --> src/main.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |   let page_data = page_reader(1);
[INFO] [stdout]    |                   ^^^^^^^^^^^ not a function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0422, E0423, E0425, E0433, E0600, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `choose` (bin "choose") due to 21 previous errors
[INFO] running `Command { std: "docker" "inspect" "5f407fef27028b1ed200a996a6a56886a87b62220939b03297ae2ebcd0eaf3d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f407fef27028b1ed200a996a6a56886a87b62220939b03297ae2ebcd0eaf3d9", kill_on_drop: false }`
[INFO] [stdout] 5f407fef27028b1ed200a996a6a56886a87b62220939b03297ae2ebcd0eaf3d9
