[INFO] cloning repository https://github.com/fractalide/sio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fractalide/sio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffractalide%2Fsio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffractalide%2Fsio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81b9e45d3f40cce7879c80430f4ff00587003c4c [INFO] checking fractalide/sio against try#78c81ee3917a99dcff6e2e6822800f0492c415c3 for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffractalide%2Fsio" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fractalide/sio [INFO] finished tweaking git repo https://github.com/fractalide/sio [INFO] tweaked toml for git repo https://github.com/fractalide/sio written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fractalide/sio on toolchain 78c81ee3917a99dcff6e2e6822800f0492c415c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/vincenthz/werbolg` [INFO] [stderr] Updating git repository `https://github.com/vincenthz/macro-quote` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding ariadne v0.3.0 (available: v0.6.0) [INFO] [stderr] Adding chumsky v0.9.3 (available: v0.11.2) [INFO] [stderr] Adding hashbrown v0.14.5 (available: v0.16.0) [INFO] [stderr] Adding logos v0.13.0 (available: v0.15.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "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 cfg-if v1.0.4 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded stacker v0.1.22 [INFO] [stderr] Downloaded semver v1.0.27 [INFO] [stderr] Downloaded find-msvc-tools v0.1.5 [INFO] [stderr] Downloaded logos-codegen v0.15.1 [INFO] [stderr] Downloaded regex v1.12.2 [INFO] [stderr] Downloaded memchr v2.7.6 [INFO] [stderr] Downloaded syn v2.0.110 [INFO] [stderr] Downloaded aho-corasick v1.1.4 [INFO] [stderr] Downloaded ar_archive_writer v0.2.0 [INFO] [stderr] Downloaded regex-syntax v0.8.8 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded cc v1.2.46 [INFO] [stderr] Downloaded regex-automata v0.4.13 [INFO] [stderr] Downloaded psm v0.1.28 [INFO] [stderr] Downloaded logos-derive v0.15.1 [INFO] [stderr] Downloaded yansi v0.5.1 [INFO] [stderr] Downloaded ariadne v0.3.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.103 [INFO] [stderr] Downloaded logos-codegen v0.13.0 [INFO] [stderr] Downloaded object v0.32.2 [INFO] [stderr] Downloaded logos v0.13.0 [INFO] [stderr] Downloaded unicode-ident v1.0.22 [INFO] [stderr] Downloaded ahash v0.8.12 [INFO] [stderr] Downloaded logos-derive v0.13.0 [INFO] [stderr] Downloaded quote v1.0.42 [INFO] [stderr] Downloaded libc v0.2.177 [INFO] [stderr] Downloaded logos v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9f8d7c1f2f3e426ebec1d43fd7133a729d05e3febaef02aa3eec05d3494feae [INFO] running `Command { std: "docker" "start" "-a" "e9f8d7c1f2f3e426ebec1d43fd7133a729d05e3febaef02aa3eec05d3494feae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9f8d7c1f2f3e426ebec1d43fd7133a729d05e3febaef02aa3eec05d3494feae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9f8d7c1f2f3e426ebec1d43fd7133a729d05e3febaef02aa3eec05d3494feae", kill_on_drop: false }` [INFO] [stdout] e9f8d7c1f2f3e426ebec1d43fd7133a729d05e3febaef02aa3eec05d3494feae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5214d950bb5f68f127eb1fc4b38cd152a05cd029d4bbc58fc45dcef0c125c2ca [INFO] running `Command { std: "docker" "start" "-a" "5214d950bb5f68f127eb1fc4b38cd152a05cd029d4bbc58fc45dcef0c125c2ca", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Checking werbolg-core v0.1.0 (https://github.com/vincenthz/werbolg#73392e21) [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling macro-quote-types v0.1.0 (https://github.com/vincenthz/macro-quote#8f42d14c) [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling macro-quote v0.1.0 (https://github.com/vincenthz/macro-quote#8f42d14c) [INFO] [stderr] Compiling logos-codegen v0.15.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking werbolg-lang-common v0.1.0 (https://github.com/vincenthz/werbolg#73392e21) [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling werbolg-ir-write v0.1.0 (https://github.com/vincenthz/werbolg#73392e21) [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking werbolg-compile v0.1.0 (https://github.com/vincenthz/werbolg#73392e21) [INFO] [stderr] Checking single-assignment-store v0.3.0 (/opt/rustwide/workdir/single-assignment-store) [INFO] [stderr] Checking sio-frontend v0.1.0 (/opt/rustwide/workdir/sio-frontend) [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> sio-frontend/src/expr_parser.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let mut parts = vec![]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `no_std` [INFO] [stdout] --> single-assignment-store/src/tests.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(feature = "no_std", no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `no_std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> single-assignment-store/src/tests.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> single-assignment-store/src/tests.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> single-assignment-store/src/tests.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> sio-frontend/src/lib.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | use werbolg_lang_common::{FileUnit, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> sio-frontend/src/expr_parser.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let mut parts = vec![]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro `crate::expr_parser::tests::help::vec` exists but is inaccessible [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> sio-frontend/src/lib.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | use werbolg_lang_common::{FileUnit, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> single-assignment-store/src/lib.rs:332:18 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn entry(&mut self, k: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 332 | pub fn entry(&mut self, k: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking werbolg-exec v0.1.0 (https://github.com/vincenthz/werbolg#73392e21) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> single-assignment-store/src/lib.rs:332:18 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn entry(&mut self, k: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 332 | pub fn entry(&mut self, k: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> sio-frontend/src/token.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 220 | TokenKind::EqualEqual => "'=='", [INFO] [stdout] | --------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 233 | TokenKind::EqualEqual => "'=='", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `it` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | fn parse_major_declaration(it: &mut Parser) -> Result, ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_it` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `it` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | fn parse_brigadier_declaration(it: &mut Parser) -> Result, ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_it` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin_span` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let begin_span = it.expect(TokenKind::Use)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_begin_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let name = expect_string(it)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> sio-frontend/src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let ast = parse(&file_unit.content)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] error: could not compile `sio-frontend` (lib) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 381 | ws(Stmt::Url( [INFO] [stdout] | --------- arguments to this enum variant are incorrect [INFO] [stdout] 382 | Box::new(ws("this".into(), 0..4)), [INFO] [stdout] 383 | vec![ws("that".into(), 4..8)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HierarchicalName`, found `Vec>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ast::HierarchicalName` [INFO] [stdout] found struct `alloc::vec::Vec>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> sio-frontend/src/ast.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Url(Box>, HierarchicalName), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:396:21 [INFO] [stdout] | [INFO] [stdout] 394 | ws(Stmt::Url( [INFO] [stdout] | --------- arguments to this enum variant are incorrect [INFO] [stdout] 395 | Box::new(ws("this".into(), 0..4)), [INFO] [stdout] 396 | vec![ws("that".into(), 4..8), ws("that2".into(), 8..12)], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HierarchicalName`, found `Vec>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ast::HierarchicalName` [INFO] [stdout] found struct `alloc::vec::Vec>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> sio-frontend/src/ast.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Url(Box>, HierarchicalName), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:446:26 [INFO] [stdout] | [INFO] [stdout] 446 | Some(Box::new(ws(Expr::Nil, 15..18))) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `WithSpan`, found `Box>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `position::WithSpan<_>` [INFO] [stdout] found struct `alloc::boxed::Box>` [INFO] [stdout] help: the type constructed contains `alloc::boxed::Box>` due to the type of the argument passed [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:446:21 [INFO] [stdout] | [INFO] [stdout] 446 | Some(Box::new(ws(Expr::Nil, 15..18))) [INFO] [stdout] | ^^^^^-------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/core/src/option.rs:608:4 [INFO] [stdout] help: consider removing the Box [INFO] [stdout] | [INFO] [stdout] 446 - Some(Box::new(ws(Expr::Nil, 15..18))) [INFO] [stdout] 446 + Some(ws(Expr::Nil, 15..18)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:457:30 [INFO] [stdout] | [INFO] [stdout] 457 | Some(Box::new(ws(Expr::Assign( [INFO] [stdout] | _________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 458 | | WithSpan::new_unchecked("x".into(), 15, 16), [INFO] [stdout] 459 | | Box::new(ws(Expr::Nil, 19..22)) [INFO] [stdout] 460 | | ), 15..22))) [INFO] [stdout] | |___________________________________^ expected `WithSpan`, found `Box>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `position::WithSpan<_>` [INFO] [stdout] found struct `alloc::boxed::Box>` [INFO] [stdout] help: the type constructed contains `alloc::boxed::Box>` due to the type of the argument passed [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:457:25 [INFO] [stdout] | [INFO] [stdout] 457 | Some(Box::new(ws(Expr::Assign( [INFO] [stdout] | _________________________^ - [INFO] [stdout] | |______________________________| [INFO] [stdout] 458 | || WithSpan::new_unchecked("x".into(), 15, 16), [INFO] [stdout] 459 | || Box::new(ws(Expr::Nil, 19..22)) [INFO] [stdout] 460 | || ), 15..22))) [INFO] [stdout] | ||___________________________________-^ [INFO] [stdout] | |____________________________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/core/src/option.rs:608:4 [INFO] [stdout] help: consider removing the Box [INFO] [stdout] | [INFO] [stdout] 457 ~ Some(ws(Expr::Assign( [INFO] [stdout] 458 | WithSpan::new_unchecked("x".into(), 15, 16), [INFO] [stdout] 459 | Box::new(ws(Expr::Nil, 19..22)) [INFO] [stdout] 460 ~ ), 15..22)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:546:24 [INFO] [stdout] | [INFO] [stdout] 546 | ws(Stmt::Function( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 547 | WithSpan::new_unchecked("test".into(), 4, 8), [INFO] [stdout] 548 | vec![], [INFO] [stdout] | ------ unexpected argument #2 of type `alloc::vec::Vec<_>` [INFO] [stdout] 549 | vec![] [INFO] [stdout] | ------ unexpected argument #3 of type `alloc::vec::Vec<_>` [INFO] [stdout] | [INFO] [stdout] note: expected `Function`, found `WithSpan<_>` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:547:25 [INFO] [stdout] | [INFO] [stdout] 547 | WithSpan::new_unchecked("test".into(), 4, 8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `ast::Function` [INFO] [stdout] found struct `position::WithSpan<_>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> sio-frontend/src/ast.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Function(Function), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 547 - WithSpan::new_unchecked("test".into(), 4, 8), [INFO] [stdout] 547 + /* ast::Function */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:556:24 [INFO] [stdout] | [INFO] [stdout] 556 | ws(Stmt::Function( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 557 | WithSpan::new_unchecked("test".into(), 4, 8), [INFO] [stdout] 558 | vec![WithSpan::new_unchecked("a".into(), 9, 10)], [INFO] [stdout] | ------------------------------------------------ unexpected argument #2 of type `alloc::vec::Vec>` [INFO] [stdout] 559 | vec![] [INFO] [stdout] | ------ unexpected argument #3 of type `alloc::vec::Vec<_>` [INFO] [stdout] | [INFO] [stdout] note: expected `Function`, found `WithSpan<_>` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:557:25 [INFO] [stdout] | [INFO] [stdout] 557 | WithSpan::new_unchecked("test".into(), 4, 8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `ast::Function` [INFO] [stdout] found struct `position::WithSpan<_>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> sio-frontend/src/ast.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Function(Function), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 557 - WithSpan::new_unchecked("test".into(), 4, 8), [INFO] [stdout] 557 + /* ast::Function */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:566:24 [INFO] [stdout] | [INFO] [stdout] 566 | ws(Stmt::Function( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 567 | WithSpan::new_unchecked("test".into(), 4, 8), [INFO] [stdout] 568 | vec![], [INFO] [stdout] | ------ unexpected argument #2 of type `alloc::vec::Vec<_>` [INFO] [stdout] 569 | vec![ws(Stmt::Expression(Box::new(ws(Expr::Nil, 11..14))), 11..15),] [INFO] [stdout] | -------------------------------------------------------------------- unexpected argument #3 of type `alloc::vec::Vec>` [INFO] [stdout] | [INFO] [stdout] note: expected `Function`, found `WithSpan<_>` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:567:25 [INFO] [stdout] | [INFO] [stdout] 567 | WithSpan::new_unchecked("test".into(), 4, 8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `ast::Function` [INFO] [stdout] found struct `position::WithSpan<_>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> sio-frontend/src/ast.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Function(Function), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 567 - WithSpan::new_unchecked("test".into(), 4, 8), [INFO] [stdout] 567 + /* ast::Function */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> sio-frontend/src/token.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 220 | TokenKind::EqualEqual => "'=='", [INFO] [stdout] | --------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 233 | TokenKind::EqualEqual => "'=='", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `it` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | fn parse_major_declaration(it: &mut Parser) -> Result, ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_it` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `it` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | fn parse_brigadier_declaration(it: &mut Parser) -> Result, ()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_it` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin_span` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let begin_span = it.expect(TokenKind::Use)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_begin_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> sio-frontend/src/stmt_parser.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let name = expect_string(it)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> sio-frontend/src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let ast = parse(&file_unit.content)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sio-frontend` (lib test) due to 8 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5214d950bb5f68f127eb1fc4b38cd152a05cd029d4bbc58fc45dcef0c125c2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5214d950bb5f68f127eb1fc4b38cd152a05cd029d4bbc58fc45dcef0c125c2ca", kill_on_drop: false }` [INFO] [stdout] 5214d950bb5f68f127eb1fc4b38cd152a05cd029d4bbc58fc45dcef0c125c2ca