[INFO] updating cached repository https://github.com/zesterer/bread [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/zesterer/bread [INFO] [stderr] 66d6d91..b9735c0 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9735c0e8c8c56dd665c934d9ff34a09edfdd348 [INFO] checking zesterer/bread against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzesterer%2Fbread" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zesterer/bread on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zesterer/bread [INFO] finished tweaking git repo https://github.com/zesterer/bread [INFO] tweaked toml for git repo https://github.com/zesterer/bread written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/zesterer/bread already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd6e83b0e0540ce778388c50df3a2967d6702cff49121505fe54a3aea667ff45 [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" "cd6e83b0e0540ce778388c50df3a2967d6702cff49121505fe54a3aea667ff45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd6e83b0e0540ce778388c50df3a2967d6702cff49121505fe54a3aea667ff45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6e83b0e0540ce778388c50df3a2967d6702cff49121505fe54a3aea667ff45", kill_on_drop: false }` [INFO] [stdout] cd6e83b0e0540ce778388c50df3a2967d6702cff49121505fe54a3aea667ff45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2873fa198a1a7b5ddbb40fbf205d737753143fdf18badc19eb4f123641a0d969 [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" "2873fa198a1a7b5ddbb40fbf205d737753143fdf18badc19eb4f123641a0d969", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking parze v0.1.0 (https://github.com/zesterer/parze-new.git#d42e00db) [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking nanbox v0.2.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Compiling im-rc v14.1.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking bitmaps v2.0.0 [INFO] [stderr] Checking state v0.4.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tinyset v0.4.2 [INFO] [stderr] Checking sized-chunks v0.5.1 [INFO] [stderr] Checking rustyline v6.0.0 [INFO] [stderr] Checking internment v0.3.12 [INFO] [stderr] Checking tao v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `atom` [INFO] [stdout] --> src/ast.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | let atom = atom.link(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_atom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paren_ty_list` [INFO] [stdout] --> src/ast.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | let paren_ty_list = nested_parser( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_ty_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> src/ast.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | .map_with_span(|pat, span| SrcNode::new(Pat::Wildcard, span)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/ast.rs:728:61 [INFO] [stdout] | [INFO] [stdout] 728 | .map_with_span(|(((name, generics), ty), body), span| Decl::Def(Def { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/ast.rs:742:53 [INFO] [stdout] | [INFO] [stdout] 742 | .map_with_span(|((name, generics), ty), span| Decl::TypeAlias(TypeAlias { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/ast.rs:755:58 [INFO] [stdout] | [INFO] [stdout] 755 | .map_with_span(|((name, generics), data_ty), span| Decl::Data(Data { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/ast.rs:706:13 [INFO] [stdout] | [INFO] [stdout] 706 | let module = module.link(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/error.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn at(mut self, span: Span) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/error.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn merge(mut self, mut other: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thing` [INFO] [stdout] --> src/error.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | fn expected(mut self, thing: Self::Thing) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_thing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thing` [INFO] [stdout] --> src/error.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | fn expected(mut self, thing: Self::Thing) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_thing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_col` [INFO] [stdout] --> src/error.rs:137:62 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(((start_line, start_col), (end_line, end_col))) = span_iter [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/error.rs:180:46 [INFO] [stdout] | [INFO] [stdout] 180 | ... if let Some((span, is_primary)) = span_iter [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_span` [INFO] [stdout] --> src/hir/mod.rs:258:52 [INFO] [stdout] | [INFO] [stdout] 258 | .unwrap_or_else(|| Ok(if let Some((global_span, generics, hint)) = globals.0.get(&ident) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/hir/infer.rs:419:35 [INFO] [stdout] | [INFO] [stdout] 419 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Number), TypeInfo::Primitive(Primitive::Number), TypeInfo::Primitive(Primitive::Number))) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hir/infer.rs:419:52 [INFO] [stdout] | [INFO] [stdout] 419 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Number), TypeInfo::Primitive(Primitive::Number), TypeInfo::Primitive(Primitive::Number))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hir/infer.rs:419:55 [INFO] [stdout] | [INFO] [stdout] 419 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Number), TypeInfo::Primitive(Primitive::Number), TypeInfo::Primitive(Primitive::Number))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/hir/infer.rs:435:35 [INFO] [stdout] | [INFO] [stdout] 435 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Number), TypeInfo::Primitive(Primitive::Number))) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hir/infer.rs:435:52 [INFO] [stdout] | [INFO] [stdout] 435 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Number), TypeInfo::Primitive(Primitive::Number))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hir/infer.rs:435:55 [INFO] [stdout] | [INFO] [stdout] 435 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Number), TypeInfo::Primitive(Primitive::Number))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/hir/infer.rs:450:35 [INFO] [stdout] | [INFO] [stdout] 450 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Boolean))) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hir/infer.rs:450:52 [INFO] [stdout] | [INFO] [stdout] 450 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Boolean))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hir/infer.rs:450:55 [INFO] [stdout] | [INFO] [stdout] 450 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Boolean))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/hir/infer.rs:466:35 [INFO] [stdout] | [INFO] [stdout] 466 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Char), TypeInfo::Primitive(Primitive::Char))) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/hir/infer.rs:466:52 [INFO] [stdout] | [INFO] [stdout] 466 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Char), TypeInfo::Primitive(Primitive::Char))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hir/infer.rs:466:55 [INFO] [stdout] | [INFO] [stdout] 466 | ... Some(|this: &mut Self, a, b| (TypeInfo::Primitive(Primitive::Boolean), TypeInfo::Primitive(Primitive::Char), TypeInfo::Primitive(Primitive::Char))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/hir/infer.rs:482:55 [INFO] [stdout] | [INFO] [stdout] 482 | ... Some(|this: &mut Self, a, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/hir/infer.rs:547:33 [INFO] [stdout] | [INFO] [stdout] 547 | ... ty => Err(Error::custom(format!( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/hir/infer.rs:628:21 [INFO] [stdout] | [INFO] [stdout] 628 | Unknown(ty) => return Err(ReconstructError::Unknown(id)), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/lex.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | .or(just('<').map(|sc| Token::Op(Op::Less))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/lex.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | .or(just('>').map(|sc| Token::Op(Op::More))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/lex.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | .or(just('!').map(|sc| Token::Op(Op::Not))) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/lex.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | .or(just(',').map(|sc| Token::Comma)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/lex.rs:252:40 [INFO] [stdout] | [INFO] [stdout] 252 | .or(seq("::".chars()).map(|sc| Token::Separator)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/lex.rs:253:32 [INFO] [stdout] | [INFO] [stdout] 253 | .or(just(':').map(|sc| Token::Colon)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/lex.rs:254:32 [INFO] [stdout] | [INFO] [stdout] 254 | .or(just('.').map(|sc| Token::Dot)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/lex.rs:255:32 [INFO] [stdout] | [INFO] [stdout] 255 | .or(just('?').map(|sc| Token::QuestionMark)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/lex.rs:256:32 [INFO] [stdout] | [INFO] [stdout] 256 | .or(just('|').map(|sc| Token::Pipe)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sc` [INFO] [stdout] --> src/lex.rs:257:32 [INFO] [stdout] | [INFO] [stdout] 257 | .or(just('$').map(|sc| Token::Dollar)) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/lex.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | Token::Tree(delim, tokens) => write!(f, "{}...{}", delim.left(), delim.right()), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/mir.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let entry = this.instantiate_def(prog, entry, Vec::new()) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/mir.rs:414:38 [INFO] [stdout] | [INFO] [stdout] 414 | Type::Data(data, params) => match &*prog.data_ctx [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/mir.rs:528:41 [INFO] [stdout] | [INFO] [stdout] 528 | .map(|(variant, ty)| RawType::Boxed( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_generic` [INFO] [stdout] --> src/mir.rs:512:21 [INFO] [stdout] | [INFO] [stdout] 512 | let mut get_generic = |name| data.generics [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_a` [INFO] [stdout] --> src/src.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | (Span::Range(from_a, until_a), Span::Range(from_b, until_b)) => [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_b` [INFO] [stdout] --> src/src.rs:138:56 [INFO] [stdout] | [INFO] [stdout] 138 | (Span::Range(from_a, until_a), Span::Range(from_b, until_b)) => [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/src.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | fn single(index: usize, sym: &SrcNode) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/ty.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let iter = match &**self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ty.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | Type::Data(data, params) => params [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/vm/compile.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | Literal::String(x) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/error.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn at(mut self, span: Span) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/error.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn merge(mut self, mut other: Self) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/error.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn merge(mut self, mut other: Self) -> Self { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/error.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn expected(mut self, thing: Self::Thing) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/error.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | fn expected(mut self, thing: Self::Thing) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hir/mod.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | let mut body = ast_def.body.to_hir(&mut infer, &scope)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hir/infer.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let mut err = Error::custom(format!( [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mir.rs:512:21 [INFO] [stdout] | [INFO] [stdout] 512 | let mut get_generic = |name| data.generics [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `hir::infer::InferCtx<'_>` in the current scope [INFO] [stdout] --> src/hir/infer.rs:682:33 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct InferCtx<'a> { [INFO] [stdout] | ----------------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 682 | let mut ctx = InferCtx::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `hir::infer::InferCtx<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::default::Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `hir::infer::InferCtx<'_>` in the current scope [INFO] [stdout] --> src/hir/infer.rs:705:33 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct InferCtx<'a> { [INFO] [stdout] | ----------------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 705 | let mut ctx = InferCtx::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `hir::infer::InferCtx<'_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::default::Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm/builder.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn link(mut self, program: &mut Program) -> (CodeAddr, Vec<(CodeAddr, mir::DefId)>) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm/vm.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn execute(mut self, prog: &Program) -> Value { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm/vm.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let mut env = (0..n).map(|_| expr_stack.pop().unwrap()).collect(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path_parser` [INFO] [stdout] --> src/ast.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn path_parser(pat: Parser, Output=Ident>, Error>) -> Parser, Output=SrcNode>, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tao`. [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] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2873fa198a1a7b5ddbb40fbf205d737753143fdf18badc19eb4f123641a0d969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2873fa198a1a7b5ddbb40fbf205d737753143fdf18badc19eb4f123641a0d969", kill_on_drop: false }` [INFO] [stdout] 2873fa198a1a7b5ddbb40fbf205d737753143fdf18badc19eb4f123641a0d969