[INFO] cloning repository https://github.com/vivsqrt/risp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivsqrt/risp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivsqrt%2Frisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivsqrt%2Frisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f28b95550b9caf563926b08722894e8b4c03613c [INFO] checking vivsqrt/risp against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivsqrt%2Frisp" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vivsqrt/risp on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vivsqrt/risp [INFO] finished tweaking git repo https://github.com/vivsqrt/risp [INFO] tweaked toml for git repo https://github.com/vivsqrt/risp written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/vivsqrt/risp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4890104b68ea3d29f73d44c2fc9303c01fbbdd54c1ef2ee149cf1b6f7c3d4ec9 [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" "4890104b68ea3d29f73d44c2fc9303c01fbbdd54c1ef2ee149cf1b6f7c3d4ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4890104b68ea3d29f73d44c2fc9303c01fbbdd54c1ef2ee149cf1b6f7c3d4ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4890104b68ea3d29f73d44c2fc9303c01fbbdd54c1ef2ee149cf1b6f7c3d4ec9", kill_on_drop: false }` [INFO] [stdout] 4890104b68ea3d29f73d44c2fc9303c01fbbdd54c1ef2ee149cf1b6f7c3d4ec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12d5638e09c818ae5eb69d96c0b0f22a93207e48a20baa97044c454985e06b29 [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" "12d5638e09c818ae5eb69d96c0b0f22a93207e48a20baa97044c454985e06b29", kill_on_drop: false }` [INFO] [stderr] Checking risp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | use std::collections::{VecDeque} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 65 | let mut stack = VecDeque::new(); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | use std::collections::{VecDeque} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 65 | let mut stack = VecDeque::new(); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> src/main.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn reverse_polish(s: &String) -> VecDeque { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_white_space` in this scope [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | remove_white_space(&s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> src/main.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn reverse_polish(s: &String) -> VecDeque { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_white_space` in this scope [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | remove_white_space(&s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(calc(" 1 + 2 - 3 *4".to_string()), "-9".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&String`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&" 1 + 2 - 3 *4".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(reverse_polish("1+2*(3-4)/5".to_string()), "1 2 3 4 - 5 / * +".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&String`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&"1+2*(3-4)/5".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn calc(s: &String) -> String { [INFO] [stdout] | ---- ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn calc(s: &String) -> String { [INFO] [stdout] | ---- ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `risp` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "12d5638e09c818ae5eb69d96c0b0f22a93207e48a20baa97044c454985e06b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d5638e09c818ae5eb69d96c0b0f22a93207e48a20baa97044c454985e06b29", kill_on_drop: false }` [INFO] [stdout] 12d5638e09c818ae5eb69d96c0b0f22a93207e48a20baa97044c454985e06b29