[INFO] fetching crate typ 0.1.1... [INFO] checking typ-0.1.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate typ 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate typ 0.1.1 [INFO] finished tweaking crates.io crate typ 0.1.1 [INFO] tweaked toml for crates.io crate typ 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate typ 0.1.1 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 47 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding itertools v0.9.0 (available: v0.14.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66969f3ab349d108772d596e43252ff64d91f7e84ac96c25ee1047d511f979cd [INFO] running `Command { std: "docker" "start" "-a" "66969f3ab349d108772d596e43252ff64d91f7e84ac96c25ee1047d511f979cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66969f3ab349d108772d596e43252ff64d91f7e84ac96c25ee1047d511f979cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66969f3ab349d108772d596e43252ff64d91f7e84ac96c25ee1047d511f979cd", kill_on_drop: false }` [INFO] [stdout] 66969f3ab349d108772d596e43252ff64d91f7e84ac96c25ee1047d511f979cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e73c83b1f5cf986aeef828aced02b8b4a713ae9fc7d5aaa229b0de009571b7e [INFO] running `Command { std: "docker" "start" "-a" "8e73c83b1f5cf986aeef828aced02b8b4a713ae9fc7d5aaa229b0de009571b7e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking by_address v1.2.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking typ v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.9.5 [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/common.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub use proc_macro2::{Span, TokenStream}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ToTokens` and `quote_spanned` [INFO] [stdout] --> src/common.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | pub use quote::{format_ident, quote, quote_spanned, ToTokens}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrieKey` [INFO] [stdout] --> src/common.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub use radix_trie::{Trie, TrieCommon, TrieKey}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `BTreeMap`, `BTreeSet`, `Cell`, `Cow`, `DerefMut`, `FromIterator`, `Sum`, `TryFrom`, `TryInto`, `Weak`, and `mem` [INFO] [stdout] --> src/common.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | borrow::{Borrow, BorrowMut, Cow}, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | cell::{Cell, Ref, RefCell, RefMut}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | cmp::Ordering, [INFO] [stdout] 11 | collections::{BTreeMap, BTreeSet, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 12 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | iter::{self, Extend, FromIterator, Sum}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] 17 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | ops::{Add, AddAssign, Deref, DerefMut}, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 19 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstParam`, `ExprLet`, `ExprReturn`, `Field`, `Fields`, `ImplItemType`, `ItemMod`, `LifetimeDef`, `Lifetime`, `Receiver`, `Variant`, `token`, and `visit_mut::VisitMut` [INFO] [stdout] --> src/common.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | visit_mut::VisitMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | Arm, AttrStyle, Attribute, BinOp, Block, ConstParam, Error, Expr, ExprAssign, ExprBinary, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | ExprBlock, ExprCall, ExprIf, ExprIndex, ExprLet, ExprLit, ExprMatch, ExprMethodCall, ExprPath, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | ExprReturn, ExprTuple, ExprUnary, Field, Fields, FnArg, GenericArgument, GenericParam, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 31 | Generics, Ident, ImplItem, ImplItemMethod, ImplItemType, Item, ItemEnum, ItemFn, ItemImpl, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | ItemMod, ItemStruct, ItemTrait, ItemUse, Lifetime, LifetimeDef, Lit, LitBool, LitInt, Local, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 33 | Pat, PatIdent, PatPath, PatTuple, PatType, Path, PathArguments, PathSegment, PredicateType, [INFO] [stdout] 34 | QSelf, Receiver, ReturnType, Signature, Stmt, Token, TraitBound, TraitBoundModifier, Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | TypeParam, TypeParamBound, TypeParen, TypePath, TypeTraitObject, TypeTuple, UnOp, Variant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsePureWherePredicate` [INFO] [stdout] --> src/trans/mod.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | ParsePathVar, ParsePurePath, ParsePureType, ParsePureWherePredicate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] warning: methods `borrow` and `deep_clone` are never used [INFO] [stdout] --> src/utils.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl SharedCell { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn deep_clone(&self) -> SharedCell [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParsePureWherePredicate` is never used [INFO] [stdout] --> src/var.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait ParsePureWherePredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParsePureTypeParamBound` is never used [INFO] [stdout] --> src/var.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 222 | pub trait ParsePureTypeParamBound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParsePureTraitBound` is never used [INFO] [stdout] --> src/var.rs:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | pub trait ParsePureTraitBound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericArgumentVar` is never constructed [INFO] [stdout] --> src/var.rs:893:12 [INFO] [stdout] | [INFO] [stdout] 893 | pub struct GenericArgumentVar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn borrow(&self) -> Ref { [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] 63 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn borrow_mut(&self) -> RefMut { [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] 67 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/common.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub use proc_macro2::{Span, TokenStream}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ToTokens` and `quote_spanned` [INFO] [stdout] --> src/common.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | pub use quote::{format_ident, quote, quote_spanned, ToTokens}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrieKey` [INFO] [stdout] --> src/common.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub use radix_trie::{Trie, TrieCommon, TrieKey}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `BTreeMap`, `BTreeSet`, `Cell`, `Cow`, `DerefMut`, `FromIterator`, `Sum`, `TryFrom`, `TryInto`, `Weak`, and `mem` [INFO] [stdout] --> src/common.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | borrow::{Borrow, BorrowMut, Cow}, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | cell::{Cell, Ref, RefCell, RefMut}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | cmp::Ordering, [INFO] [stdout] 11 | collections::{BTreeMap, BTreeSet, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 12 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | iter::{self, Extend, FromIterator, Sum}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] 17 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | ops::{Add, AddAssign, Deref, DerefMut}, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 19 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstParam`, `ExprLet`, `ExprReturn`, `Field`, `Fields`, `ImplItemType`, `ItemMod`, `LifetimeDef`, `Lifetime`, `Receiver`, `Variant`, `token`, and `visit_mut::VisitMut` [INFO] [stdout] --> src/common.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | visit_mut::VisitMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | Arm, AttrStyle, Attribute, BinOp, Block, ConstParam, Error, Expr, ExprAssign, ExprBinary, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | ExprBlock, ExprCall, ExprIf, ExprIndex, ExprLet, ExprLit, ExprMatch, ExprMethodCall, ExprPath, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | ExprReturn, ExprTuple, ExprUnary, Field, Fields, FnArg, GenericArgument, GenericParam, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 31 | Generics, Ident, ImplItem, ImplItemMethod, ImplItemType, Item, ItemEnum, ItemFn, ItemImpl, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | ItemMod, ItemStruct, ItemTrait, ItemUse, Lifetime, LifetimeDef, Lit, LitBool, LitInt, Local, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 33 | Pat, PatIdent, PatPath, PatTuple, PatType, Path, PathArguments, PathSegment, PredicateType, [INFO] [stdout] 34 | QSelf, Receiver, ReturnType, Signature, Stmt, Token, TraitBound, TraitBoundModifier, Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | TypeParam, TypeParamBound, TypeParen, TypePath, TypeTraitObject, TypeTuple, UnOp, Variant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsePureWherePredicate` [INFO] [stdout] --> src/trans/mod.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | ParsePathVar, ParsePurePath, ParsePureType, ParsePureWherePredicate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `borrow` and `deep_clone` are never used [INFO] [stdout] --> src/utils.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl SharedCell { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn deep_clone(&self) -> SharedCell [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParsePureWherePredicate` is never used [INFO] [stdout] --> src/var.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait ParsePureWherePredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParsePureTypeParamBound` is never used [INFO] [stdout] --> src/var.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 222 | pub trait ParsePureTypeParamBound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParsePureTraitBound` is never used [INFO] [stdout] --> src/var.rs:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | pub trait ParsePureTraitBound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericArgumentVar` is never constructed [INFO] [stdout] --> src/var.rs:893:12 [INFO] [stdout] | [INFO] [stdout] 893 | pub struct GenericArgumentVar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn borrow(&self) -> Ref { [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] 63 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn borrow_mut(&self) -> RefMut { [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] 67 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/common.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub use proc_macro2::{Span, TokenStream}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ToTokens` and `quote_spanned` [INFO] [stdout] --> src/common.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | pub use quote::{format_ident, quote, quote_spanned, ToTokens}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrieKey` [INFO] [stdout] --> src/common.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub use radix_trie::{Trie, TrieCommon, TrieKey}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `BTreeMap`, `BTreeSet`, `Cell`, `Cow`, `DerefMut`, `FromIterator`, `Sum`, `TryFrom`, `TryInto`, `Weak`, and `mem` [INFO] [stdout] --> src/common.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | borrow::{Borrow, BorrowMut, Cow}, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | cell::{Cell, Ref, RefCell, RefMut}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | cmp::Ordering, [INFO] [stdout] 11 | collections::{BTreeMap, BTreeSet, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 12 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | iter::{self, Extend, FromIterator, Sum}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] 17 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | ops::{Add, AddAssign, Deref, DerefMut}, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 19 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstParam`, `ExprLet`, `ExprReturn`, `Field`, `Fields`, `ImplItemType`, `ItemMod`, `LifetimeDef`, `Lifetime`, `Receiver`, `Variant`, `token`, and `visit_mut::VisitMut` [INFO] [stdout] --> src/common.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | visit_mut::VisitMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | Arm, AttrStyle, Attribute, BinOp, Block, ConstParam, Error, Expr, ExprAssign, ExprBinary, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | ExprBlock, ExprCall, ExprIf, ExprIndex, ExprLet, ExprLit, ExprMatch, ExprMethodCall, ExprPath, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | ExprReturn, ExprTuple, ExprUnary, Field, Fields, FnArg, GenericArgument, GenericParam, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 31 | Generics, Ident, ImplItem, ImplItemMethod, ImplItemType, Item, ItemEnum, ItemFn, ItemImpl, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | ItemMod, ItemStruct, ItemTrait, ItemUse, Lifetime, LifetimeDef, Lit, LitBool, LitInt, Local, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 33 | Pat, PatIdent, PatPath, PatTuple, PatType, Path, PathArguments, PathSegment, PredicateType, [INFO] [stdout] 34 | QSelf, Receiver, ReturnType, Signature, Stmt, Token, TraitBound, TraitBoundModifier, Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | TypeParam, TypeParamBound, TypeParen, TypePath, TypeTraitObject, TypeTuple, UnOp, Variant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsePureWherePredicate` [INFO] [stdout] --> src/trans/mod.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | ParsePathVar, ParsePurePath, ParsePureType, ParsePureWherePredicate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `borrow` and `deep_clone` are never used [INFO] [stdout] --> src/utils.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl SharedCell { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn deep_clone(&self) -> SharedCell [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParsePureWherePredicate` is never used [INFO] [stdout] --> src/var.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait ParsePureWherePredicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParsePureTypeParamBound` is never used [INFO] [stdout] --> src/var.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 222 | pub trait ParsePureTypeParamBound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParsePureTraitBound` is never used [INFO] [stdout] --> src/var.rs:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | pub trait ParsePureTraitBound { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericArgumentVar` is never constructed [INFO] [stdout] --> src/var.rs:893:12 [INFO] [stdout] | [INFO] [stdout] 893 | pub struct GenericArgumentVar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn borrow(&self) -> Ref { [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] 63 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn borrow_mut(&self) -> RefMut { [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] 67 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.75s [INFO] running `Command { std: "docker" "inspect" "8e73c83b1f5cf986aeef828aced02b8b4a713ae9fc7d5aaa229b0de009571b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e73c83b1f5cf986aeef828aced02b8b4a713ae9fc7d5aaa229b0de009571b7e", kill_on_drop: false }` [INFO] [stdout] 8e73c83b1f5cf986aeef828aced02b8b4a713ae9fc7d5aaa229b0de009571b7e