[INFO] cloning repository https://github.com/tonyfettes/lambda_cube [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonyfettes/lambda_cube" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyfettes%2Flambda_cube", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyfettes%2Flambda_cube'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3905d4f8911ae61c91fa1c29c4cf1f93f5fba162 [INFO] testing tonyfettes/lambda_cube against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyfettes%2Flambda_cube" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tonyfettes/lambda_cube [INFO] finished tweaking git repo https://github.com/tonyfettes/lambda_cube [INFO] tweaked toml for git repo https://github.com/tonyfettes/lambda_cube written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tonyfettes/lambda_cube on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tonyfettes/lambda_cube already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded rustyline v12.0.0 [INFO] [stderr] Downloaded nix v0.26.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 191856fc69c719055886a53be043a74f7d2c24f2d365fb663f8e40a4bb4ff416 [INFO] running `Command { std: "docker" "start" "-a" "191856fc69c719055886a53be043a74f7d2c24f2d365fb663f8e40a4bb4ff416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "191856fc69c719055886a53be043a74f7d2c24f2d365fb663f8e40a4bb4ff416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191856fc69c719055886a53be043a74f7d2c24f2d365fb663f8e40a4bb4ff416", kill_on_drop: false }` [INFO] [stdout] 191856fc69c719055886a53be043a74f7d2c24f2d365fb663f8e40a4bb4ff416 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a2862a73d6a510a320b5108f7101e13e47ab7631785f3fcb5212f20ada348f2 [INFO] running `Command { std: "docker" "start" "-a" "1a2862a73d6a510a320b5108f7101e13e47ab7631785f3fcb5212f20ada348f2", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling rustyline v12.0.0 [INFO] [stderr] Compiling lambda_cube v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/face.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/face.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_elaborate` [INFO] [stdout] --> src/face.rs:444:22 [INFO] [stdout] | [INFO] [stdout] 444 | macro_rules! assert_elaborate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/face.rs:557:13 [INFO] [stdout] | [INFO] [stdout] 557 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `shift` [INFO] [stdout] --> src/face.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn shift(exp: Expr) -> Expr { [INFO] [stdout] | ------------------------------- other definition for `shift` [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn shift(env: Option, exp: Expr, idx: usize) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `shift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/face.rs:335:31 [INFO] [stdout] | [INFO] [stdout] 335 | exp: Box::new(Self::shift(inc_env(env), *fun.exp, idx)), [INFO] [stdout] | ^^^^^^^^^^^ ------------ --- unexpected argument #3 of type `usize` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/face.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn shift(exp: Expr) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 335 - exp: Box::new(Self::shift(inc_env(env), *fun.exp, idx)), [INFO] [stdout] 335 + exp: Box::new(Self::shift(*fun.exp)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/face.rs:338:46 [INFO] [stdout] | [INFO] [stdout] 338 | Self::App(fun, arg) => Self::app(Self::shift(env, *fun, idx), Self::shift(env, *arg, idx)), [INFO] [stdout] | ^^^^^^^^^^^ --- --- unexpected argument #3 of type `usize` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/face.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn shift(exp: Expr) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 338 - Self::App(fun, arg) => Self::app(Self::shift(env, *fun, idx), Self::shift(env, *arg, idx)), [INFO] [stdout] 338 + Self::App(fun, arg) => Self::app(Self::shift(*fun), Self::shift(env, *arg, idx)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/face.rs:338:75 [INFO] [stdout] | [INFO] [stdout] 338 | Self::App(fun, arg) => Self::app(Self::shift(env, *fun, idx), Self::shift(env, *arg, idx)), [INFO] [stdout] | ^^^^^^^^^^^ --- --- unexpected argument #3 of type `usize` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/face.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn shift(exp: Expr) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 338 - Self::App(fun, arg) => Self::app(Self::shift(env, *fun, idx), Self::shift(env, *arg, idx)), [INFO] [stdout] 338 + Self::App(fun, arg) => Self::app(Self::shift(env, *fun, idx), Self::shift(*arg)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/face.rs:339:70 [INFO] [stdout] | [INFO] [stdout] 339 | Self::Inj(inj, typ, exp) => Self::Inj(inj, typ, Box::new(Self::shift(env, *exp, idx + 2))), [INFO] [stdout] | ^^^^^^^^^^^ --- ------- unexpected argument #3 of type `usize` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/face.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn shift(exp: Expr) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 339 - Self::Inj(inj, typ, exp) => Self::Inj(inj, typ, Box::new(Self::shift(env, *exp, idx + 2))), [INFO] [stdout] 339 + Self::Inj(inj, typ, exp) => Self::Inj(inj, typ, Box::new(Self::shift(*exp))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/face.rs:341:26 [INFO] [stdout] | [INFO] [stdout] 341 | Box::new(Self::shift(env, *fst, idx + 1)), [INFO] [stdout] | ^^^^^^^^^^^ --- ------- unexpected argument #3 of type `usize` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/face.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn shift(exp: Expr) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 341 - Box::new(Self::shift(env, *fst, idx + 1)), [INFO] [stdout] 341 + Box::new(Self::shift(*fst)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/face.rs:342:26 [INFO] [stdout] | [INFO] [stdout] 342 | Box::new(Self::shift(env, *snd, idx + 1)) [INFO] [stdout] | ^^^^^^^^^^^ --- ------- unexpected argument #3 of type `usize` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/face.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn shift(exp: Expr) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 342 - Box::new(Self::shift(env, *snd, idx + 1)) [INFO] [stdout] 342 + Box::new(Self::shift(*snd)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/face.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | exp: Box::new(Self::shift(env, *typ_fun.exp, idx)) [INFO] [stdout] | ^^^^^^^^^^^ --- --- unexpected argument #3 of type `usize` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/face.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn shift(exp: Expr) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 345 - exp: Box::new(Self::shift(env, *typ_fun.exp, idx)) [INFO] [stdout] 345 + exp: Box::new(Self::shift(*typ_fun.exp)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/face.rs:348:26 [INFO] [stdout] | [INFO] [stdout] 348 | Box::new(Self::shift(env, *fun, idx)), [INFO] [stdout] | ^^^^^^^^^^^ --- --- unexpected argument #3 of type `usize` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `Option` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/face.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn shift(exp: Expr) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 348 - Box::new(Self::shift(env, *fun, idx)), [INFO] [stdout] 348 + Box::new(Self::shift(*fun)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `evaluate` is private [INFO] [stdout] --> src/main.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let evalauted = core::Expr::evaluate(core::Environment::new(), elaborated).unwrap(); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: src/core.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | fn evaluate(env: Environment, exp: Expr) -> Expr { [INFO] [stdout] | ------------------------------------------------ private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `core::Expr` in the current scope [INFO] [stdout] --> src/main.rs:24:84 [INFO] [stdout] | [INFO] [stdout] 24 | let evalauted = core::Expr::evaluate(core::Environment::new(), elaborated).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `core::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/core.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub enum Expr { [INFO] [stdout] | ------------- method `unwrap` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `face::Expr::Str(_)`, `face::Expr::Var(_)`, `face::Expr::Fun(_)` and 5 more not covered [INFO] [stdout] --> src/face.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | match exp { [INFO] [stdout] | ^^^ patterns `face::Expr::Str(_)`, `face::Expr::Var(_)`, `face::Expr::Fun(_)` and 5 more not covered [INFO] [stdout] | [INFO] [stdout] note: `face::Expr` defined here [INFO] [stdout] --> src/face.rs:254:10 [INFO] [stdout] | [INFO] [stdout] 254 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] 255 | Int(i64), [INFO] [stdout] 256 | Str(String), [INFO] [stdout] | --- not covered [INFO] [stdout] 257 | Var(usize), [INFO] [stdout] | --- not covered [INFO] [stdout] 258 | Fun(Func), [INFO] [stdout] | --- not covered [INFO] [stdout] 259 | App(Box, Box), [INFO] [stdout] | --- not covered [INFO] [stdout] 260 | Inj(Inj, Type, Box), [INFO] [stdout] | --- not covered [INFO] [stdout] = note: the matched value is of type `face::Expr` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms [INFO] [stdout] | [INFO] [stdout] 311 ~ Self::Int(int) => Self::Int(int), [INFO] [stdout] 312 ~ _ => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0061, E0592, E0599, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lambda_cube` (bin "lambda_cube") due to 12 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1a2862a73d6a510a320b5108f7101e13e47ab7631785f3fcb5212f20ada348f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a2862a73d6a510a320b5108f7101e13e47ab7631785f3fcb5212f20ada348f2", kill_on_drop: false }` [INFO] [stdout] 1a2862a73d6a510a320b5108f7101e13e47ab7631785f3fcb5212f20ada348f2