[INFO] cloning repository https://github.com/PtravisCS/rustyForth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PtravisCS/rustyForth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPtravisCS%2FrustyForth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPtravisCS%2FrustyForth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f337e14f7c395736845970fe6584cf6d35c6cfea [INFO] testing PtravisCS/rustyForth against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPtravisCS%2FrustyForth" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PtravisCS/rustyForth 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/PtravisCS/rustyForth [INFO] finished tweaking git repo https://github.com/PtravisCS/rustyForth [INFO] tweaked toml for git repo https://github.com/PtravisCS/rustyForth written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/PtravisCS/rustyForth 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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] dd436fe0095e4d6821666aed87338deb8ab4e59b9b23082f70a694c966016878 [INFO] running `Command { std: "docker" "start" "-a" "dd436fe0095e4d6821666aed87338deb8ab4e59b9b23082f70a694c966016878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd436fe0095e4d6821666aed87338deb8ab4e59b9b23082f70a694c966016878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd436fe0095e4d6821666aed87338deb8ab4e59b9b23082f70a694c966016878", kill_on_drop: false }` [INFO] [stdout] dd436fe0095e4d6821666aed87338deb8ab4e59b9b23082f70a694c966016878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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] 13780161357b468c2166f9c4fb08fa10aae43365dd9166e22d73a3a3cf0cbd5f [INFO] running `Command { std: "docker" "start" "-a" "13780161357b468c2166f9c4fb08fa10aae43365dd9166e22d73a3a3cf0cbd5f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rusty_p_forth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | if (word.word_type == "function") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - if (word.word_type == "function") { [INFO] [stdout] 73 + if word.word_type == "function" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | } else if (word.word_type == "user_defined") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - } else if (word.word_type == "user_defined") { [INFO] [stdout] 78 + } else if word.word_type == "user_defined" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `word_type` on type `&for<'r> fn(&'r mut Vec)` [INFO] [stdout] --> src/main.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | if (word.word_type == "function") { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pointer` on type `&for<'r> fn(&'r mut Vec)` [INFO] [stdout] --> src/main.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | let func = word.pointer; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `word_type` on type `&for<'r> fn(&'r mut Vec)` [INFO] [stdout] --> src/main.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | } else if (word.word_type == "user_defined") { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `definition` on type `&for<'r> fn(&'r mut Vec)` [INFO] [stdout] --> src/main.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | parse_line(word.definition, stack, words); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | stack.push(instruction); [INFO] [stdout] | ^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 63 | fn parse_line(line: String, stack: &mut Vec, words: HashMap)>) -> Result<(), String> { [INFO] [stdout] | ------------------ expected `Result<(), String>` because of return type [INFO] [stdout] ... [INFO] [stdout] 67 | / for instruction in instructions { [INFO] [stdout] 68 | | [INFO] [stdout] 69 | | if words.contains_key(instruction) { [INFO] [stdout] 70 | | [INFO] [stdout] ... | [INFO] [stdout] 89 | | [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), String>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 67 ~ Ok(for instruction in instructions { [INFO] [stdout] 68 | [INFO] [stdout] 69 | if words.contains_key(instruction) { [INFO] [stdout] 70 | [INFO] [stdout] 71 | let word = words.get(instruction).unwrap(); [INFO] [stdout] 72 | [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | word_type: "function", [INFO] [stdout] | ^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | defenition: "" [INFO] [stdout] | ^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_p_forth` due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "13780161357b468c2166f9c4fb08fa10aae43365dd9166e22d73a3a3cf0cbd5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13780161357b468c2166f9c4fb08fa10aae43365dd9166e22d73a3a3cf0cbd5f", kill_on_drop: false }` [INFO] [stdout] 13780161357b468c2166f9c4fb08fa10aae43365dd9166e22d73a3a3cf0cbd5f