[INFO] fetching crate ergoscript-compiler 0.24.0... [INFO] testing ergoscript-compiler-0.24.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate ergoscript-compiler 0.24.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ergoscript-compiler 0.24.0 [INFO] finished tweaking crates.io crate ergoscript-compiler 0.24.0 [INFO] tweaked toml for crates.io crate ergoscript-compiler 0.24.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ergoscript-compiler 0.24.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 157 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding logos v0.12.1 (available: v0.15.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding rowan v0.12.6 (available: v0.16.1) [INFO] [stderr] Adding url v2.2.2 (available: v2.5.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.21.0 [INFO] [stderr] Downloaded strum_macros v0.21.1 [INFO] [stderr] Downloaded sigma-util v0.18.0 [INFO] [stderr] Downloaded line-col v0.2.1 [INFO] [stderr] Downloaded rowan v0.12.6 [INFO] [stderr] Downloaded supports-unicode v2.1.0 [INFO] [stderr] Downloaded supports-color v2.1.0 [INFO] [stderr] Downloaded ergo-chain-types v0.15.0 [INFO] [stderr] Downloaded countme v2.0.4 [INFO] [stderr] Downloaded textwrap v0.15.2 [INFO] [stderr] Downloaded supports-hyperlinks v2.1.0 [INFO] [stderr] Downloaded num256 v0.3.5 [INFO] [stderr] Downloaded sigma-ser v0.19.0 [INFO] [stderr] Downloaded ergotree-ir v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e961827406467722ae894576686aae98a4f1c19e6cf5032afce17095aeaf6dcb [INFO] running `Command { std: "docker" "start" "-a" "e961827406467722ae894576686aae98a4f1c19e6cf5032afce17095aeaf6dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e961827406467722ae894576686aae98a4f1c19e6cf5032afce17095aeaf6dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e961827406467722ae894576686aae98a4f1c19e6cf5032afce17095aeaf6dcb", kill_on_drop: false }` [INFO] [stdout] e961827406467722ae894576686aae98a4f1c19e6cf5032afce17095aeaf6dcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e3535032c13903e852bae581cc8c6bd4b1b5164f554bdac8ae958cb246a1a6f4 [INFO] running `Command { std: "docker" "start" "-a" "e3535032c13903e852bae581cc8c6bd4b1b5164f554bdac8ae958cb246a1a6f4", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling supports-color v2.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling supports-hyperlinks v2.1.0 [INFO] [stderr] Compiling supports-unicode v2.1.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling sigma-util v0.18.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling countme v2.0.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling line-col v0.2.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rowan v0.12.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling num256 v0.3.5 [INFO] [stderr] Compiling bounded-vec v0.7.1 [INFO] [stderr] Compiling sigma-ser v0.19.0 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling ergo-chain-types v0.15.0 [INFO] [stderr] Compiling ergotree-ir v0.28.0 [INFO] [stderr] Compiling ergoscript-compiler v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/source.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn peek_token(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn peek_token(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/source.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | fn peek_token_raw(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 53 | fn peek_token_raw(&self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [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] --> src/syntax.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive)] [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] 8 | 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] --> src/syntax.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive)] [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] 8 | 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.21s [INFO] running `Command { std: "docker" "inspect" "e3535032c13903e852bae581cc8c6bd4b1b5164f554bdac8ae958cb246a1a6f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3535032c13903e852bae581cc8c6bd4b1b5164f554bdac8ae958cb246a1a6f4", kill_on_drop: false }` [INFO] [stdout] e3535032c13903e852bae581cc8c6bd4b1b5164f554bdac8ae958cb246a1a6f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b6b4107b629e57b88e14709643926d581484052f86cc69d3a697d73c9e1066b8 [INFO] running `Command { std: "docker" "start" "-a" "b6b4107b629e57b88e14709643926d581484052f86cc69d3a697d73c9e1066b8", kill_on_drop: false }` [INFO] [stderr] Compiling dissimilar v1.0.10 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/source.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn peek_token(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn peek_token(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/source.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | fn peek_token_raw(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 53 | fn peek_token_raw(&self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [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] --> src/syntax.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive)] [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] 8 | 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] --> src/syntax.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive)] [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] 8 | 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.5.1 [INFO] [stderr] Compiling ergoscript-compiler v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/source.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn peek_token(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn peek_token(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser/source.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | fn peek_token_raw(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 53 | fn peek_token_raw(&self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [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] --> src/syntax.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive)] [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] 8 | 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] --> src/syntax.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive)] [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] 8 | 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.13s [INFO] running `Command { std: "docker" "inspect" "b6b4107b629e57b88e14709643926d581484052f86cc69d3a697d73c9e1066b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b4107b629e57b88e14709643926d581484052f86cc69d3a697d73c9e1066b8", kill_on_drop: false }` [INFO] [stdout] b6b4107b629e57b88e14709643926d581484052f86cc69d3a697d73c9e1066b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5126c65687c72edc297199c1d358adfc351d62a637f6212313fc3339ea734d76 [INFO] running `Command { std: "docker" "start" "-a" "5126c65687c72edc297199c1d358adfc351d62a637f6212313fc3339ea734d76", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/source.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn peek_token(&mut self) -> Option<&Token> { [INFO] [stderr] | ^^^^^^^^^ ------ [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 30 | pub fn peek_token(&mut self) -> Option<&Token<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/source.rs:53:23 [INFO] [stderr] | [INFO] [stderr] 53 | fn peek_token_raw(&self) -> Option<&Token> { [INFO] [stderr] | ^^^^^ ------ [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 53 | fn peek_token_raw(&self) -> Option<&Token<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/syntax.rs:7:45 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive)] [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] 8 | 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] --> src/syntax.rs:7:60 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive, ToPrimitive)] [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] 8 | 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: `ergoscript-compiler` (lib) generated 5 warnings (run `cargo fix --lib -p ergoscript-compiler` to apply 2 suggestions) [INFO] [stderr] warning: `ergoscript-compiler` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ergoscript_compiler-47701c99b98139aa) [INFO] [stdout] [INFO] [stdout] running 52 tests [INFO] [stdout] test lexer::token_kind::tests::lex_alphabetic_identifier ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_comment ... ok [INFO] [stdout] test compiler::tests::test_height ... ok [INFO] [stdout] test compiler::tests::test_parser_error ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_alphanumeric_identifier ... ok [INFO] [stdout] test hir::tests::long_literal ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_equals ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_fn_keyword ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_left_brace ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_left_parenthesis ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_minus ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_mixed_case_identifier ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_number ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_plus ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_right_brace ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_right_parenthesis ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_single_char_identifier ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_slash ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_spaces_and_newlines ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_star ... ok [INFO] [stdout] test lexer::token_kind::tests::lex_val_keyword ... ok [INFO] [stdout] test mir::lower::tests::bin_numeric_int ... ok [INFO] [stdout] test mir::lower::tests::bin_numeric_long ... ok [INFO] [stdout] test mir::lower::tests::literal_int ... ok [INFO] [stdout] test mir::lower::tests::literal_long ... ok [INFO] [stdout] test mir::lower::tests::bin_smoke ... ok [INFO] [stdout] test parser::grammar::expr::tests::do_not_parse_operator_if_gettting_rhs_failed ... ok [INFO] [stdout] test parser::grammar::expr::tests::negation_has_higher_binding_power_than_binary_operators ... ok [INFO] [stdout] test parser::grammar::expr::tests::parentheses_affect_precedence ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_infix_expression_interspersed_with_comments ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_infix_expression_with_mixed_binding_power ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_infix_expression_with_whitespace ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_left_associative_infix_expression ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_negation ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_number ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_number_preceded_by_whitespace ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_number_followed_by_whitespace ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_nested_parentheses ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_number_surrounded_by_whitespace ... ok [INFO] [stdout] test parser::grammar::expr::tests::parse_simple_infix_expression ... ok [INFO] [stdout] test parser::grammar::stmt::tests::parse_variable_definition ... ok [INFO] [stdout] test parser::grammar::tests::parse_ident ... ok [INFO] [stdout] test parser::parse_error::tests::multiple_expected_did_find ... ok [INFO] [stdout] test parser::parse_error::tests::one_expected_did_find ... ok [INFO] [stdout] test parser::parse_error::tests::one_expected_did_not_find ... ok [INFO] [stdout] test parser::tests::parse_comment ... ok [INFO] [stdout] test parser::tests::parse_int_literal ... ok [INFO] [stdout] test parser::parse_error::tests::two_expected_did_find ... ok [INFO] [stdout] test parser::tests::parse_long_literal ... ok [INFO] [stdout] test parser::tests::parse_nothing ... ok [INFO] [stdout] test parser::tests::parse_whitespace ... ok [INFO] [stdout] test type_infer::tests::bin_smoke ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 52 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5126c65687c72edc297199c1d358adfc351d62a637f6212313fc3339ea734d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5126c65687c72edc297199c1d358adfc351d62a637f6212313fc3339ea734d76", kill_on_drop: false }` [INFO] [stdout] 5126c65687c72edc297199c1d358adfc351d62a637f6212313fc3339ea734d76