[INFO] cloning repository https://github.com/fangerm/gelixrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fangerm/gelixrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fgelixrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fgelixrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2c5bd4cecb5d11346030f0a2d3a4fd62daa5968 [INFO] checking fangerm/gelixrs against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fgelixrs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fangerm/gelixrs [INFO] finished tweaking git repo https://github.com/fangerm/gelixrs [INFO] tweaked toml for git repo https://github.com/fangerm/gelixrs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fangerm/gelixrs on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fangerm/gelixrs 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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking fangerm/gelixrs against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fgelixrs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fangerm/gelixrs [INFO] finished tweaking git repo https://github.com/fangerm/gelixrs [INFO] tweaked toml for git repo https://github.com/fangerm/gelixrs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fangerm/gelixrs on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fangerm/gelixrs 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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smol_str v0.1.17 [INFO] [stderr] Downloaded globwalk v0.8.1 [INFO] [stderr] Downloaded smallvec v1.5.1 [INFO] [stderr] Downloaded logos v0.11.4 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.0 [INFO] [stderr] Downloaded drop_bomb v0.1.5 [INFO] [stderr] Downloaded enum-methods v0.0.8 [INFO] [stderr] Downloaded beef v0.4.4 [INFO] [stderr] Downloaded cc v1.0.66 [INFO] [stderr] Downloaded logos-derive v0.11.5 [INFO] [stderr] Downloaded getrandom v0.2.0 [INFO] [stderr] Downloaded globset v0.4.6 [INFO] [stderr] Downloaded rand v0.8.0 [INFO] [stderr] Downloaded serde_json v1.0.60 [INFO] [stderr] Downloaded ignore v0.4.17 [INFO] [stderr] Downloaded syn v1.0.55 [INFO] [stderr] Downloaded llvm-sys v80.3.0 [INFO] [stderr] Downloaded tera v1.6.0 [INFO] [stderr] Downloaded cargo_toml v0.6.4 [INFO] [stderr] Downloaded libc v0.2.81 [INFO] [stderr] Downloaded chrono-tz v0.5.3 [INFO] [stderr] Downloaded bstr v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b453f312e443513262c0c88bb90c882860b8f3ccd2241f2921611bee73ea22e0 [INFO] running `Command { std: "docker" "start" "-a" "b453f312e443513262c0c88bb90c882860b8f3ccd2241f2921611bee73ea22e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b453f312e443513262c0c88bb90c882860b8f3ccd2241f2921611bee73ea22e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b453f312e443513262c0c88bb90c882860b8f3ccd2241f2921611bee73ea22e0", kill_on_drop: false }` [INFO] [stdout] b453f312e443513262c0c88bb90c882860b8f3ccd2241f2921611bee73ea22e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d9c3ca5c132b4fa490d2e05ac479df79b5c60e6a56c2ff23fbc8489078bd35b [INFO] running `Command { std: "docker" "start" "-a" "3d9c3ca5c132b4fa490d2e05ac479df79b5c60e6a56c2ff23fbc8489078bd35b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking smol_str v0.1.17 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?rev=136dd5e06db47f77cb329cd5f6625273dfd3afd7#136dd5e0) [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/crates/common) [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> crates/common/src/arena.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct IdRef<'r, T>(&'r T, usize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> crates/common/src/arena.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct IdRefMut<'r, T>(&'r mut T, usize); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/common/src/arena.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn i(&self, id: Id) -> IdRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn i(&self, id: Id) -> IdRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/common/src/arena.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn im(&mut self, id: Id) -> IdRefMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn im(&mut self, id: Id) -> IdRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> crates/common/src/arena.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct IdRef<'r, T>(&'r T, usize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> crates/common/src/arena.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct IdRefMut<'r, T>(&'r mut T, usize); [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/common/src/arena.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn i(&self, id: Id) -> IdRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn i(&self, id: Id) -> IdRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/common/src/arena.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn im(&mut self, id: Id) -> IdRefMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn im(&mut self, id: Id) -> IdRefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling enum-methods v0.0.8 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling llvm-sys v80.3.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/crates/lexer) [INFO] [stderr] Checking syntax v0.1.0 (/opt/rustwide/workdir/crates/syntax) [INFO] [stderr] Checking error v0.1.0 (/opt/rustwide/workdir/crates/error) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/kind.rs:5:68 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, 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] 6 | #[allow(non_camel_case_types)] [INFO] [stdout] 7 | 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/kind.rs:5:83 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, 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] 6 | #[allow(non_camel_case_types)] [INFO] [stdout] 7 | 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/syntax/src/kind.rs:5:68 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, 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] 6 | #[allow(non_camel_case_types)] [INFO] [stdout] 7 | 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/kind.rs:5:83 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, 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] 6 | #[allow(non_camel_case_types)] [INFO] [stdout] 7 | 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] Checking parser v0.1.0 (/opt/rustwide/workdir/crates/parser) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/parser/src/util/builder.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut current = self.current(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/parser/src/util/builder.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut current = self.current(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/parser/src/util/builder.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut current = self.current(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/parser/src/util/builder.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut current = self.current(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ast v0.1.0 (/opt/rustwide/workdir/crates/ast) [INFO] [stderr] Checking ron v0.6.4 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Checking tera v1.6.0 [INFO] [stderr] Compiling cargo_toml v0.6.4 [INFO] [stderr] Checking ast_generator v0.1.0 (/opt/rustwide/workdir/crates/ast-generator) [INFO] [stderr] Compiling inkwell_internal_macros v0.1.0 (https://github.com/TheDan64/inkwell?rev=136dd5e06db47f77cb329cd5f6625273dfd3afd7#136dd5e0) [INFO] [stderr] Checking gir_ir_adapter v0.1.0 (/opt/rustwide/workdir/crates/gir-ir-adapter) [INFO] [stderr] Checking gir_nodes v0.1.0 (/opt/rustwide/workdir/crates/gir-nodes) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> crates/gir-nodes/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> crates/gir-nodes/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/expression.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | Expr::Intrinsic(Intrinsic::IncRc(box val)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 257 - Expr::Intrinsic(Intrinsic::IncRc(box val)) [INFO] [stdout] 257 + Expr::Intrinsic(Intrinsic::IncRc(Box::new(val))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/expression.rs:261:42 [INFO] [stdout] | [INFO] [stdout] 261 | Expr::Intrinsic(Intrinsic::DecRc(box val)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 261 - Expr::Intrinsic(Intrinsic::DecRc(box val)) [INFO] [stdout] 261 + Expr::Intrinsic(Intrinsic::DecRc(Box::new(val))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/expression.rs:265:41 [INFO] [stdout] | [INFO] [stdout] 265 | Expr::Intrinsic(Intrinsic::Free(box val)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 265 - Expr::Intrinsic(Intrinsic::Free(box val)) [INFO] [stdout] 265 + Expr::Intrinsic(Intrinsic::Free(Box::new(val))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/expression.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | iface: box callee, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 270 - iface: box callee, [INFO] [stdout] 270 + iface: Box::new(callee), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/expression.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | Expr::Intrinsic(Intrinsic::IncRc(box val)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 257 - Expr::Intrinsic(Intrinsic::IncRc(box val)) [INFO] [stdout] 257 + Expr::Intrinsic(Intrinsic::IncRc(Box::new(val))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/expression.rs:261:42 [INFO] [stdout] | [INFO] [stdout] 261 | Expr::Intrinsic(Intrinsic::DecRc(box val)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 261 - Expr::Intrinsic(Intrinsic::DecRc(box val)) [INFO] [stdout] 261 + Expr::Intrinsic(Intrinsic::DecRc(Box::new(val))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/expression.rs:265:41 [INFO] [stdout] | [INFO] [stdout] 265 | Expr::Intrinsic(Intrinsic::Free(box val)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 265 - Expr::Intrinsic(Intrinsic::Free(box val)) [INFO] [stdout] 265 + Expr::Intrinsic(Intrinsic::Free(Box::new(val))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/expression.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | iface: box callee, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 270 - iface: box callee, [INFO] [stdout] 270 + iface: Box::new(callee), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/types.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | Type::RawPtr(box args[var.index].clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 278 - Type::RawPtr(box args[var.index].clone()) [INFO] [stdout] 278 + Type::RawPtr(Box::new(args[var.index].clone())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/types.rs:281:32 [INFO] [stdout] | [INFO] [stdout] 281 | Type::Nullable(box args[var.index].clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 281 - Type::Nullable(box args[var.index].clone()) [INFO] [stdout] 281 + Type::Nullable(Box::new(args[var.index].clone())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/types.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | Type::RawPtr(box args[var.index].clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 278 - Type::RawPtr(box args[var.index].clone()) [INFO] [stdout] 278 + Type::RawPtr(Box::new(args[var.index].clone())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> crates/gir-nodes/src/types.rs:281:32 [INFO] [stdout] | [INFO] [stdout] 281 | Type::Nullable(box args[var.index].clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 281 - Type::Nullable(box args[var.index].clone()) [INFO] [stdout] 281 + Type::Nullable(Box::new(args[var.index].clone())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gir_nodes` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gir_nodes` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "3d9c3ca5c132b4fa490d2e05ac479df79b5c60e6a56c2ff23fbc8489078bd35b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9c3ca5c132b4fa490d2e05ac479df79b5c60e6a56c2ff23fbc8489078bd35b", kill_on_drop: false }` [INFO] [stdout] 3d9c3ca5c132b4fa490d2e05ac479df79b5c60e6a56c2ff23fbc8489078bd35b