[INFO] cloning repository https://github.com/rohankumardubey/node-bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohankumardubey/node-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fnode-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fnode-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf382ddfa4bf0d82a8103aaa4659aec79c825010 [INFO] checking rohankumardubey/node-bindgen against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fnode-bindgen" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rohankumardubey/node-bindgen [INFO] finished tweaking git repo https://github.com/rohankumardubey/node-bindgen [INFO] tweaked toml for git repo https://github.com/rohankumardubey/node-bindgen written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rohankumardubey/node-bindgen on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rohankumardubey/node-bindgen 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] Updating git repository `https://github.com/infinyon/trybuild` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v1.0.12 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded inventory-impl v0.1.11 [INFO] [stderr] Downloaded ws_stream_wasm v0.7.3 [INFO] [stderr] Downloaded async-process v1.4.0 [INFO] [stderr] Downloaded ghost v0.1.5 [INFO] [stderr] Downloaded fluvio-future v0.3.18 [INFO] [stderr] Downloaded cargo_metadata v0.15.0 [INFO] [stderr] Downloaded async-trait v0.1.56 [INFO] [stderr] Downloaded pin-project-internal v1.0.11 [INFO] [stderr] Downloaded async-task v4.3.0 [INFO] [stderr] Downloaded camino v1.0.9 [INFO] [stderr] Downloaded uuid v1.1.2 [INFO] [stderr] Downloaded http_req v0.8.1 [INFO] [stderr] Downloaded pin-project v1.0.11 [INFO] [stderr] Downloaded serde_derive v1.0.138 [INFO] [stderr] Downloaded signal-hook v0.3.14 [INFO] [stderr] Downloaded fluvio-wasm-timer v0.2.5 [INFO] [stderr] Downloaded tracing-attributes v0.1.22 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded tracing-subscriber v0.3.14 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded smallvec v1.9.0 [INFO] [stderr] Downloaded serde v1.0.138 [INFO] [stderr] Downloaded inventory v0.1.11 [INFO] [stderr] Downloaded async_io_stream v0.3.3 [INFO] [stderr] Downloaded send_wrapper v0.5.0 [INFO] [stderr] Downloaded pharos v0.5.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 099c3b266c483a8486e5c2164fb842c41dffad8e8addc45273c66ed46380cc4f [INFO] running `Command { std: "docker" "start" "-a" "099c3b266c483a8486e5c2164fb842c41dffad8e8addc45273c66ed46380cc4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "099c3b266c483a8486e5c2164fb842c41dffad8e8addc45273c66ed46380cc4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "099c3b266c483a8486e5c2164fb842c41dffad8e8addc45273c66ed46380cc4f", kill_on_drop: false }` [INFO] [stdout] 099c3b266c483a8486e5c2164fb842c41dffad8e8addc45273c66ed46380cc4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 846eb57fb9db745edd21cb6d5fe2a60f19142fc39a0be5952b039d2b05daf42b [INFO] running `Command { std: "docker" "start" "-a" "846eb57fb9db745edd21cb6d5fe2a60f19142fc39a0be5952b039d2b05daf42b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking async-task v4.3.0 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Checking async-lock v2.5.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking nj-sys v3.0.0 (/opt/rustwide/workdir/nj-sys) [INFO] [stderr] Compiling trybuild v1.0.42 (https://github.com/infinyon/trybuild?branch=check_option#27108102) [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking nj-build v0.2.4 (/opt/rustwide/workdir/nj-build) [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.2.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking nj-derive v3.4.1 (/opt/rustwide/workdir/nj-derive) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/attribute.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Getter(Ident), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - Getter(Ident), [INFO] [stdout] 23 + Getter(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/attribute.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Setter(Ident), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Setter(Ident), [INFO] [stdout] 24 + Setter(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/attribute.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | Constructor(Ident), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 - Constructor(Ident), [INFO] [stdout] 25 + Constructor(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/attribute.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | Mt(Ident), [INFO] [stdout] | -- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 - Mt(Ident), [INFO] [stdout] 27 + Mt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_index` is never read [INFO] [stdout] --> nj-derive/src/ast/arg.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FunctionArg<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 78 | pub arg_index: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionArg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FunctionItem` is never used [INFO] [stdout] --> nj-derive/src/ast/util.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FunctionItem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/types.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | Path(MyTypePath<'a>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyFieldType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 181 - Path(MyTypePath<'a>), [INFO] [stdout] 181 + Path(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/types.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Ref(MyReferenceType<'a>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyFieldType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 182 - Ref(MyReferenceType<'a>), [INFO] [stdout] 182 + Ref(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/arg.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn inner(&self) -> &Vec { [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] 60 | pub fn inner(&self) -> &Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/arg.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | fn find_inputs(ty: &ParenthesizedGenericArguments) -> Result> { [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] 200 | fn find_inputs(ty: &ParenthesizedGenericArguments) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/class.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn constructor(&'a self) -> Option<&'a Method> { [INFO] [stdout] | ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 45 | pub fn constructor(&'a self) -> Option<&'a Method<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/class.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn my_type(&'a self) -> &MyTypePath<'a> { [INFO] [stdout] | ^^ --------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn my_type(&'a self) -> &'a MyTypePath<'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from_ast(input: &'a DeriveInput) -> Result { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from_ast(input: &'a DeriveInput) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn from_ast(input: &'a Fields) -> Result { [INFO] [stdout] | ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 186 | pub fn from_ast(input: &'a Fields) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn from(ty: &'a Type) -> Result { [INFO] [stdout] | ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 218 | pub fn from(ty: &'a Type) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_ast(enum_data: &'a DataEnum) -> Result { [INFO] [stdout] | ^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_ast(enum_data: &'a DataEnum) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn from_ast(variant_data: &'a Variant) -> Result { [INFO] [stdout] | ^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 255 | pub fn from_ast(variant_data: &'a Variant) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:271:35 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn from_ast(struct_data: &'a DataStruct) -> Result { [INFO] [stdout] | ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 271 | pub fn from_ast(struct_data: &'a DataStruct) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling ghost v0.1.5 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 72 | usize: (USIZE, OPTION_USIZE), [INFO] [stdout] | ^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 72 | usize: (USIZE, OPTION_USIZE), [INFO] [stdout] | ^^^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 73 | u8: (U8, OPTION_U8), [INFO] [stdout] | ^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 73 | u8: (U8, OPTION_U8), [INFO] [stdout] | ^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 74 | u16: (U16, OPTION_U16), [INFO] [stdout] | ^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 74 | u16: (U16, OPTION_U16), [INFO] [stdout] | ^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 75 | u32: (U32, OPTION_U32), [INFO] [stdout] | ^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 75 | u32: (U32, OPTION_U32), [INFO] [stdout] | ^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 76 | u64: (U64, OPTION_U64), [INFO] [stdout] | ^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 76 | u64: (U64, OPTION_U64), [INFO] [stdout] | ^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 77 | u128: (U128, OPTION_U128), [INFO] [stdout] | ^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 77 | u128: (U128, OPTION_U128), [INFO] [stdout] | ^^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 79 | isize: (ISIZE, OPTION_ISIZE), [INFO] [stdout] | ^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 79 | isize: (ISIZE, OPTION_ISIZE), [INFO] [stdout] | ^^^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 80 | i8: (I8, OPTION_I8), [INFO] [stdout] | ^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 80 | i8: (I8, OPTION_I8), [INFO] [stdout] | ^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 81 | i16: (I16, OPTION_I16), [INFO] [stdout] | ^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 81 | i16: (I16, OPTION_I16), [INFO] [stdout] | ^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 82 | i32: (I32, OPTION_I32), [INFO] [stdout] | ^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 82 | i32: (I32, OPTION_I32), [INFO] [stdout] | ^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 83 | i64: (I64, OPTION_I64), [INFO] [stdout] | ^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 83 | i64: (I64, OPTION_I64), [INFO] [stdout] | ^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 84 | i128: (I128, OPTION_I128), [INFO] [stdout] | ^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 84 | i128: (I128, OPTION_I128), [INFO] [stdout] | ^^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 86 | f32: (F32, OPTION_F32), [INFO] [stdout] | ^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 86 | f32: (F32, OPTION_F32), [INFO] [stdout] | ^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 87 | f64: (F64, OPTION_F64), [INFO] [stdout] | ^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 87 | f64: (F64, OPTION_F64), [INFO] [stdout] | ^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 89 | char: (CHAR, OPTION_CHAR), [INFO] [stdout] | ^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 89 | char: (CHAR, OPTION_CHAR), [INFO] [stdout] | ^^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 90 | bool: (BOOL, OPTION_BOOL), [INFO] [stdout] | ^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 90 | bool: (BOOL, OPTION_BOOL), [INFO] [stdout] | ^^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 32 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 92 | &'static str: (STATIC_STR, OPTION_STATIC_STR), [INFO] [stdout] | ^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 35 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 92 | &'static str: (STATIC_STR, OPTION_STATIC_STR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't be used in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 38 | const STR: TypeId = TypeId::of::(); [INFO] [stdout] | ----------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 55 | STR => |v| Some(Internal::from(unsafe { &**(v as *const &'a Self as *const &'a str) })), [INFO] [stdout] | ^^^ can't be used in patterns [INFO] [stdout] ... [INFO] [stdout] 71 | / to_internal![ [INFO] [stdout] 72 | | usize: (USIZE, OPTION_USIZE), [INFO] [stdout] 73 | | u8: (U8, OPTION_U8), [INFO] [stdout] 74 | | u16: (U16, OPTION_U16), [INFO] [stdout] ... | [INFO] [stdout] 96 | | String: (STRING, OPTION_STRING), [INFO] [stdout] 97 | | ]; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see https://github.com/rust-lang/rust/issues/70861 for details [INFO] [stdout] = note: this error originates in the macro `to_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `value-bag` (lib) due to 35 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/attribute.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Getter(Ident), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - Getter(Ident), [INFO] [stdout] 23 + Getter(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/attribute.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Setter(Ident), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Setter(Ident), [INFO] [stdout] 24 + Setter(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/attribute.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | Constructor(Ident), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 - Constructor(Ident), [INFO] [stdout] 25 + Constructor(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/attribute.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | Mt(Ident), [INFO] [stdout] | -- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 - Mt(Ident), [INFO] [stdout] 27 + Mt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_index` is never read [INFO] [stdout] --> nj-derive/src/ast/arg.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FunctionArg<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 78 | pub arg_index: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionArg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FunctionItem` is never used [INFO] [stdout] --> nj-derive/src/ast/util.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FunctionItem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/types.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | Path(MyTypePath<'a>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyFieldType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 181 - Path(MyTypePath<'a>), [INFO] [stdout] 181 + Path(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> nj-derive/src/ast/types.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Ref(MyReferenceType<'a>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyFieldType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 182 - Ref(MyReferenceType<'a>), [INFO] [stdout] 182 + Ref(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/arg.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn inner(&self) -> &Vec { [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] 60 | pub fn inner(&self) -> &Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/arg.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | fn find_inputs(ty: &ParenthesizedGenericArguments) -> Result> { [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] 200 | fn find_inputs(ty: &ParenthesizedGenericArguments) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/class.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn constructor(&'a self) -> Option<&'a Method> { [INFO] [stdout] | ^^ -- ------ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 45 | pub fn constructor(&'a self) -> Option<&'a Method<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/class.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn my_type(&'a self) -> &MyTypePath<'a> { [INFO] [stdout] | ^^ --------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn my_type(&'a self) -> &'a MyTypePath<'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from_ast(input: &'a DeriveInput) -> Result { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from_ast(input: &'a DeriveInput) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn from_ast(input: &'a Fields) -> Result { [INFO] [stdout] | ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 186 | pub fn from_ast(input: &'a Fields) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn from(ty: &'a Type) -> Result { [INFO] [stdout] | ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 218 | pub fn from(ty: &'a Type) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_ast(enum_data: &'a DataEnum) -> Result { [INFO] [stdout] | ^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_ast(enum_data: &'a DataEnum) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn from_ast(variant_data: &'a Variant) -> Result { [INFO] [stdout] | ^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 255 | pub fn from_ast(variant_data: &'a Variant) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> nj-derive/src/ast/types.rs:271:35 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn from_ast(struct_data: &'a DataStruct) -> Result { [INFO] [stdout] | ^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 271 | pub fn from_ast(struct_data: &'a DataStruct) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "846eb57fb9db745edd21cb6d5fe2a60f19142fc39a0be5952b039d2b05daf42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "846eb57fb9db745edd21cb6d5fe2a60f19142fc39a0be5952b039d2b05daf42b", kill_on_drop: false }` [INFO] [stdout] 846eb57fb9db745edd21cb6d5fe2a60f19142fc39a0be5952b039d2b05daf42b