[INFO] cloning repository https://github.com/CrystalGamma/oxide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrystalGamma/oxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalGamma%2Foxide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalGamma%2Foxide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a57beed551fbb87d422c665969eb5d3c31c261a7 [INFO] testing CrystalGamma/oxide against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalGamma%2Foxide" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CrystalGamma/oxide on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CrystalGamma/oxide [INFO] finished tweaking git repo https://github.com/CrystalGamma/oxide [INFO] tweaked toml for git repo https://github.com/CrystalGamma/oxide written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/CrystalGamma/oxide already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e63c1f4b4596bfeb748ad3324c63ef7f61060420e9a1a6110f1fffb397488a2a [INFO] running `Command { std: "docker" "start" "-a" "e63c1f4b4596bfeb748ad3324c63ef7f61060420e9a1a6110f1fffb397488a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e63c1f4b4596bfeb748ad3324c63ef7f61060420e9a1a6110f1fffb397488a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e63c1f4b4596bfeb748ad3324c63ef7f61060420e9a1a6110f1fffb397488a2a", kill_on_drop: false }` [INFO] [stdout] e63c1f4b4596bfeb748ad3324c63ef7f61060420e9a1a6110f1fffb397488a2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 870d3a634a0594c5381cd6fc83a0181bf8c1e41e71a03611e1f98936b5b42ff3 [INFO] running `Command { std: "docker" "start" "-a" "870d3a634a0594c5381cd6fc83a0181bf8c1e41e71a03611e1f98936b5b42ff3", kill_on_drop: false }` [INFO] [stderr] Compiling compile v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/main.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 66 | Record(None, ref cont) => content.iter().zip(cont.iter()).map( [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 67 | |&: (a, b)| superimpose(b, &func.values[*a].typ).unwrap() [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Show, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Show, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Clone, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Show, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Show, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Show, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Show, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Show, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/main.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `compile` [INFO] [stdout] --> src/main.rs:167:2 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/main.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | func.values[pos].typ = Record(None, match func.values[pos].typ { [INFO] [stdout] | ____________________________________________^^^^^^_______- [INFO] [stdout] | | | [INFO] [stdout] | | unreachable call [INFO] [stdout] 66 | | Record(None, ref cont) => content.iter().zip(cont.iter()).map( [INFO] [stdout] 67 | | |&: (a, b)| superimpose(b, &func.values[*a].typ).unwrap() [INFO] [stdout] 68 | | ).collect(), [INFO] [stdout] ... | [INFO] [stdout] 71 | | _ => return Err(TypeError) [INFO] [stdout] 72 | | }); [INFO] [stdout] | |_____________________- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeError` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:107:71 [INFO] [stdout] | [INFO] [stdout] 107 | func.values[idx].typ = superimpose(&func.values[idx].typ, &typ).unwrap(); [INFO] [stdout] | ^^^^^^ `TypeError` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `TypeError` [INFO] [stdout] = note: add `#[derive(Debug)]` to `TypeError` or manually `impl Debug for TypeError` [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeError` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | infer_forward(&mut func).unwrap(); [INFO] [stdout] | ^^^^^^ `TypeError` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `TypeError` [INFO] [stdout] = note: add `#[derive(Debug)]` to `TypeError` or manually `impl Debug for TypeError` [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TypeError` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | infer_backward(&mut func).unwrap(); [INFO] [stdout] | ^^^^^^ `TypeError` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `TypeError` [INFO] [stdout] = note: add `#[derive(Debug)]` to `TypeError` or manually `impl Debug for TypeError` [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Function` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | println!("{:?}", func); [INFO] [stdout] | ^^^^ `Function` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Function` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Function` or manually `impl Debug for Function` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compile` due to 16 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "870d3a634a0594c5381cd6fc83a0181bf8c1e41e71a03611e1f98936b5b42ff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "870d3a634a0594c5381cd6fc83a0181bf8c1e41e71a03611e1f98936b5b42ff3", kill_on_drop: false }` [INFO] [stdout] 870d3a634a0594c5381cd6fc83a0181bf8c1e41e71a03611e1f98936b5b42ff3