[INFO] fetching crate shaku 0.6.1... [INFO] checking shaku-0.6.1 against try#2e32e486ee7945e4b905ff82d6bf81ef77d60daa for pr-113895-1 [INFO] extracting crate shaku 0.6.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate shaku 0.6.1 on toolchain 2e32e486ee7945e4b905ff82d6bf81ef77d60daa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e32e486ee7945e4b905ff82d6bf81ef77d60daa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shaku 0.6.1 [INFO] finished tweaking crates.io crate shaku 0.6.1 [INFO] tweaked toml for crates.io crate shaku 0.6.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate shaku 0.6.1 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" "+2e32e486ee7945e4b905ff82d6bf81ef77d60daa" "fetch" "--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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+2e32e486ee7945e4b905ff82d6bf81ef77d60daa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f07be341cd4eb89e289a80135bdb78faf30e37aa63a0b5b71820e59084502274 [INFO] running `Command { std: "docker" "start" "-a" "f07be341cd4eb89e289a80135bdb78faf30e37aa63a0b5b71820e59084502274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f07be341cd4eb89e289a80135bdb78faf30e37aa63a0b5b71820e59084502274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f07be341cd4eb89e289a80135bdb78faf30e37aa63a0b5b71820e59084502274", kill_on_drop: false }` [INFO] [stdout] f07be341cd4eb89e289a80135bdb78faf30e37aa63a0b5b71820e59084502274 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+2e32e486ee7945e4b905ff82d6bf81ef77d60daa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03e6f7edcc31d5157b1fee73d59927325c62cdb948fcc05759545a4e6028856f [INFO] running `Command { std: "docker" "start" "-a" "03e6f7edcc31d5157b1fee73d59927325c62cdb948fcc05759545a4e6028856f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling trybuild v1.0.40 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling shaku_derive v0.6.0 [INFO] [stderr] Checking shaku v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stdout] error[E0119]: conflicting implementations of trait `HasComponent<>::Interface>` for type `AutoFacModule` [INFO] [stdout] --> examples/autofac.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / module! { [INFO] [stdout] 48 | | AutoFacModule { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________first implementation here [INFO] [stdout] | conflicting implementation for `AutoFacModule` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `HasProvider<>::Interface>` for type `TestModule` [INFO] [stdout] --> tests/repository_service_provider.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / module! { [INFO] [stdout] 74 | | TestModule { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______________first implementation here [INFO] [stdout] | conflicting implementation for `TestModule` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shaku` (example "autofac") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0119]: conflicting implementations of trait `HasProvider<>::Interface>` for type `TestModule` [INFO] [stdout] --> tests/multiple_submodules.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / module! { [INFO] [stdout] 50 | | TestModule { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______________first implementation here [INFO] [stdout] | conflicting implementation for `TestModule` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shaku` (test "multiple_submodules") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shaku` (test "repository_service_provider") due to 2 previous errors [INFO] [stdout] error[E0119]: conflicting implementations of trait `HasComponent<>::Interface>` for type `TestModule` [INFO] [stdout] --> tests/shared_dependency.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / module! { [INFO] [stdout] 49 | | TestModule { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______________first implementation here [INFO] [stdout] | conflicting implementation for `TestModule` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shaku` (test "shared_dependency") due to 2 previous errors [INFO] [stdout] error[E0119]: conflicting implementations of trait `HasComponent<>::Interface>` for type `TestModule2` [INFO] [stdout] --> tests/lazy_components.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / module! { [INFO] [stdout] 53 | | TestModule2 { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_______________first implementation here [INFO] [stdout] | conflicting implementation for `TestModule2` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shaku` (test "lazy_components") due to 2 previous errors [INFO] [stdout] warning: field `executor` is never read [INFO] [stdout] --> tests/generic_modules.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct RegisterServiceImpl { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 14 | #[shaku(default)] [INFO] [stdout] 15 | executor: E, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterServiceImpl` 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] [INFO] [stdout] [INFO] [stdout] warning: field `register_service` is never read [INFO] [stdout] --> tests/generic_modules.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct RegisterProviderImpl { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 23 | #[shaku(inject)] [INFO] [stdout] 24 | register_service: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterProviderImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> examples/simple_with_macros.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct SimpleDependencyImpl { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 18 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleDependencyImpl` 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] [INFO] [stdout] [INFO] [stdout] warning: field `dependency` is never read [INFO] [stdout] --> examples/simple_with_macros.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct SimpleServiceImpl { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 25 | #[shaku(inject)] [INFO] [stdout] 26 | dependency: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleServiceImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `HasComponent<>::Interface>` for type `BaseModule` [INFO] [stdout] --> tests/hidden_submodule_dependency.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / module! { [INFO] [stdout] 34 | | BaseModule { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______________first implementation here [INFO] [stdout] | conflicting implementation for `BaseModule` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> examples/simple_no_macros.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct SimpleDependencyImpl { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 22 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleDependencyImpl` 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] [INFO] [stdout] [INFO] [stdout] warning: field `dependency` is never read [INFO] [stdout] --> examples/simple_no_macros.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct SimpleServiceImpl { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 42 | dependency: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleServiceImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shaku` (test "hidden_submodule_dependency") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "03e6f7edcc31d5157b1fee73d59927325c62cdb948fcc05759545a4e6028856f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e6f7edcc31d5157b1fee73d59927325c62cdb948fcc05759545a4e6028856f", kill_on_drop: false }` [INFO] [stdout] 03e6f7edcc31d5157b1fee73d59927325c62cdb948fcc05759545a4e6028856f