[INFO] cloning repository https://github.com/jmacd/rusttest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmacd/rusttest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmacd%2Frusttest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmacd%2Frusttest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 789aa9e8f2b84f51d488e9be6afd40770c018598 [INFO] checking jmacd/rusttest against master#a7fc463dd8fbeca800d4b3efc501069502cffe64 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmacd%2Frusttest" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jmacd/rusttest on toolchain a7fc463dd8fbeca800d4b3efc501069502cffe64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jmacd/rusttest [INFO] finished tweaking git repo https://github.com/jmacd/rusttest [INFO] tweaked toml for git repo https://github.com/jmacd/rusttest written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jmacd/rusttest 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" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a442cac59e5513983f93af42cde36f37028dc1308c961c065378f153d2215af [INFO] running `Command { std: "docker" "start" "-a" "2a442cac59e5513983f93af42cde36f37028dc1308c961c065378f153d2215af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a442cac59e5513983f93af42cde36f37028dc1308c961c065378f153d2215af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a442cac59e5513983f93af42cde36f37028dc1308c961c065378f153d2215af", kill_on_drop: false }` [INFO] [stdout] 2a442cac59e5513983f93af42cde36f37028dc1308c961c065378f153d2215af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0e687bb7462351f0c384d44018ee0307b39cfbcb00be8fe7fc2f7b5024b0a59 [INFO] running `Command { std: "docker" "start" "-a" "c0e687bb7462351f0c384d44018ee0307b39cfbcb00be8fe7fc2f7b5024b0a59", kill_on_drop: false }` [INFO] [stderr] Checking rusttest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 82 | impl<'a> WD<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 86 | fn lookup<'b>(&'b mut self, path: &'_ Path) -> Option> [INFO] [stdout] | -- lifetime `'b` defined here [INFO] [stdout] ... [INFO] [stdout] 101 | Some(child) [INFO] [stdout] | ^^^^^^^^^^^ method was supposed to return data with lifetime `'a` but it is returning data with lifetime `'b` [INFO] [stdout] | [INFO] [stdout] = help: consider adding the following bound: `'b: 'a` [INFO] [stdout] = note: requirement occurs because of the type `WD<'_>`, which makes the generic argument `'_` invariant [INFO] [stdout] = note: the struct `WD<'a>` is invariant over the parameter `'a` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 82 | impl<'a> WD<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 86 | fn lookup<'b>(&'b mut self, path: &'_ Path) -> Option> [INFO] [stdout] | -- lifetime `'b` defined here [INFO] [stdout] ... [INFO] [stdout] 101 | Some(child) [INFO] [stdout] | ^^^^^^^^^^^ method was supposed to return data with lifetime `'a` but it is returning data with lifetime `'b` [INFO] [stdout] | [INFO] [stdout] = help: consider adding the following bound: `'b: 'a` [INFO] [stdout] = note: requirement occurs because of the type `WD<'_>`, which makes the generic argument `'_` invariant [INFO] [stdout] = note: the struct `WD<'a>` is invariant over the parameter `'a` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusttest` (bin "rusttest") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rusttest` (bin "rusttest" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c0e687bb7462351f0c384d44018ee0307b39cfbcb00be8fe7fc2f7b5024b0a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0e687bb7462351f0c384d44018ee0307b39cfbcb00be8fe7fc2f7b5024b0a59", kill_on_drop: false }` [INFO] [stdout] c0e687bb7462351f0c384d44018ee0307b39cfbcb00be8fe7fc2f7b5024b0a59