[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] checking CrystalGamma/oxide/a57beed551fbb87d422c665969eb5d3c31c261a7 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalGamma%2Foxide" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CrystalGamma/oxide on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0148fa2532a8b6e73ea33b19914f885355b89467c449d2113cdc52b28d76fc32 [INFO] running `Command { std: "docker" "start" "-a" "0148fa2532a8b6e73ea33b19914f885355b89467c449d2113cdc52b28d76fc32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0148fa2532a8b6e73ea33b19914f885355b89467c449d2113cdc52b28d76fc32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0148fa2532a8b6e73ea33b19914f885355b89467c449d2113cdc52b28d76fc32", kill_on_drop: false }` [INFO] [stdout] 0148fa2532a8b6e73ea33b19914f885355b89467c449d2113cdc52b28d76fc32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d6a252b6b7a4b1c50a454f1d0d9576e02d68bd9d2b5e4fe1e650a901b1db345 [INFO] running `Command { std: "docker" "start" "-a" "4d6a252b6b7a4b1c50a454f1d0d9576e02d68bd9d2b5e4fe1e650a901b1db345", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking 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: 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: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: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: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: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: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: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: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:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Show)] [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] error[E0425]: cannot find value `DeadEnd` in this scope [INFO] [stdout] --> src/main.rs:166:114 [INFO] [stdout] | [INFO] [stdout] 166 | ...0u, Tuple(Vec::new())), (1u, Return(0u32))], goto: DeadEnd }], values: vec![Value { typ: Record(None, Vec::new()), value: ValueKnowled... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use Goto::DeadEnd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:166:63 [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] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:166:88 [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] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:1096:5 [INFO] [stdout] help: consider annotating `TypeError` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 56 + #[derive(Debug)] [INFO] [stdout] 57 | struct TypeError; [INFO] [stdout] | [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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:1096:5 [INFO] [stdout] help: consider annotating `TypeError` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 56 + #[derive(Debug)] [INFO] [stdout] 57 | struct TypeError; [INFO] [stdout] | [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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:1096:5 [INFO] [stdout] help: consider annotating `TypeError` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 56 + #[derive(Debug)] [INFO] [stdout] 57 | struct TypeError; [INFO] [stdout] | [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` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:1096:5 [INFO] [stdout] help: consider annotating `TypeError` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 56 + #[derive(Debug)] [INFO] [stdout] 57 | struct TypeError; [INFO] [stdout] | [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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:1096:5 [INFO] [stdout] help: consider annotating `TypeError` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 56 + #[derive(Debug)] [INFO] [stdout] 57 | struct TypeError; [INFO] [stdout] | [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] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:1096:5 [INFO] [stdout] help: consider annotating `TypeError` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 56 + #[derive(Debug)] [INFO] [stdout] 57 | struct TypeError; [INFO] [stdout] | [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` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [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] [stdout] error[E0277]: `Function` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / assert_eq!(type_inference(Function { [INFO] [stdout] 132 | | blocks: vec![ BBlock { [INFO] [stdout] 133 | | vars: HashMap::new(), // no parameters [INFO] [stdout] 134 | | ops: vec![ (0, Tuple(Vec::new())), [INFO] [stdout] ... | [INFO] [stdout] 143 | | type_params: Vec::new() [INFO] [stdout] 144 | | }), Function { blocks: vec![BBlock { vars: HashMap::new(), ops: vec![(0, Tuple(Vec::new())), (1, Return(0))], goto: Goto::DeadEnd }], values: vec![Value { typ: Record(None, vec![]), value: ValueKnowledge, pos: CodeReference }], type_params: Vec::new() ... [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 `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Function` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / assert_eq!(type_inference(Function { [INFO] [stdout] 132 | | blocks: vec![ BBlock { [INFO] [stdout] 133 | | vars: HashMap::new(), // no parameters [INFO] [stdout] 134 | | ops: vec![ (0, Tuple(Vec::new())), [INFO] [stdout] ... | [INFO] [stdout] 143 | | type_params: Vec::new() [INFO] [stdout] 144 | | }), Function { blocks: vec![BBlock { vars: HashMap::new(), ops: vec![(0, Tuple(Vec::new())), (1, Return(0))], goto: Goto::DeadEnd }], values: vec![Value { typ: Record(None, vec![]), value: ValueKnowledge, pos: CodeReference }], type_params: Vec::new() ... [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 `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compile` (bin "compile") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:166:242 [INFO] [stdout] | [INFO] [stdout] 166 | ... CodeReference }], type_params: vec!["Drop"] }); [INFO] [stdout] | ^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Function` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:153:2 [INFO] [stdout] | [INFO] [stdout] 153 | / assert_eq!(type_inference(Function { [INFO] [stdout] 154 | | blocks: vec![ BBlock { [INFO] [stdout] 155 | | vars: param.clone(), [INFO] [stdout] 156 | | ops: vec![ (0, Tuple(Vec::new())), [INFO] [stdout] ... | [INFO] [stdout] 165 | | type_params: vec![ "Drop".to_string() ], [INFO] [stdout] 166 | | }), Function { blocks: vec![BBlock { vars: param, ops: vec![(0u, Tuple(Vec::new())), (1u, Return(0u32))], goto: DeadEnd }], values: vec![Value { typ: Record(None, Vec::new()), value: ValueKnowledge, pos: CodeReference }], type_params: vec!["Drop"] ... [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 `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Function` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:153:2 [INFO] [stdout] | [INFO] [stdout] 153 | / assert_eq!(type_inference(Function { [INFO] [stdout] 154 | | blocks: vec![ BBlock { [INFO] [stdout] 155 | | vars: param.clone(), [INFO] [stdout] 156 | | ops: vec![ (0, Tuple(Vec::new())), [INFO] [stdout] ... | [INFO] [stdout] 165 | | type_params: vec![ "Drop".to_string() ], [INFO] [stdout] 166 | | }), Function { blocks: vec![BBlock { vars: param, ops: vec![(0u, Tuple(Vec::new())), (1u, Return(0u32))], goto: DeadEnd }], values: vec![Value { typ: Record(None, Vec::new()), value: ValueKnowledge, pos: CodeReference }], type_params: vec!["Drop"] ... [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 `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compile` (bin "compile" test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "4d6a252b6b7a4b1c50a454f1d0d9576e02d68bd9d2b5e4fe1e650a901b1db345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6a252b6b7a4b1c50a454f1d0d9576e02d68bd9d2b5e4fe1e650a901b1db345", kill_on_drop: false }` [INFO] [stdout] 4d6a252b6b7a4b1c50a454f1d0d9576e02d68bd9d2b5e4fe1e650a901b1db345