[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#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalGamma%2Foxide" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CrystalGamma/oxide on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0088367ec492474111e2acbca1bbc729de7b5d5728efbb6240bf6ccd350259bb [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" "0088367ec492474111e2acbca1bbc729de7b5d5728efbb6240bf6ccd350259bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0088367ec492474111e2acbca1bbc729de7b5d5728efbb6240bf6ccd350259bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0088367ec492474111e2acbca1bbc729de7b5d5728efbb6240bf6ccd350259bb", kill_on_drop: false }` [INFO] [stdout] 0088367ec492474111e2acbca1bbc729de7b5d5728efbb6240bf6ccd350259bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9e593dcd30afddbbcb7927b2e276f6064774c98ce54037bfc1b10742a3dbf68 [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" "c9e593dcd30afddbbcb7927b2e276f6064774c98ce54037bfc1b10742a3dbf68", 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: vec!... [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 integer 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: vec!... [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer 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: vec!... [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, 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 | ... Tuple(Vec::new())), (1u, Return(0u32))], goto: DeadEnd }], values: vec![Value { typ: Record(None, Vec::new()), value: ValueKnowledge,... [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] 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] 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[E0599]: no method named `unwrap` found for enum `std::result::Result` in the current scope [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 not found in `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: the method `unwrap` exists but the following trait bounds were not satisfied: [INFO] [stdout] `TypeError: Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `std::result::Result<(), TypeError>` in the current scope [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 not found in `std::result::Result<(), TypeError>` [INFO] [stdout] | [INFO] [stdout] = note: the method `unwrap` exists but the following trait bounds were not satisfied: [INFO] [stdout] `TypeError: Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `std::result::Result<(), TypeError>` in the current scope [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 not found in `std::result::Result<(), TypeError>` [INFO] [stdout] | [INFO] [stdout] = note: the method `unwrap` exists but 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)]` or manually implement `Debug` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (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, 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `std::result::Result` in the current scope [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 not found in `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: the method `unwrap` exists but the following trait bounds were not satisfied: [INFO] [stdout] `TypeError: Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `std::result::Result<(), TypeError>` in the current scope [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 not found in `std::result::Result<(), TypeError>` [INFO] [stdout] | [INFO] [stdout] = note: the method `unwrap` exists but the following trait bounds were not satisfied: [INFO] [stdout] `TypeError: Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `std::result::Result<(), TypeError>` in the current scope [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 not found in `std::result::Result<(), TypeError>` [INFO] [stdout] | [INFO] [stdout] = note: the method `unwrap` exists but 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)]` or manually implement `Debug` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (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] | _____^ [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)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&Function` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (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] | _____^ [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)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&Function` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (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 | ...Reference }], 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] | _____^ [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)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&Function` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (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] | _____^ [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)]` or manually implement `Debug` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&Function` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 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" "c9e593dcd30afddbbcb7927b2e276f6064774c98ce54037bfc1b10742a3dbf68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e593dcd30afddbbcb7927b2e276f6064774c98ce54037bfc1b10742a3dbf68", kill_on_drop: false }` [INFO] [stdout] c9e593dcd30afddbbcb7927b2e276f6064774c98ce54037bfc1b10742a3dbf68