[INFO] cloning repository https://github.com/mateuszgrzyb/autowired [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mateuszgrzyb/autowired" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateuszgrzyb%2Fautowired", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateuszgrzyb%2Fautowired'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d3e7b55bbd99c15c29163ca524a190be3f5285d [INFO] checking mateuszgrzyb/autowired against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateuszgrzyb%2Fautowired" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mateuszgrzyb/autowired on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/mateuszgrzyb/autowired [INFO] finished tweaking git repo https://github.com/mateuszgrzyb/autowired [INFO] tweaked toml for git repo https://github.com/mateuszgrzyb/autowired written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mateuszgrzyb/autowired 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded impls v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4cb593f01b056d48ba43fdd88b62a8158c864623eff2d0637febe136289b635 [INFO] running `Command { std: "docker" "start" "-a" "d4cb593f01b056d48ba43fdd88b62a8158c864623eff2d0637febe136289b635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4cb593f01b056d48ba43fdd88b62a8158c864623eff2d0637febe136289b635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4cb593f01b056d48ba43fdd88b62a8158c864623eff2d0637febe136289b635", kill_on_drop: false }` [INFO] [stdout] d4cb593f01b056d48ba43fdd88b62a8158c864623eff2d0637febe136289b635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08b040f9cb3f6b9fa47eb8230da37eafb60cad2ed90a42c56e23e5775e547bcc [INFO] running `Command { std: "docker" "start" "-a" "08b040f9cb3f6b9fa47eb8230da37eafb60cad2ed90a42c56e23e5775e547bcc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling async-trait v0.1.75 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking inventory v0.3.14 [INFO] [stderr] Checking impls v1.0.3 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling autowired_macros v0.1.0 (/opt/rustwide/workdir/autowired_macros) [INFO] [stdout] warning: unused import: `future::IntoFuture` [INFO] [stdout] --> autowired_macros/src/autowired_data.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, future::IntoFuture}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `darling::FromField` [INFO] [stdout] --> autowired_macros/src/autowired_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use darling::FromField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldsNamed`, `FieldsUnnamed`, `parse::Parse` [INFO] [stdout] --> autowired_macros/src/autowired_data.rs:7:67 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{ItemStruct, ItemFn, Signature, ReturnType, Type, FnArg, FieldsNamed, Fields, FieldsUnnamed, Expr, Meta, parse::Parse, Attribute}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `p`, `name`, and `types` are never read [INFO] [stdout] --> autowired_macros/src/lib.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 82 | struct ProviderInput { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 83 | p: Ident, [INFO] [stdout] | ^ [INFO] [stdout] 84 | name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | types: Punctuated, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking autowired v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Dep` [INFO] [stdout] --> src/provider.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Dep, Deps, DepsBuilder}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] {2: Expr::Call { attrs: [], func: Expr::Path { attrs: [], qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "stateful", span: #0 bytes(209..217) }, arguments: PathArguments::None }] } }, paren_token: Paren, args: [] }} [INFO] [stdout] {} [INFO] [stdout] {} [INFO] [stdout] {} [INFO] [stdout] {} [INFO] [stdout] {} [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/test1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> tests/test1.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use autowired::{Context, TypeId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dep` [INFO] [stdout] --> src/provider.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Dep, Deps, DepsBuilder}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a2` [INFO] [stdout] --> tests/test2.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let a2 = p.provide::(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `provided` and `shared` are never read [INFO] [stdout] --> tests/test2.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 10 | struct A { [INFO] [stdout] | - fields in this struct [INFO] [stdout] 11 | provided: AutowiredString, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | shared: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `A` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/test2.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | struct AutowiredString(Arc); [INFO] [stdout] | --------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `AutowiredString` has a derived impl for the trait `Clone`, 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] 18 | struct AutowiredString(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> tests/test1.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | let a = p.provide::(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `b` and `c` are never read [INFO] [stdout] --> tests/test1.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | struct A { [INFO] [stdout] | - fields in this struct [INFO] [stdout] 8 | b: B, [INFO] [stdout] | ^ [INFO] [stdout] 9 | c: C, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `A` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `c` is never read [INFO] [stdout] --> tests/test1.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 13 | struct B { [INFO] [stdout] | - field in this struct [INFO] [stdout] 14 | c: C, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `B` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> tests/test1.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 31 | struct AsyncParent { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 32 | a: A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `AsyncParent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.35s [INFO] running `Command { std: "docker" "inspect" "08b040f9cb3f6b9fa47eb8230da37eafb60cad2ed90a42c56e23e5775e547bcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b040f9cb3f6b9fa47eb8230da37eafb60cad2ed90a42c56e23e5775e547bcc", kill_on_drop: false }` [INFO] [stdout] 08b040f9cb3f6b9fa47eb8230da37eafb60cad2ed90a42c56e23e5775e547bcc