[INFO] cloning repository https://github.com/Sabaniki/rpncalc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sabaniki/rpncalc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSabaniki%2Frpncalc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSabaniki%2Frpncalc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c739aee8ccfb8f8035abb5fd4cc54f4ff9af216 [INFO] testing Sabaniki/rpncalc against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSabaniki%2Frpncalc" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sabaniki/rpncalc 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/Sabaniki/rpncalc [INFO] finished tweaking git repo https://github.com/Sabaniki/rpncalc [INFO] tweaked toml for git repo https://github.com/Sabaniki/rpncalc written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Sabaniki/rpncalc 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 9cf1d25b30f8d6f6f7609e745a9bdd8ce5f037b3ce9f9b8f63c8538d228e7ab4 [INFO] running `Command { std: "docker" "start" "-a" "9cf1d25b30f8d6f6f7609e745a9bdd8ce5f037b3ce9f9b8f63c8538d228e7ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cf1d25b30f8d6f6f7609e745a9bdd8ce5f037b3ce9f9b8f63c8538d228e7ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf1d25b30f8d6f6f7609e745a9bdd8ce5f037b3ce9f9b8f63c8538d228e7ab4", kill_on_drop: false }` [INFO] [stdout] 9cf1d25b30f8d6f6f7609e745a9bdd8ce5f037b3ce9f9b8f63c8538d228e7ab4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 233cea8186c78e9cbbe25d8d351c0f5b28993f841c2b7ddcd55c1f321038156c [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" "233cea8186c78e9cbbe25d8d351c0f5b28993f841c2b7ddcd55c1f321038156c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling rpncalc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `bali` in this scope [INFO] [stdout] --> src/calculator.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | _ => bali!("invalid token at {}", pos), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> src/calculator.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | ensure!(stack.len() == 1, "invalid syntax"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] anyhow::ensure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/calculator.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | let y = stack.pop().context("invalid syntax at {}", pos)?; [INFO] [stdout] | ^^^^^^^ ---------------------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.38/src/lib.rs:597:8 [INFO] [stdout] | [INFO] [stdout] 597 | fn context(self, context: C) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/calculator.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | let x = stack.pop().context("invalid syntax {}", pos)?; [INFO] [stdout] | ^^^^^^^ ------------------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.38/src/lib.rs:597:8 [INFO] [stdout] | [INFO] [stdout] 597 | fn context(self, context: C) -> Result [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 27 | | // ファイルを指定しなかった場合 [INFO] [stdout] 28 | | let stdin = stdin(); [INFO] [stdout] 29 | | let reader = stdin.lock(); [INFO] [stdout] 30 | | run(reader, matches.is_present("verbose")); [INFO] [stdout] 31 | | println!("No file is specified"); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), anyhow::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpncalc` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "233cea8186c78e9cbbe25d8d351c0f5b28993f841c2b7ddcd55c1f321038156c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233cea8186c78e9cbbe25d8d351c0f5b28993f841c2b7ddcd55c1f321038156c", kill_on_drop: false }` [INFO] [stdout] 233cea8186c78e9cbbe25d8d351c0f5b28993f841c2b7ddcd55c1f321038156c