[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 1.60.0 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 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/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" "+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-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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61244361100da8f28dcecd0576d5ca8d7ff1bde6def07d753256ebb8b1affe86 [INFO] running `Command { std: "docker" "start" "-a" "61244361100da8f28dcecd0576d5ca8d7ff1bde6def07d753256ebb8b1affe86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61244361100da8f28dcecd0576d5ca8d7ff1bde6def07d753256ebb8b1affe86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61244361100da8f28dcecd0576d5ca8d7ff1bde6def07d753256ebb8b1affe86", kill_on_drop: false }` [INFO] [stdout] 61244361100da8f28dcecd0576d5ca8d7ff1bde6def07d753256ebb8b1affe86 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 133de8789841c1a9a4abd280a1b16578a7f7e72e69a1c69b5edebf37c3158128 [INFO] running `Command { std: "docker" "start" "-a" "133de8789841c1a9a4abd280a1b16578a7f7e72e69a1c69b5edebf37c3158128", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::collections::HashMap; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[derive(Show, PartialEq)] [INFO] [stdout] 4 | | struct ValueKnowledge; [INFO] [stdout] ... | [INFO] [stdout] 166 | | }), Function { blocks: vec![BBlock { vars: param, ops: vec![(0u, Tuple(Vec::new())), (1u, Return(0u32))], goto: DeadEnd }], values: v... [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" "133de8789841c1a9a4abd280a1b16578a7f7e72e69a1c69b5edebf37c3158128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "133de8789841c1a9a4abd280a1b16578a7f7e72e69a1c69b5edebf37c3158128", kill_on_drop: false }` [INFO] [stdout] 133de8789841c1a9a4abd280a1b16578a7f7e72e69a1c69b5edebf37c3158128