[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 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalGamma%2Foxide" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CrystalGamma/oxide on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-14/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 675a4cc0a3b128f0563cba3e5b6dd2a2c3ac1e589c29e5ca6bad1854d41d09c3 [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" "675a4cc0a3b128f0563cba3e5b6dd2a2c3ac1e589c29e5ca6bad1854d41d09c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "675a4cc0a3b128f0563cba3e5b6dd2a2c3ac1e589c29e5ca6bad1854d41d09c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "675a4cc0a3b128f0563cba3e5b6dd2a2c3ac1e589c29e5ca6bad1854d41d09c3", kill_on_drop: false }` [INFO] [stdout] 675a4cc0a3b128f0563cba3e5b6dd2a2c3ac1e589c29e5ca6bad1854d41d09c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 587b66eadbb88ea50cca51d5633a97e50b684a4bc628eaea4bad3fb9efd51c37 [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" "587b66eadbb88ea50cca51d5633a97e50b684a4bc628eaea4bad3fb9efd51c37", kill_on_drop: false }` [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: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] 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] 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: 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: 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[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[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:107:71 [INFO] [stdout] | [INFO] [stdout] 56 | struct TypeError; [INFO] [stdout] | ----------------- doesn't satisfy `TypeError: Debug` [INFO] [stdout] ... [INFO] [stdout] 107 | func.values[idx].typ = superimpose(&func.values[idx].typ, &typ).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TypeError: Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result<(), TypeError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 56 | struct TypeError; [INFO] [stdout] | ----------------- doesn't satisfy `TypeError: Debug` [INFO] [stdout] ... [INFO] [stdout] 120 | infer_forward(&mut func).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result<(), TypeError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TypeError: Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result<(), TypeError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 56 | struct TypeError; [INFO] [stdout] | ----------------- doesn't satisfy `TypeError: Debug` [INFO] [stdout] ... [INFO] [stdout] 121 | infer_backward(&mut func).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result<(), TypeError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TypeError: Debug` [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] 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: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:107:71 [INFO] [stdout] | [INFO] [stdout] 56 | struct TypeError; [INFO] [stdout] | ----------------- doesn't satisfy `TypeError: Debug` [INFO] [stdout] ... [INFO] [stdout] 107 | func.values[idx].typ = superimpose(&func.values[idx].typ, &typ).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TypeError: Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result<(), TypeError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 56 | struct TypeError; [INFO] [stdout] | ----------------- doesn't satisfy `TypeError: Debug` [INFO] [stdout] ... [INFO] [stdout] 120 | infer_forward(&mut func).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result<(), TypeError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TypeError: Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result<(), TypeError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 56 | struct TypeError; [INFO] [stdout] | ----------------- doesn't satisfy `TypeError: Debug` [INFO] [stdout] ... [INFO] [stdout] 121 | infer_backward(&mut func).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result<(), TypeError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TypeError: Debug` [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[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[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:166:242 [INFO] [stdout] | [INFO] [stdout] 166 | ...odeReference }], type_params: vec!["Drop"] }); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"Drop".to_string()` [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 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "587b66eadbb88ea50cca51d5633a97e50b684a4bc628eaea4bad3fb9efd51c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587b66eadbb88ea50cca51d5633a97e50b684a4bc628eaea4bad3fb9efd51c37", kill_on_drop: false }` [INFO] [stdout] 587b66eadbb88ea50cca51d5633a97e50b684a4bc628eaea4bad3fb9efd51c37