[INFO] cloning repository https://github.com/rickmugridge/rust-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickmugridge/rust-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickmugridge%2Frust-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickmugridge%2Frust-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba2a798c54b22f4146f27557b5c2db79d2579215 [INFO] checking rickmugridge/rust-experiments against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickmugridge%2Frust-experiments" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rickmugridge/rust-experiments [INFO] finished tweaking git repo https://github.com/rickmugridge/rust-experiments [INFO] tweaked toml for git repo https://github.com/rickmugridge/rust-experiments written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rickmugridge/rust-experiments 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/rickmugridge/rust-experiments 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 40e8925754c505f4ed065cbecce6f8732b3bf9c90f18c10fb34ae380b244c8db [INFO] running `Command { std: "docker" "start" "-a" "40e8925754c505f4ed065cbecce6f8732b3bf9c90f18c10fb34ae380b244c8db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40e8925754c505f4ed065cbecce6f8732b3bf9c90f18c10fb34ae380b244c8db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e8925754c505f4ed065cbecce6f8732b3bf9c90f18c10fb34ae380b244c8db", kill_on_drop: false }` [INFO] [stdout] 40e8925754c505f4ed065cbecce6f8732b3bf9c90f18c10fb34ae380b244c8db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ae552e8b16e67539a1642f8412fb30cca11830614ff655e8baee1a91c7dc1d60 [INFO] running `Command { std: "docker" "start" "-a" "ae552e8b16e67539a1642f8412fb30cca11830614ff655e8baee1a91c7dc1d60", kill_on_drop: false }` [INFO] [stderr] Checking experiments v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Double` in this scope [INFO] [stdout] --> src/lifetime/simple_in_struct.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a, 'b> Double<'a, 'b> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Double` in this scope [INFO] [stdout] --> src/lifetime/simple_in_struct.rs:30:51 [INFO] [stdout] | [INFO] [stdout] 30 | fn make_double<'a, 'b>(p: &'a u32, q: &'b u32) -> Double<'a, 'b> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Double` in this scope [INFO] [stdout] --> src/lifetime/simple_in_struct.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Double { p, q } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `experiments` (bin "experiments") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Lines` is never constructed [INFO] [stdout] --> src/traits/with_mutable.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct Lines { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/closure/closure_traits.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | let _cc: &dyn FnOnce() = capture_s.deref(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn FnOnce()` does not implement `Deref`, so calling `deref` on `&dyn FnOnce()` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lifetime/simple_in_struct.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | fn make_simple(p: &u32) -> Simple { [INFO] [stdout] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 5 | fn make_simple(p: &u32) -> Simple<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lifetime/simple_in_struct.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | fn make_simple_recursively(i: u32, p: &u32) -> Simple { [INFO] [stdout] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 9 | fn make_simple_recursively(i: u32, p: &u32) -> Simple<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lifetime/fn_with_lifetime.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | fn make_closure_ref(c: & dyn Fn() -> i32) -> ClosureRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn make_closure_ref(c: & dyn Fn() -> i32) -> ClosureRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ae552e8b16e67539a1642f8412fb30cca11830614ff655e8baee1a91c7dc1d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae552e8b16e67539a1642f8412fb30cca11830614ff655e8baee1a91c7dc1d60", kill_on_drop: false }` [INFO] [stdout] ae552e8b16e67539a1642f8412fb30cca11830614ff655e8baee1a91c7dc1d60