[INFO] fetching crate inject 0.1.2...
[INFO] checking inject-0.1.2 against beta-2020-07-24 for pr-75494-beta
[INFO] extracting crate inject 0.1.2 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate inject 0.1.2 on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate inject 0.1.2
[INFO] finished tweaking crates.io crate inject 0.1.2
[INFO] tweaked toml for crates.io crate inject 0.1.2 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate crates.io crate inject 0.1.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6daea5a2a431f8d6a334f821ca4e2515407d3f82701f8437a2285bbd3a50dd79
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6daea5a2a431f8d6a334f821ca4e2515407d3f82701f8437a2285bbd3a50dd79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6daea5a2a431f8d6a334f821ca4e2515407d3f82701f8437a2285bbd3a50dd79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6daea5a2a431f8d6a334f821ca4e2515407d3f82701f8437a2285bbd3a50dd79", kill_on_drop: false }`
[INFO] [stdout] 6daea5a2a431f8d6a334f821ca4e2515407d3f82701f8437a2285bbd3a50dd79
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 159485a05627b3dfbca07ff0c314fcd2a71eb255549aa20c5030ed0d5085d3ca
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "159485a05627b3dfbca07ff0c314fcd2a71eb255549aa20c5030ed0d5085d3ca", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.23
[INFO] [stderr]    Compiling rstest v0.6.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.17
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling inject-macro v0.1.0
[INFO] [stderr]     Checking inject v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/inject.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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: `crate::inject::Inject`
[INFO] [stdout]  --> src/module.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::inject::Inject;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Provider`, `RefProvider`
[INFO] [stdout]  --> src/module.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::provider::{Provider, RefProvider};
[INFO] [stdout]   |                       ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Container`
[INFO] [stdout]  --> src/module.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::Container;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> src/inject.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn inject(container: &crate::Container) -> Result<Self, crate::InjectError> {
[INFO] [stdout]    |               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> src/provider.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn provide(&self, container: &Container) -> Result<Self::ProvidedType, InjectError> {
[INFO] [stdout]    |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> tests/test_providers.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         container: &'a Container,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> tests/test_providers.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         container: &'a Container,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> tests/test_inject.rs:56:49
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn test_install_singleton_returns_same_instance(data: Data, arc_data: ArcData) {
[INFO] [stdout]    |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arc_data`
[INFO] [stdout]   --> tests/test_inject.rs:56:61
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn test_install_singleton_returns_same_instance(data: Data, arc_data: ArcData) {
[INFO] [stdout]    |                                                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> tests/test_call.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | #[inject]
[INFO] [stdout]    | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout] ...
[INFO] [stdout] 18 |     call!(&container, injected_func).unwrap();
[INFO] [stdout]    |     -------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> tests/test_call.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[inject]
[INFO] [stdout]    | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout] ...
[INFO] [stdout] 24 |     let a = call!(&container, func_with_args).unwrap();
[INFO] [stdout]    |             --------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> tests/test_call.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[inject]
[INFO] [stdout]    | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout] ...
[INFO] [stdout] 32 |     let return_value = call!(&container, func_with_args, kwargs = { b: data }).unwrap();
[INFO] [stdout]    |                        ------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> tests/test_call.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[inject]
[INFO] [stdout]    | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout] ...
[INFO] [stdout] 40 |     let a = call!(&container, func_with_args, kwargs = { b: Data::new(1) }).unwrap();
[INFO] [stdout]    |             --------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::inject::Inject`
[INFO] [stdout]   --> src/inject.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     use crate::inject::Inject;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::inject::Inject`
[INFO] [stdout]  --> src/module.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::inject::Inject;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Provider`, `RefProvider`
[INFO] [stdout]  --> src/module.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::provider::{Provider, RefProvider};
[INFO] [stdout]   |                       ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Container`
[INFO] [stdout]  --> src/module.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::Container;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> examples/calling_with_kwargs.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[inject]
[INFO] [stdout]    | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout] ...
[INFO] [stdout] 20 |     let result = call!(&container, acts_on_service, kwargs = { service: Service(2) }).unwrap();
[INFO] [stdout]    |                  -------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]  --> examples/calling_with_kwargs.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn new() -> Self {
[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] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> examples/resolve_dependency.rs:25:33
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let container = container![|container: &Container| Ok(Instance(2))];
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> examples/calling.rs:18:33
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let container = container![|container: &Container| Ok(Service(3))];
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> examples/calling.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[inject]
[INFO] [stdout]    | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout] ...
[INFO] [stdout] 20 |     let result = call!(&container, acts_on_service).unwrap();
[INFO] [stdout]    |                  ---------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]  --> examples/provide_reference.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn new(a: isize) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> src/inject.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn inject(container: &crate::Container) -> Result<Self, crate::InjectError> {
[INFO] [stdout]    |               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `container`
[INFO] [stdout]   --> src/provider.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn provide(&self, container: &Container) -> Result<Self::ProvidedType, InjectError> {
[INFO] [stdout]    |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 27.86s
[INFO] running `Command { std: "docker" "inspect" "159485a05627b3dfbca07ff0c314fcd2a71eb255549aa20c5030ed0d5085d3ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "159485a05627b3dfbca07ff0c314fcd2a71eb255549aa20c5030ed0d5085d3ca", kill_on_drop: false }`
[INFO] [stdout] 159485a05627b3dfbca07ff0c314fcd2a71eb255549aa20c5030ed0d5085d3ca
