[INFO] fetching crate typ 0.1.1... [INFO] building typ-0.1.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate typ 0.1.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate typ 0.1.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.4) [INFO] [stderr] Adding itertools v0.9.0 (available: v0.14.0) [INFO] [stderr] Adding radix_trie v0.2.1 (available: v0.3.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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0af616904c65b6f96f1fcbfc2fd2f656d849d7df4ac149ca87299f3dac935b89 [INFO] running `Command { std: "docker" "start" "-a" "0af616904c65b6f96f1fcbfc2fd2f656d849d7df4ac149ca87299f3dac935b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0af616904c65b6f96f1fcbfc2fd2f656d849d7df4ac149ca87299f3dac935b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0af616904c65b6f96f1fcbfc2fd2f656d849d7df4ac149ca87299f3dac935b89", kill_on_drop: false }` [INFO] [stdout] 0af616904c65b6f96f1fcbfc2fd2f656d849d7df4ac149ca87299f3dac935b89 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 565c7bb77e03c1b56dd2fd14ba8741c5a628921fd3afeec41b1feb2867cdb6cb [INFO] running `Command { std: "docker" "start" "-a" "565c7bb77e03c1b56dd2fd14ba8741c5a628921fd3afeec41b1feb2867cdb6cb", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling typ v0.1.1 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 7.92s [INFO] running `Command { std: "docker" "inspect" "565c7bb77e03c1b56dd2fd14ba8741c5a628921fd3afeec41b1feb2867cdb6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565c7bb77e03c1b56dd2fd14ba8741c5a628921fd3afeec41b1feb2867cdb6cb", kill_on_drop: false }` [INFO] [stdout] 565c7bb77e03c1b56dd2fd14ba8741c5a628921fd3afeec41b1feb2867cdb6cb [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11f68a1daf13f59a52e9391836f90f29aa59cbe95af461a92f8ff0a69151a406 [INFO] running `Command { std: "docker" "start" "-a" "11f68a1daf13f59a52e9391836f90f29aa59cbe95af461a92f8ff0a69151a406", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling trybuild v1.0.111 [INFO] [stderr] Compiling typ v0.1.1 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 14.28s [INFO] running `Command { std: "docker" "inspect" "11f68a1daf13f59a52e9391836f90f29aa59cbe95af461a92f8ff0a69151a406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f68a1daf13f59a52e9391836f90f29aa59cbe95af461a92f8ff0a69151a406", kill_on_drop: false }` [INFO] [stdout] 11f68a1daf13f59a52e9391836f90f29aa59cbe95af461a92f8ff0a69151a406