[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] checking Payne325/adventur against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPayne325%2Fadventur" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Payne325/adventur on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 31bf029cb66a36f355d377d36dd0ce5b751843f6d92f8b886eb3242855ba9e32 [INFO] running `Command { std: "docker" "start" "-a" "31bf029cb66a36f355d377d36dd0ce5b751843f6d92f8b886eb3242855ba9e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31bf029cb66a36f355d377d36dd0ce5b751843f6d92f8b886eb3242855ba9e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31bf029cb66a36f355d377d36dd0ce5b751843f6d92f8b886eb3242855ba9e32", kill_on_drop: false }` [INFO] [stdout] 31bf029cb66a36f355d377d36dd0ce5b751843f6d92f8b886eb3242855ba9e32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=forbid" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19dc13a5f57e8f96101b4a96a4971b65ff528c3161dff51ce4b55fcb9ada838e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "19dc13a5f57e8f96101b4a96a4971b65ff528c3161dff51ce4b55fcb9ada838e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking choose v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `PageData` [INFO] [stdout] --> src/page_reader.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 29 | page_battle_initiated = if contentVec[2] == True { true } else { false } [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 30 | [INFO] [stdout] 31 | PageData { [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: expected one of `.`, `;`, `?`, `}`, or an operator, found `PageData` [INFO] [stdout] --> src/page_reader.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 29 | page_battle_initiated = if contentVec[2] == True { true } else { false } [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 30 | [INFO] [stdout] 31 | PageData { [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[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] | ^^ use of undeclared crate or module `io` [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] | ^^ use of undeclared crate or module `io` [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 = [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[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[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[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 = [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[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[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[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[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 struct `PageResult` [INFO] [stdout] 63 | | } [INFO] [stdout] | | -- help: consider using a semicolon here [INFO] [stdout] | |___| [INFO] [stdout] | expected this to be `()` [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] [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: consider removing this semicolon [INFO] [stdout] 104 | | } [INFO] [stdout] | |___^ expected struct `PageResult`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0423, E0425, E0433, E0600, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `choose` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 struct `PageResult` [INFO] [stdout] 63 | | } [INFO] [stdout] | | -- help: consider using a semicolon here [INFO] [stdout] | |___| [INFO] [stdout] | expected this to be `()` [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] [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: consider removing this semicolon [INFO] [stdout] 104 | | } [INFO] [stdout] | |___^ expected struct `PageResult`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0423, E0425, E0433, E0600, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "19dc13a5f57e8f96101b4a96a4971b65ff528c3161dff51ce4b55fcb9ada838e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19dc13a5f57e8f96101b4a96a4971b65ff528c3161dff51ce4b55fcb9ada838e", kill_on_drop: false }` [INFO] [stdout] 19dc13a5f57e8f96101b4a96a4971b65ff528c3161dff51ce4b55fcb9ada838e