[INFO] cloning repository https://github.com/tyrchen/rust-training [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tyrchen/rust-training" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyrchen%2Frust-training", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyrchen%2Frust-training'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a319e72d07af467188bd0911f5035b8a8678860d [INFO] checking tyrchen/rust-training against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyrchen%2Frust-training" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tyrchen/rust-training on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tyrchen/rust-training [INFO] finished tweaking git repo https://github.com/tyrchen/rust-training [INFO] tweaked toml for git repo https://github.com/tyrchen/rust-training written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/tyrchen/rust-training already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a94cc900c9e966a274cd05d56cc816ec6a4306fb52b0c8577448f3e489cf1959 [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" "a94cc900c9e966a274cd05d56cc816ec6a4306fb52b0c8577448f3e489cf1959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a94cc900c9e966a274cd05d56cc816ec6a4306fb52b0c8577448f3e489cf1959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a94cc900c9e966a274cd05d56cc816ec6a4306fb52b0c8577448f3e489cf1959", kill_on_drop: false }` [INFO] [stdout] a94cc900c9e966a274cd05d56cc816ec6a4306fb52b0c8577448f3e489cf1959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3facf40d2dd60bd58269d78eda57285ad6836ade7d3f7d21d3a09340f2cd2d99 [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" "3facf40d2dd60bd58269d78eda57285ad6836ade7d3f7d21d3a09340f2cd2d99", kill_on_drop: false }` [INFO] [stderr] Checking strtok v0.1.0 (/opt/rustwide/workdir/code/strtok) [INFO] [stderr] Checking simple_asm v0.1.0 (/opt/rustwide/workdir/code/simple_asm) [INFO] [stderr] Checking lifetime v0.1.0 (/opt/rustwide/workdir/code/lifetime) [INFO] [stdout] error[E0312]: lifetime of reference outlives lifetime of borrowed content... [INFO] [stdout] --> code/lifetime/src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | Self { name, age } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...the reference is valid for the lifetime `'a` as defined on the impl at 7:6... [INFO] [stdout] --> code/lifetime/src/lib.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> User<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...but the borrowed content is only valid for the lifetime `'b` as defined on the method body at 9:16 [INFO] [stdout] --> code/lifetime/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new<'b>(name: &'b str, age: u8) -> Self { [INFO] [stdout] | ^^ [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 E0312`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lifetime` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0312]: lifetime of reference outlives lifetime of borrowed content... [INFO] [stdout] --> code/lifetime/src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | Self { name, age } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...the reference is valid for the lifetime `'a` as defined on the impl at 7:6... [INFO] [stdout] --> code/lifetime/src/lib.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> User<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...but the borrowed content is only valid for the lifetime `'b` as defined on the method body at 9:16 [INFO] [stdout] --> code/lifetime/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new<'b>(name: &'b str, age: u8) -> Self { [INFO] [stdout] | ^^ [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 E0312`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3facf40d2dd60bd58269d78eda57285ad6836ade7d3f7d21d3a09340f2cd2d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3facf40d2dd60bd58269d78eda57285ad6836ade7d3f7d21d3a09340f2cd2d99", kill_on_drop: false }` [INFO] [stdout] 3facf40d2dd60bd58269d78eda57285ad6836ade7d3f7d21d3a09340f2cd2d99