[INFO] cloning repository https://github.com/mirsahebali/cli_todo_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mirsahebali/cli_todo_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirsahebali%2Fcli_todo_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirsahebali%2Fcli_todo_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 338c0db59aa433a7cf85d7731a6dc5d32b518e53 [INFO] checking mirsahebali/cli_todo_rs against try#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirsahebali%2Fcli_todo_rs" "/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/mirsahebali/cli_todo_rs on toolchain b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mirsahebali/cli_todo_rs [INFO] finished tweaking git repo https://github.com/mirsahebali/cli_todo_rs [INFO] tweaked toml for git repo https://github.com/mirsahebali/cli_todo_rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mirsahebali/cli_todo_rs 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" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fc326702bcfd76a97fce43c60a496dc47a543a89cd35aade2e8034ce06ea212 [INFO] running `Command { std: "docker" "start" "-a" "6fc326702bcfd76a97fce43c60a496dc47a543a89cd35aade2e8034ce06ea212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fc326702bcfd76a97fce43c60a496dc47a543a89cd35aade2e8034ce06ea212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc326702bcfd76a97fce43c60a496dc47a543a89cd35aade2e8034ce06ea212", kill_on_drop: false }` [INFO] [stdout] 6fc326702bcfd76a97fce43c60a496dc47a543a89cd35aade2e8034ce06ea212 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f14c9433c327e03cb3a1fc128251e1034536bc3ca70626e32a90a2bb48a9f91 [INFO] running `Command { std: "docker" "start" "-a" "4f14c9433c327e03cb3a1fc128251e1034536bc3ca70626e32a90a2bb48a9f91", kill_on_drop: false }` [INFO] [stderr] Checking cli_todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/operations.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_operation() -> Option { [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`, or if you will only have owned values [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_operation() -> Option> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/operations.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_operation() -> Option { [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`, or if you will only have owned values [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_operation() -> Option> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/list.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get(&self, index: u32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/list.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn delete(&mut self, index: u32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/list.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get(&self, index: u32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/list.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn delete(&mut self, index: u32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cli_todo` (bin "cli_todo") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cli_todo` (bin "cli_todo" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4f14c9433c327e03cb3a1fc128251e1034536bc3ca70626e32a90a2bb48a9f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f14c9433c327e03cb3a1fc128251e1034536bc3ca70626e32a90a2bb48a9f91", kill_on_drop: false }` [INFO] [stdout] 4f14c9433c327e03cb3a1fc128251e1034536bc3ca70626e32a90a2bb48a9f91