[INFO] cloning repository https://github.com/killpowa/rust-cyclic-services [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/killpowa/rust-cyclic-services" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkillpowa%2Frust-cyclic-services", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkillpowa%2Frust-cyclic-services'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f87b953c902989b0c689e311c48af452ceec9132 [INFO] checking killpowa/rust-cyclic-services against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkillpowa%2Frust-cyclic-services" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/killpowa/rust-cyclic-services [INFO] finished tweaking git repo https://github.com/killpowa/rust-cyclic-services [INFO] tweaked toml for git repo https://github.com/killpowa/rust-cyclic-services written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/killpowa/rust-cyclic-services on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/killpowa/rust-cyclic-services 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 500557d61a433bcc61e698cd64137ee2233f25419993397fb6510a63e2f7adc7 [INFO] running `Command { std: "docker" "start" "-a" "500557d61a433bcc61e698cd64137ee2233f25419993397fb6510a63e2f7adc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "500557d61a433bcc61e698cd64137ee2233f25419993397fb6510a63e2f7adc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500557d61a433bcc61e698cd64137ee2233f25419993397fb6510a63e2f7adc7", kill_on_drop: false }` [INFO] [stdout] 500557d61a433bcc61e698cd64137ee2233f25419993397fb6510a63e2f7adc7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a38589003bbd612d384ba1ce5dc1c953832e73bf3d548aa55e1a1028509456e [INFO] running `Command { std: "docker" "start" "-a" "8a38589003bbd612d384ba1ce5dc1c953832e73bf3d548aa55e1a1028509456e", kill_on_drop: false }` [INFO] [stderr] Checking services_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `service1` is never used [INFO] [stdout] --> src/services/mod.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 24 | impl Services { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | register_service!(service1: Service1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `register_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/services/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ServicesInner<'a, T> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 37 | pub inner: &'a T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_something` is never used [INFO] [stdout] --> src/services/service2.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ServicesInner<'_, Service2> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 12 | pub fn do_something(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/services/mod.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn $service(&self) -> ServicesInner<$type> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 32 | register_service!(service1: Service1); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `register_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn $service(&self) -> ServicesInner<'_, $type> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/services/mod.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn $service(&self) -> ServicesInner<$type> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 33 | register_service!(service2: Service2); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `register_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn $service(&self) -> ServicesInner<'_, $type> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `service1` is never used [INFO] [stdout] --> src/services/mod.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 24 | impl Services { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | register_service!(service1: Service1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `register_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/services/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ServicesInner<'a, T> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 37 | pub inner: &'a T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_something` is never used [INFO] [stdout] --> src/services/service2.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ServicesInner<'_, Service2> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 12 | pub fn do_something(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/services/mod.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn $service(&self) -> ServicesInner<$type> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 32 | register_service!(service1: Service1); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `register_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn $service(&self) -> ServicesInner<'_, $type> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/services/mod.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn $service(&self) -> ServicesInner<$type> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 33 | register_service!(service2: Service2); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `register_service` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn $service(&self) -> ServicesInner<'_, $type> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "8a38589003bbd612d384ba1ce5dc1c953832e73bf3d548aa55e1a1028509456e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a38589003bbd612d384ba1ce5dc1c953832e73bf3d548aa55e1a1028509456e", kill_on_drop: false }` [INFO] [stdout] 8a38589003bbd612d384ba1ce5dc1c953832e73bf3d548aa55e1a1028509456e