[INFO] cloning repository https://github.com/ThePixelatedCat/patinac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThePixelatedCat/patinac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePixelatedCat%2Fpatinac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePixelatedCat%2Fpatinac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07c4d23d9b53994164d452c7ded61c6e25e268f9 [INFO] checking ThePixelatedCat/patinac against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePixelatedCat%2Fpatinac" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThePixelatedCat/patinac [INFO] finished tweaking git repo https://github.com/ThePixelatedCat/patinac [INFO] tweaked toml for git repo https://github.com/ThePixelatedCat/patinac written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThePixelatedCat/patinac on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ThePixelatedCat/patinac 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking ThePixelatedCat/patinac against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePixelatedCat%2Fpatinac" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThePixelatedCat/patinac [INFO] finished tweaking git repo https://github.com/ThePixelatedCat/patinac [INFO] tweaked toml for git repo https://github.com/ThePixelatedCat/patinac written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThePixelatedCat/patinac on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ThePixelatedCat/patinac 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ego-tree v0.11.0 [INFO] [stderr] Downloaded string-interner v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2ee5acf09304756d0864631fa0652a01d6df7a977599939216f3b3881ff951a [INFO] running `Command { std: "docker" "start" "-a" "c2ee5acf09304756d0864631fa0652a01d6df7a977599939216f3b3881ff951a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2ee5acf09304756d0864631fa0652a01d6df7a977599939216f3b3881ff951a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ee5acf09304756d0864631fa0652a01d6df7a977599939216f3b3881ff951a", kill_on_drop: false }` [INFO] [stdout] c2ee5acf09304756d0864631fa0652a01d6df7a977599939216f3b3881ff951a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f6fe39087881bf743c54b1163b3cd2d6229eb91adc3f0fe63c58469e623089b [INFO] running `Command { std: "docker" "start" "-a" "9f6fe39087881bf743c54b1163b3cd2d6229eb91adc3f0fe63c58469e623089b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ego-tree v0.11.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking ena v0.14.3 [INFO] [stderr] Checking runtime v0.1.0 (/opt/rustwide/workdir/runtime) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> runtime/src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut instructions = InstrBuf::new(rx, bin_src.len()); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> runtime/src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut instructions = InstrBuf::new(rx, bin_src.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> runtime/src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let decoder = thread::spawn(move || decode::decode(bin_src, tx)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Env` is never constructed [INFO] [stdout] --> runtime/src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Env { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rx` and `inner` are never read [INFO] [stdout] --> runtime/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct InstrBuf { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | rx: Receiver, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | inner: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> runtime/src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl InstrBuf { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get(&mut self, idx: u32) -> Option<&Instr> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dst`, `lhs`, and `rhs` are never read [INFO] [stdout] --> runtime/src/instructions.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | Add { dst: u8, lhs: u8, rhs: u8 }, [INFO] [stdout] | --- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> runtime/src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut instructions = InstrBuf::new(rx, bin_src.len()); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> runtime/src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut instructions = InstrBuf::new(rx, bin_src.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> runtime/src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let decoder = thread::spawn(move || decode::decode(bin_src, tx)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Env` is never constructed [INFO] [stdout] --> runtime/src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Env { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rx` and `inner` are never read [INFO] [stdout] --> runtime/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct InstrBuf { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | rx: Receiver, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | inner: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> runtime/src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl InstrBuf { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get(&mut self, idx: u32) -> Option<&Instr> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dst`, `lhs`, and `rhs` are never read [INFO] [stdout] --> runtime/src/instructions.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | Add { dst: u8, lhs: u8, rhs: u8 }, [INFO] [stdout] | --- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking string-interner v0.19.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] error[E0433]: cannot find `typecheck` in `crate` [INFO] [stdout] --> compiler/src/resolver/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | typecheck::types::Type, [INFO] [stdout] | ^^^^^^^^^ could not find `typecheck` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> compiler/src/resolver/mod.rs:43:68 [INFO] [stdout] | [INFO] [stdout] 43 | self.hir.type_defs.add_record(ident, generics, data); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> compiler/src/resolver/mod.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | self.hir.type_defs.add_enum(ident, generics, data); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `typecheck` in `crate` [INFO] [stdout] --> compiler/src/resolver/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | typecheck::types::Type, [INFO] [stdout] | ^^^^^^^^^ could not find `typecheck` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> compiler/src/resolver/mod.rs:43:68 [INFO] [stdout] | [INFO] [stdout] 43 | self.hir.type_defs.add_record(ident, generics, data); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> compiler/src/resolver/mod.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | self.hir.type_defs.add_enum(ident, generics, data); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> compiler/src/resolver/mod.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | self.hir.type_defs.add_record(ident, generics, data); [INFO] [stdout] | ^^^^^^^^^^ ----- expected `String`, found `Ident` [INFO] [stdout] | [INFO] [stdout] note: expected `Vec`, found `Vec` [INFO] [stdout] --> compiler/src/resolver/mod.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | self.hir.type_defs.add_record(ident, generics, data); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: method defined here [INFO] [stdout] --> compiler/src/hir/adts.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_record<'src>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | &mut self, [INFO] [stdout] 21 | ident: String, [INFO] [stdout] | ------------- [INFO] [stdout] 22 | generics: Vec, [INFO] [stdout] | --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> compiler/src/resolver/mod.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | self.hir.type_defs.add_enum(ident, generics, data); [INFO] [stdout] | -------- ^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: method defined here [INFO] [stdout] --> compiler/src/hir/adts.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn add_enum<'src>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | generics: Vec, [INFO] [stdout] | -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> compiler/src/hir/adts.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | ident: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> compiler/src/hir/adts.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | generics: Vec, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> compiler/src/hir/adts.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | fields: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> compiler/src/hir/adts.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | ident: Ident, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> compiler/src/parser/test.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | todo!("Fix Spans"); [INFO] [stdout] | ------------------ any code following this expression is unreachable [INFO] [stdout] 37 | / assert_eq!( [INFO] [stdout] 38 | | items[0], [INFO] [stdout] 39 | | Item::Func { [INFO] [stdout] 40 | | ident: parser.get_ident("wow_we_did_it").unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 224 | | ); [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> compiler/src/hir/adts.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | generics: Vec, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> compiler/src/hir/adts.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | variants: Vec [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> compiler/src/resolver/mod.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | self.hir.type_defs.add_record(ident, generics, data); [INFO] [stdout] | ^^^^^^^^^^ ----- expected `String`, found `Ident` [INFO] [stdout] | [INFO] [stdout] note: expected `Vec`, found `Vec` [INFO] [stdout] --> compiler/src/resolver/mod.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | self.hir.type_defs.add_record(ident, generics, data); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: method defined here [INFO] [stdout] --> compiler/src/hir/adts.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_record<'src>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | &mut self, [INFO] [stdout] 21 | ident: String, [INFO] [stdout] | ------------- [INFO] [stdout] 22 | generics: Vec, [INFO] [stdout] | --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> compiler/src/resolver/mod.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | self.hir.type_defs.add_enum(ident, generics, data); [INFO] [stdout] | -------- ^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: method defined here [INFO] [stdout] --> compiler/src/hir/adts.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn add_enum<'src>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | generics: Vec, [INFO] [stdout] | -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> compiler/src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let ast = parser.parse()?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> compiler/src/hir/adts.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | ident: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> compiler/src/hir/adts.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | generics: Vec, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> compiler/src/hir/adts.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | fields: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> compiler/src/hir/adts.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | ident: Ident, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generics` [INFO] [stdout] --> compiler/src/hir/adts.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | generics: Vec, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> compiler/src/hir/adts.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | variants: Vec [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (bin "compiler") due to 5 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> compiler/src/parser/test.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let items = parser.parse().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> compiler/src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let ast = parser.parse()?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (bin "compiler" test) due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9f6fe39087881bf743c54b1163b3cd2d6229eb91adc3f0fe63c58469e623089b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f6fe39087881bf743c54b1163b3cd2d6229eb91adc3f0fe63c58469e623089b", kill_on_drop: false }` [INFO] [stdout] 9f6fe39087881bf743c54b1163b3cd2d6229eb91adc3f0fe63c58469e623089b