[INFO] cloning repository https://github.com/ImAKappa/rollang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ImAKappa/rollang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FImAKappa%2Frollang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FImAKappa%2Frollang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df90e46e270b6138b812e239af24a365a1783c6c [INFO] testing ImAKappa/rollang against nightly-2025-01-18 for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FImAKappa%2Frollang" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ImAKappa/rollang on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ImAKappa/rollang [INFO] finished tweaking git repo https://github.com/ImAKappa/rollang [INFO] tweaked toml for git repo https://github.com/ImAKappa/rollang written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ImAKappa/rollang 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded memoffset v0.9.0 [INFO] [stderr] Downloaded unicode-ident v1.0.6 [INFO] [stderr] Downloaded drop_bomb v0.1.5 [INFO] [stderr] Downloaded dissimilar v1.0.7 [INFO] [stderr] Downloaded serde_derive v1.0.196 [INFO] [stderr] Downloaded proc-macro2 v1.0.78 [INFO] [stderr] Downloaded logos-codegen v0.14.0 [INFO] [stderr] Downloaded serde v1.0.196 [INFO] [stderr] Downloaded smol_str v0.2.1 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded quote v1.0.35 [INFO] [stderr] Downloaded rowan v0.15.15 [INFO] [stderr] Downloaded expect-test v1.4.1 [INFO] [stderr] Downloaded logos-derive v0.14.0 [INFO] [stderr] Downloaded syn v2.0.48 [INFO] [stderr] Downloaded countme v3.0.1 [INFO] [stderr] Downloaded autocfg v1.1.0 [INFO] [stderr] Downloaded text-size v1.1.1 [INFO] [stderr] Downloaded regex-syntax v0.8.2 [INFO] [stderr] Downloaded logos v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60f8913f4a9f3633d35d88f2c69bc072f79dee74818c753b8851e62e6ff49506 [INFO] running `Command { std: "docker" "start" "-a" "60f8913f4a9f3633d35d88f2c69bc072f79dee74818c753b8851e62e6ff49506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60f8913f4a9f3633d35d88f2c69bc072f79dee74818c753b8851e62e6ff49506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60f8913f4a9f3633d35d88f2c69bc072f79dee74818c753b8851e62e6ff49506", kill_on_drop: false }` [INFO] [stdout] 60f8913f4a9f3633d35d88f2c69bc072f79dee74818c753b8851e62e6ff49506 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dc481c1ef848e79d34f8e2d81cf49fc5b7668096f9d4e1fef7d7021f15128bc [INFO] running `Command { std: "docker" "start" "-a" "5dc481c1ef848e79d34f8e2d81cf49fc5b7668096f9d4e1fef7d7021f15128bc", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Compiling logos v0.14.0 [INFO] [stderr] Compiling lexer v0.1.0 (/opt/rustwide/workdir/crates/lexer) [INFO] [stderr] Compiling syntax v0.1.0 (/opt/rustwide/workdir/crates/syntax) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/lib.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive, Hash, PartialOrd, Ord)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SyntaxKind` [INFO] [stdout] 6 | pub enum SyntaxKind { [INFO] [stdout] | ---------- `SyntaxKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/lib.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive, Hash, PartialOrd, Ord)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SyntaxKind` [INFO] [stdout] 6 | pub enum SyntaxKind { [INFO] [stdout] | ---------- `SyntaxKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir/crates/parser) [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> crates/parser/src/parser.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn at_set(&mut self, set: &[SyntaxKind]) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rollang v0.1.0 (/opt/rustwide/workdir/crates/rollang) [INFO] [stdout] warning: unused variable: `stderr` [INFO] [stdout] --> crates/rollang/src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut stderr = io::stderr(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/rollang/src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut stderr = io::stderr(); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.40s [INFO] running `Command { std: "docker" "inspect" "5dc481c1ef848e79d34f8e2d81cf49fc5b7668096f9d4e1fef7d7021f15128bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dc481c1ef848e79d34f8e2d81cf49fc5b7668096f9d4e1fef7d7021f15128bc", kill_on_drop: false }` [INFO] [stdout] 5dc481c1ef848e79d34f8e2d81cf49fc5b7668096f9d4e1fef7d7021f15128bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91433f38e4fed86e07a12dbc662dacdf2066bdaffe30ec7cccb124ae741c5cfe [INFO] running `Command { std: "docker" "start" "-a" "91433f38e4fed86e07a12dbc662dacdf2066bdaffe30ec7cccb124ae741c5cfe", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling dissimilar v1.0.7 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lexer v0.1.0 (/opt/rustwide/workdir/crates/lexer) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/lib.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive, Hash, PartialOrd, Ord)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SyntaxKind` [INFO] [stdout] 6 | pub enum SyntaxKind { [INFO] [stdout] | ---------- `SyntaxKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syntax v0.1.0 (/opt/rustwide/workdir/crates/syntax) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/lib.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive, Hash, PartialOrd, Ord)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SyntaxKind` [INFO] [stdout] 6 | pub enum SyntaxKind { [INFO] [stdout] | ---------- `SyntaxKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rollang v0.1.0 (/opt/rustwide/workdir/crates/rollang) [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> crates/parser/src/parser.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn at_set(&mut self, set: &[SyntaxKind]) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr` [INFO] [stdout] --> crates/rollang/src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut stderr = io::stderr(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/rollang/src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut stderr = io::stderr(); [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/lib.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive, Hash, PartialOrd, Ord)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SyntaxKind` [INFO] [stdout] 6 | pub enum SyntaxKind { [INFO] [stdout] | ---------- `SyntaxKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/lib.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive, Hash, PartialOrd, Ord)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SyntaxKind` [INFO] [stdout] 6 | pub enum SyntaxKind { [INFO] [stdout] | ---------- `SyntaxKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling expect-test v1.4.1 [INFO] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir/crates/parser) [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> crates/parser/src/parser.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn at_set(&mut self, set: &[SyntaxKind]) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.30s [INFO] running `Command { std: "docker" "inspect" "91433f38e4fed86e07a12dbc662dacdf2066bdaffe30ec7cccb124ae741c5cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91433f38e4fed86e07a12dbc662dacdf2066bdaffe30ec7cccb124ae741c5cfe", kill_on_drop: false }` [INFO] [stdout] 91433f38e4fed86e07a12dbc662dacdf2066bdaffe30ec7cccb124ae741c5cfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79f2435533d1c0ec373a599d04469188b55806e0a08f664f9fb0c69519b7068b [INFO] running `Command { std: "docker" "start" "-a" "79f2435533d1c0ec373a599d04469188b55806e0a08f664f9fb0c69519b7068b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/syntax/src/lib.rs:5:45 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive, Hash, PartialOrd, Ord)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SyntaxKind` [INFO] [stderr] 6 | pub enum SyntaxKind { [INFO] [stderr] | ---------- `SyntaxKind` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/syntax/src/lib.rs:5:60 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive, Hash, PartialOrd, Ord)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SyntaxKind` [INFO] [stderr] 6 | pub enum SyntaxKind { [INFO] [stderr] | ---------- `SyntaxKind` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `syntax` (lib) generated 2 warnings [INFO] [stderr] warning: `syntax` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: unused variable: `set` [INFO] [stderr] --> crates/parser/src/parser.rs:62:26 [INFO] [stderr] | [INFO] [stderr] 62 | fn at_set(&mut self, set: &[SyntaxKind]) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `parser` (lib) generated 1 warning [INFO] [stderr] warning: unused variable: `stderr` [INFO] [stderr] --> crates/rollang/src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | let mut stderr = io::stderr(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/rollang/src/main.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let mut stderr = io::stderr(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rollang` (bin "rollang" test) generated 2 warnings (run `cargo fix --bin "rollang" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `parser` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lexer-3a490c8964628430) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test token_kind::tests::lex_alphabetic_identifier ... ok [INFO] [stdout] test token_kind::tests::lex_alphanumeric_identifier ... ok [INFO] [stdout] test token_kind::tests::lex_comment ... ok [INFO] [stdout] test token_kind::tests::lex_minus ... ok [INFO] [stdout] test token_kind::tests::lex_mixed_case_identifier ... ok [INFO] [stdout] test token_kind::tests::lex_single_char_identifier ... ok [INFO] [stdout] test token_kind::tests::lex_whitespace ... ok [INFO] [stdout] test token_kind::tests::lex_dice ... ok [INFO] [stdout] test token_kind::tests::lex_plus ... ok [INFO] [stdout] test token_kind::tests::lex_right_parenthesis ... ok [INFO] [stdout] test token_kind::tests::lex_left_parenthesis ... ok [INFO] [stdout] test token_kind::tests::lex_number ... ok [INFO] [stdout] test token_kind::tests::lex_newlines ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parser-bd41c5c9172d3779) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test grammar::expr::tests::parse_number_surrounded_by_whitespace ... ok [INFO] [stdout] test grammar::expr::tests::parse_nested_parentheses ... ok [INFO] [stdout] test grammar::expr::tests::parse_number_followed_by_whitespace ... ok [INFO] [stdout] test grammar::expr::tests::parse_number ... ok [INFO] [stdout] test grammar::expr::tests::parse_negation ... ok [INFO] [stdout] test grammar::expr::tests::negation_has_higher_binding_power_than_binary_operators ... ok [INFO] [stdout] test grammar::expr::tests::parentheses_affect_precedence ... ok [INFO] [stdout] test grammar::expr::tests::parse_infix_expression_with_mixed_binding_power ... ok [INFO] [stdout] test grammar::expr::tests::parse_number_preceded_by_whitespace ... ok [INFO] [stdout] test grammar::expr::tests::parse_infix_expression_interspersed_with_comments ... ok [INFO] [stdout] test grammar::stmt::tests::parse_multiple_statements ... ok [INFO] [stdout] test grammar::expr::tests::parse_simple_infix_expression ... ok [INFO] [stdout] test grammar::stmt::tests::recover_on_let_token ... ok [INFO] [stdout] test parser::tests::parse_comment ... ok [INFO] [stdout] test parser::tests::parse_whitespace ... ok [INFO] [stdout] test grammar::expr::tests::parse_infix_expression_with_whitespace ... ok [INFO] [stdout] test grammar::expr::tests::parse_left_associative_infix_expression ... ok [INFO] [stdout] test grammar::expr::tests::parse_variable_ref ... ok [INFO] [stdout] test parser::tests::parse_binary_expression_interspersed_with_comments ... FAILED [INFO] [stdout] test parser::tests::parse_nothing ... ok [INFO] [stdout] test grammar::stmt::tests::parse_variable_definition ... ok [INFO] [stdout] test grammar::expr::tests::do_not_parse_operator_if_gettting_rhs_failed ... FAILED [INFO] [stdout] test grammar::expr::tests::parse_unclosed_parentheses ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- parser::tests::parse_binary_expression_interspersed_with_comments stdout ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expect test failed [INFO] [stdout] --> crates/parser/src/parser.rs:111:13 [INFO] [stdout] [INFO] [stdout] You can update all `expect!` tests by running: [INFO] [stdout] [INFO] [stdout] env UPDATE_EXPECT=1 cargo test [INFO] [stdout] [INFO] [stdout] To update a single test, place the cursor on `expect` token and use `run` feature of rust-analyzer. [INFO] [stdout] [INFO] [stdout] Expect: [INFO] [stdout] ---- [INFO] [stdout] Root@0..35 [INFO] [stdout] Whitespace@0..1 "\n" [INFO] [stdout] InfixExpr@1..35 [INFO] [stdout] InfixExpr@1..21 [INFO] [stdout] Number@1..2 "1" [INFO] [stdout] Whitespace@2..5 "\n " [INFO] [stdout] Plus@5..6 "+" [INFO] [stdout] Whitespace@6..7 " " [INFO] [stdout] Number@7..8 "1" [INFO] [stdout] Whitespace@8..9 " " [INFO] [stdout] Comment@9..18 "# Add one" [INFO] [stdout] Whitespace@18..21 "\n " [INFO] [stdout] Plus@21..22 "+" [INFO] [stdout] Whitespace@22..23 " " [INFO] [stdout] Number@23..25 "10" [INFO] [stdout] Whitespace@25..26 " " [INFO] [stdout] Comment@26..35 "# Add ten" [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Actual: [INFO] [stdout] ---- [INFO] [stdout] Root@0..35 [INFO] [stdout] Whitespace@0..1 "\n" [INFO] [stdout] InfixExpr@1..35 [INFO] [stdout] InfixExpr@1..21 [INFO] [stdout] Literal@1..5 [INFO] [stdout] Number@1..2 "1" [INFO] [stdout] Whitespace@2..5 "\n " [INFO] [stdout] Plus@5..6 "+" [INFO] [stdout] Whitespace@6..7 " " [INFO] [stdout] Literal@7..21 [INFO] [stdout] Number@7..8 "1" [INFO] [stdout] Whitespace@8..9 " " [INFO] [stdout] Comment@9..18 "# Add one" [INFO] [stdout] Whitespace@18..21 "\n " [INFO] [stdout] Plus@21..22 "+" [INFO] [stdout] Whitespace@22..23 " " [INFO] [stdout] Literal@23..35 [INFO] [stdout] Number@23..25 "10" [INFO] [stdout] Whitespace@25..26 " " [INFO] [stdout] Comment@26..35 "# Add ten" [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] Diff: [INFO] [stdout] ---- [INFO] [stdout] Root@0..35 [INFO] [stdout] Whitespace@0..1 "\n" [INFO] [stdout] InfixExpr@1..35 [INFO] [stdout] InfixExpr@1..21 [INFO] [stdout]  Literal@1..5 [INFO] [stdout]  Number@1..2 "1" [INFO] [stdout]  Whitespace@2..5 "\n " [INFO] [stdout] Plus@5..6 "+" [INFO] [stdout] Whitespace@6..7 " " [INFO] [stdout]  Literal@7..21 [INFO] [stdout]  Number@7..8 "1" [INFO] [stdout]  Whitespace@8..9 " " [INFO] [stdout]  Comment@9..18 "# Add one" [INFO] [stdout]   Whitespace@18..21 "\n " [INFO] [stdout] Plus@21..22 "+" [INFO] [stdout] Whitespace@22..23 " " [INFO] [stdout]  Literal@23..35 [INFO] [stdout]  Number@23..25 "10" [INFO] [stdout]  Whitespace@25..26 " " [INFO] [stdout]   Comment@26..35 "# Add ten" [INFO] [stdout] ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- grammar::expr::tests::do_not_parse_operator_if_gettting_rhs_failed stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'grammar::expr::tests::do_not_parse_operator_if_gettting_rhs_failed' panicked at crates/parser/src/grammar/expr.rs:116:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: None [INFO] [stdout] right: Some(Ok(RParen)) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x566e0aa1069a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x566e0aa1069a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x566e0aa1069a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x566e0aa1069a - ::fmt::h71a62eb3b9696b12 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x566e0aa38183 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x566e0aa38183 - core::fmt::write::h2cc1698af7e2d686 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x566e0aa0cf83 - std::io::Write::write_fmt::hab1b4cd059a79022 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x566e0aa104e2 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x566e0aa11abf - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x566e0aa118d8 - std::panicking::default_hook::h20f81eb0576efcec [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x566e0a983c83 - as core::ops::function::Fn>::call::hdb53814c496a4d34 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9 [INFO] [stdout] 11: 0x566e0a983c83 - test::test_main::{{closure}}::hc0a4963c59427c24 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x566e0aa125b3 - as core::ops::function::Fn>::call::h591b2225413a77e9 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9 [INFO] [stdout] 13: 0x566e0aa125b3 - std::panicking::rust_panic_with_hook::h625eea43051b2edc [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x566e0aa1226a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x566e0aa10b99 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x566e0aa11efd - rust_begin_unwind [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x566e0aa36b00 - core::panicking::panic_fmt::h9e7c637e9e5f29c9 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x566e0aa36f53 - core::panicking::assert_failed_inner::h538bec7c1374cd9c [INFO] [stdout] 19: 0x566e0a945c37 - core::panicking::assert_failed::h635e25d9dc5ca980 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:364:5 [INFO] [stdout] 20: 0x566e0a9480e6 - parser::grammar::expr::paren_expr::h5c0e5944782cb7d3 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:116:5 [INFO] [stdout] 21: 0x566e0a947c4c - parser::grammar::expr::lhs::hff7d82abf9cc866e [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:68:41 [INFO] [stdout] 22: 0x566e0a94798f - parser::grammar::expr::expr_binding_power::h93c9c11e0d9d34c8 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:35:19 [INFO] [stdout] 23: 0x566e0a94795c - parser::grammar::expr::expr::h3566a6c736b01afe [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:31:5 [INFO] [stdout] 24: 0x566e0a9437eb - parser::grammar::stmt::stmt::h682e95c767cf605b [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/stmt.rs:6:14 [INFO] [stdout] 25: 0x566e0a9481ff - parser::grammar::root::hf848f69781501c94 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar.rs:12:9 [INFO] [stdout] 26: 0x566e0a943a4e - parser::parser::Parser::parse::h326d6f70b39eb452 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/parser.rs:25:9 [INFO] [stdout] 27: 0x566e0a948ffc - parser::parse::h5f7994022baca2c6 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/lib.rs:18:18 [INFO] [stdout] 28: 0x566e0a949398 - parser::check::h16176d1765858d3f [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/lib.rs:42:17 [INFO] [stdout] 29: 0x566e0a944724 - parser::grammar::expr::tests::do_not_parse_operator_if_gettting_rhs_failed::hb021bad5ef1b8d25 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:304:9 [INFO] [stdout] 30: 0x566e0a944697 - parser::grammar::expr::tests::do_not_parse_operator_if_gettting_rhs_failed::{{closure}}::h11c46235a9e2bf2a [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:303:54 [INFO] [stdout] 31: 0x566e0a940c66 - core::ops::function::FnOnce::call_once::h81f4a2d2a1255fa3 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 32: 0x566e0a9893db - core::ops::function::FnOnce::call_once::he27718dfdd183f43 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 33: 0x566e0a9893db - test::__rust_begin_short_backtrace::h4e84902998457a5d [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18 [INFO] [stdout] 34: 0x566e0a988313 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60 [INFO] [stdout] 35: 0x566e0a988313 - as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x566e0a988313 - std::panicking::try::do_call::h3da0561d9ab99c25 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x566e0a988313 - std::panicking::try::h41c9fa508bc61df6 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x566e0a988313 - std::panic::catch_unwind::h6b3ff07bb5afad93 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x566e0a988313 - test::run_test_in_process::hc7253dd11b39b9f4 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27 [INFO] [stdout] 40: 0x566e0a988313 - test::run_test::{{closure}}::hfb2007f8649c30bb [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43 [INFO] [stdout] 41: 0x566e0a94b3f5 - test::run_test::{{closure}}::h56a17aa7a282a9f4 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41 [INFO] [stdout] 42: 0x566e0a94b3f5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 43: 0x566e0a94ecda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 44: 0x566e0a94ecda - as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 45: 0x566e0a94ecda - std::panicking::try::do_call::h2f73af3616c35465 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40 [INFO] [stdout] 46: 0x566e0a94ecda - std::panicking::try::hd1660ce9efadef5a [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19 [INFO] [stdout] 47: 0x566e0a94ecda - std::panic::catch_unwind::h5ee8d7823b8ca744 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14 [INFO] [stdout] 48: 0x566e0a94ecda - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 49: 0x566e0a94ecda - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 50: 0x566e0aa1667b - as core::ops::function::FnOnce>::call_once::ha52bedf99a3b4981 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9 [INFO] [stdout] 51: 0x566e0aa1667b - as core::ops::function::FnOnce>::call_once::h567748934d80ccf8 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9 [INFO] [stdout] 52: 0x566e0aa1667b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 53: 0x7ee4baaedac3 - [INFO] [stdout] 54: 0x7ee4bab7ea04 - clone [INFO] [stdout] 55: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- grammar::expr::tests::parse_unclosed_parentheses stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'grammar::expr::tests::parse_unclosed_parentheses' panicked at crates/parser/src/grammar/expr.rs:116:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: None [INFO] [stdout] right: Some(Ok(RParen)) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x566e0aa1069a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x566e0aa1069a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x566e0aa1069a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x566e0aa1069a - ::fmt::h71a62eb3b9696b12 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x566e0aa38183 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x566e0aa38183 - core::fmt::write::h2cc1698af7e2d686 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x566e0aa0cf83 - std::io::Write::write_fmt::hab1b4cd059a79022 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x566e0aa104e2 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x566e0aa11abf - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x566e0aa118d8 - std::panicking::default_hook::h20f81eb0576efcec [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x566e0a983c83 - as core::ops::function::Fn>::call::hdb53814c496a4d34 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9 [INFO] [stdout] 11: 0x566e0a983c83 - test::test_main::{{closure}}::hc0a4963c59427c24 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x566e0aa125b3 - as core::ops::function::Fn>::call::h591b2225413a77e9 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9 [INFO] [stdout] 13: 0x566e0aa125b3 - std::panicking::rust_panic_with_hook::h625eea43051b2edc [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x566e0aa1226a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x566e0aa10b99 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x566e0aa11efd - rust_begin_unwind [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x566e0aa36b00 - core::panicking::panic_fmt::h9e7c637e9e5f29c9 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x566e0aa36f53 - core::panicking::assert_failed_inner::h538bec7c1374cd9c [INFO] [stdout] 19: 0x566e0a945c37 - core::panicking::assert_failed::h635e25d9dc5ca980 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:364:5 [INFO] [stdout] 20: 0x566e0a9480e6 - parser::grammar::expr::paren_expr::h5c0e5944782cb7d3 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:116:5 [INFO] [stdout] 21: 0x566e0a947c4c - parser::grammar::expr::lhs::hff7d82abf9cc866e [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:68:41 [INFO] [stdout] 22: 0x566e0a94798f - parser::grammar::expr::expr_binding_power::h93c9c11e0d9d34c8 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:35:19 [INFO] [stdout] 23: 0x566e0a94795c - parser::grammar::expr::expr::h3566a6c736b01afe [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:31:5 [INFO] [stdout] 24: 0x566e0a9437eb - parser::grammar::stmt::stmt::h682e95c767cf605b [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/stmt.rs:6:14 [INFO] [stdout] 25: 0x566e0a9481ff - parser::grammar::root::hf848f69781501c94 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar.rs:12:9 [INFO] [stdout] 26: 0x566e0a943a4e - parser::parser::Parser::parse::h326d6f70b39eb452 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/parser.rs:25:9 [INFO] [stdout] 27: 0x566e0a948ffc - parser::parse::h5f7994022baca2c6 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/lib.rs:18:18 [INFO] [stdout] 28: 0x566e0a949398 - parser::check::h16176d1765858d3f [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/lib.rs:42:17 [INFO] [stdout] 29: 0x566e0a944a94 - parser::grammar::expr::tests::parse_unclosed_parentheses::hd9532a5f982c6a92 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:402:9 [INFO] [stdout] 30: 0x566e0a944a07 - parser::grammar::expr::tests::parse_unclosed_parentheses::{{closure}}::hf286f0b5bf90b375 [INFO] [stdout] at /opt/rustwide/workdir/crates/parser/src/grammar/expr.rs:401:36 [INFO] [stdout] 31: 0x566e0a940ce6 - core::ops::function::FnOnce::call_once::ha1f8fb44ca50d89c [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 32: 0x566e0a9893db - core::ops::function::FnOnce::call_once::he27718dfdd183f43 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 33: 0x566e0a9893db - test::__rust_begin_short_backtrace::h4e84902998457a5d [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18 [INFO] [stdout] 34: 0x566e0a988313 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60 [INFO] [stdout] 35: 0x566e0a988313 - as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x566e0a988313 - std::panicking::try::do_call::h3da0561d9ab99c25 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x566e0a988313 - std::panicking::try::h41c9fa508bc61df6 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x566e0a988313 - std::panic::catch_unwind::h6b3ff07bb5afad93 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x566e0a988313 - test::run_test_in_process::hc7253dd11b39b9f4 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27 [INFO] [stdout] 40: 0x566e0a988313 - test::run_test::{{closure}}::hfb2007f8649c30bb [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43 [INFO] [stdout] 41: 0x566e0a94b3f5 - test::run_test::{{closure}}::h56a17aa7a282a9f4 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41 [INFO] [stdout] 42: 0x566e0a94b3f5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 43: 0x566e0a94ecda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 44: 0x566e0a94ecda - as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 45: 0x566e0a94ecda - std::panicking::try::do_call::h2f73af3616c35465 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40 [INFO] [stdout] 46: 0x566e0a94ecda - std::panicking::try::hd1660ce9efadef5a [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19 [INFO] [stdout] 47: 0x566e0a94ecda - std::panic::catch_unwind::h5ee8d7823b8ca744 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14 [INFO] [stdout] 48: 0x566e0a94ecda - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 49: 0x566e0a94ecda - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 50: 0x566e0aa1667b - as core::ops::function::FnOnce>::call_once::ha52bedf99a3b4981 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9 [INFO] [stdout] 51: 0x566e0aa1667b - as core::ops::function::FnOnce>::call_once::h567748934d80ccf8 [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9 [INFO] [stdout] 52: 0x566e0aa1667b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc [INFO] [stdout] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 53: 0x7ee4baaedac3 - [INFO] [stdout] 54: 0x7ee4bab7ea04 - clone [INFO] [stdout] 55: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] grammar::expr::tests::do_not_parse_operator_if_gettting_rhs_failed [INFO] [stdout] grammar::expr::tests::parse_unclosed_parentheses [INFO] [stdout] parser::tests::parse_binary_expression_interspersed_with_comments [INFO] [stdout] [INFO] [stdout] test result: FAILED. 20 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p parser --lib` [INFO] running `Command { std: "docker" "inspect" "79f2435533d1c0ec373a599d04469188b55806e0a08f664f9fb0c69519b7068b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f2435533d1c0ec373a599d04469188b55806e0a08f664f9fb0c69519b7068b", kill_on_drop: false }` [INFO] [stdout] 79f2435533d1c0ec373a599d04469188b55806e0a08f664f9fb0c69519b7068b