[INFO] fetching crate ergoscript-compiler 0.24.0... [INFO] checking ergoscript-compiler-0.24.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate ergoscript-compiler 0.24.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ergoscript-compiler 0.24.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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.1) [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.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded line-col v0.2.1 [INFO] [stderr] Downloaded rowan v0.12.6 [INFO] [stderr] Downloaded textwrap v0.15.2 [INFO] [stderr] Downloaded supports-unicode v2.1.0 [INFO] [stderr] Downloaded ergo-chain-types v0.15.0 [INFO] [stderr] Downloaded base16 v0.2.1 [INFO] [stderr] Downloaded supports-hyperlinks v2.1.0 [INFO] [stderr] Downloaded miette v5.10.0 [INFO] [stderr] Downloaded miette-derive v5.10.0 [INFO] [stderr] Downloaded supports-color v2.1.0 [INFO] [stderr] Downloaded bounded-vec v0.7.1 [INFO] [stderr] Downloaded ergotree-ir v0.28.0 [INFO] [stderr] Downloaded sigma-ser v0.19.0 [INFO] [stderr] Downloaded countme v2.0.4 [INFO] [stderr] Downloaded sigma-util v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b8e374dfad9b1be434af91654c5d6c0ee9103bfb479e1cdee58d4926f55e174 [INFO] running `Command { std: "docker" "start" "-a" "2b8e374dfad9b1be434af91654c5d6c0ee9103bfb479e1cdee58d4926f55e174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b8e374dfad9b1be434af91654c5d6c0ee9103bfb479e1cdee58d4926f55e174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b8e374dfad9b1be434af91654c5d6c0ee9103bfb479e1cdee58d4926f55e174", kill_on_drop: false }` [INFO] [stdout] 2b8e374dfad9b1be434af91654c5d6c0ee9103bfb479e1cdee58d4926f55e174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0947b10db164b5e30e5f07a2f0b0e2cbc60ca27104dc7a1d4c78d44383efe904 [INFO] running `Command { std: "docker" "start" "-a" "0947b10db164b5e30e5f07a2f0b0e2cbc60ca27104dc7a1d4c78d44383efe904", kill_on_drop: false }` [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking supports-hyperlinks v2.1.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking supports-unicode v2.1.0 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking base16 v0.2.1 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking memoffset v0.6.5 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Checking countme v2.0.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking line-col v0.2.1 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Checking expect-test v1.5.1 [INFO] [stderr] Checking rowan v0.12.6 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking sigma-util v0.18.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking k256 v0.13.4 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking bounded-vec v0.7.1 [INFO] [stderr] Checking num256 v0.3.5 [INFO] [stderr] Checking sigma-ser v0.19.0 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking ergo-chain-types v0.15.0 [INFO] [stderr] Checking ergotree-ir v0.28.0 [INFO] [stderr] Checking ergoscript-compiler v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn peek_token(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn peek_token(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 25.20s [INFO] running `Command { std: "docker" "inspect" "0947b10db164b5e30e5f07a2f0b0e2cbc60ca27104dc7a1d4c78d44383efe904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0947b10db164b5e30e5f07a2f0b0e2cbc60ca27104dc7a1d4c78d44383efe904", kill_on_drop: false }` [INFO] [stdout] 0947b10db164b5e30e5f07a2f0b0e2cbc60ca27104dc7a1d4c78d44383efe904