[INFO] cloning repository https://github.com/br1code/rust-ownership [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/br1code/rust-ownership" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbr1code%2Frust-ownership", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbr1code%2Frust-ownership'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb687a123c246932157b72d9134b507474d1cc6b [INFO] checking br1code/rust-ownership against master#73252d51d13c0e4f872c3c51defcf48174860ef6 for pr-119989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbr1code%2Frust-ownership" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/br1code/rust-ownership on toolchain 73252d51d13c0e4f872c3c51defcf48174860ef6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/br1code/rust-ownership [INFO] finished tweaking git repo https://github.com/br1code/rust-ownership [INFO] tweaked toml for git repo https://github.com/br1code/rust-ownership written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/br1code/rust-ownership 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" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking br1code/rust-ownership against try#5d004039df46bb665b8ed6385386e3b1b007a6a8 for pr-119989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbr1code%2Frust-ownership" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/br1code/rust-ownership on toolchain 5d004039df46bb665b8ed6385386e3b1b007a6a8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/br1code/rust-ownership [INFO] finished tweaking git repo https://github.com/br1code/rust-ownership [INFO] tweaked toml for git repo https://github.com/br1code/rust-ownership written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/br1code/rust-ownership 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" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking br1code/rust-ownership against try#5d004039df46bb665b8ed6385386e3b1b007a6a8 for pr-119989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbr1code%2Frust-ownership" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/br1code/rust-ownership on toolchain 5d004039df46bb665b8ed6385386e3b1b007a6a8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/br1code/rust-ownership [INFO] finished tweaking git repo https://github.com/br1code/rust-ownership [INFO] tweaked toml for git repo https://github.com/br1code/rust-ownership written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/br1code/rust-ownership 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" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 270ef592cfc16a5515dce61ec3b6ab690b7d71fd54f64fab0ad8b1c8aa30d4a7 [INFO] running `Command { std: "docker" "start" "-a" "270ef592cfc16a5515dce61ec3b6ab690b7d71fd54f64fab0ad8b1c8aa30d4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "270ef592cfc16a5515dce61ec3b6ab690b7d71fd54f64fab0ad8b1c8aa30d4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270ef592cfc16a5515dce61ec3b6ab690b7d71fd54f64fab0ad8b1c8aa30d4a7", kill_on_drop: false }` [INFO] [stdout] 270ef592cfc16a5515dce61ec3b6ab690b7d71fd54f64fab0ad8b1c8aa30d4a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb40d0012aa1a54b4d906d46bd31472cb831d3666e228794b3040f1d93ed2319 [INFO] running `Command { std: "docker" "start" "-a" "fb40d0012aa1a54b4d906d46bd31472cb831d3666e228794b3040f1d93ed2319", kill_on_drop: false }` [INFO] [stderr] Checking rust-ownership v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/references_and_borrowing.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | fn dangle() -> &String { // error[E0106]: missing lifetime specifier, help: consider giving it a 'static lifetime: `&'static` [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 141 | fn dangle() -> &'static String { // error[E0106]: missing lifetime specifier, help: consider giving it a 'static lifetime: `&'static` [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 141 - fn dangle() -> &String { // error[E0106]: missing lifetime specifier, help: consider giving it a 'static lifetime: `&'static` [INFO] [stdout] 141 + fn dangle() -> String { // error[E0106]: missing lifetime specifier, help: consider giving it a 'static lifetime: `&'static` [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/references_and_borrowing.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | fn dangle() -> &String { // error[E0106]: missing lifetime specifier, help: consider giving it a 'static lifetime: `&'static` [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 141 | fn dangle() -> &'static String { // error[E0106]: missing lifetime specifier, help: consider giving it a 'static lifetime: `&'static` [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 141 - fn dangle() -> &String { // error[E0106]: missing lifetime specifier, help: consider giving it a 'static lifetime: `&'static` [INFO] [stdout] 141 + fn dangle() -> String { // error[E0106]: missing lifetime specifier, help: consider giving it a 'static lifetime: `&'static` [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/slice_type.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | fn first_word_signature(s: &String) -> &str {} [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/slice_type.rs:123:44 [INFO] [stdout] | [INFO] [stdout] 123 | fn first_word_better_signature(s: &str) -> &str {} [INFO] [stdout] | --------------------------- ^^^^ expected `&str`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] help: consider returning the local binding `s` [INFO] [stdout] | [INFO] [stdout] 123 | fn first_word_better_signature(s: &str) -> &str { s } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/slice_type.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | fn first_word_signature(s: &String) -> &str {} [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/slice_type.rs:123:44 [INFO] [stdout] | [INFO] [stdout] 123 | fn first_word_better_signature(s: &str) -> &str {} [INFO] [stdout] | --------------------------- ^^^^ expected `&str`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] help: consider returning the local binding `s` [INFO] [stdout] | [INFO] [stdout] 123 | fn first_word_better_signature(s: &str) -> &str { s } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-ownership` (bin "rust-ownership") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-ownership` (bin "rust-ownership" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "fb40d0012aa1a54b4d906d46bd31472cb831d3666e228794b3040f1d93ed2319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb40d0012aa1a54b4d906d46bd31472cb831d3666e228794b3040f1d93ed2319", kill_on_drop: false }` [INFO] [stdout] fb40d0012aa1a54b4d906d46bd31472cb831d3666e228794b3040f1d93ed2319