[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPtravisCS%2FrustyForth" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PtravisCS/rustyForth on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-14/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 653b48f3ef5aa721ab415371bce7f7fbe43c06687488d276622168e3f5ad41f7 [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" "653b48f3ef5aa721ab415371bce7f7fbe43c06687488d276622168e3f5ad41f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "653b48f3ef5aa721ab415371bce7f7fbe43c06687488d276622168e3f5ad41f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "653b48f3ef5aa721ab415371bce7f7fbe43c06687488d276622168e3f5ad41f7", kill_on_drop: false }` [INFO] [stdout] 653b48f3ef5aa721ab415371bce7f7fbe43c06687488d276622168e3f5ad41f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2187a4d6dc75861e83c148bea5bebd1ec688f21e8accdf70ced92e4d75b6983 [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" "c2187a4d6dc75861e83c148bea5bebd1ec688f21e8accdf70ced92e4d75b6983", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling yaml-rust v0.3.5 [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" "c2187a4d6dc75861e83c148bea5bebd1ec688f21e8accdf70ced92e4d75b6983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2187a4d6dc75861e83c148bea5bebd1ec688f21e8accdf70ced92e4d75b6983", kill_on_drop: false }` [INFO] [stdout] c2187a4d6dc75861e83c148bea5bebd1ec688f21e8accdf70ced92e4d75b6983