[INFO] cloning repository https://github.com/dylmarcor/rust_temp_converter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dylmarcor/rust_temp_converter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylmarcor%2Frust_temp_converter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylmarcor%2Frust_temp_converter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0821dfa0b1db8ac7974805220b6c6cb65a79fe0c [INFO] checking dylmarcor/rust_temp_converter against try#2b43d8e161cfe46fae25518efb124c3c1d0fa392 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylmarcor%2Frust_temp_converter" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dylmarcor/rust_temp_converter [INFO] finished tweaking git repo https://github.com/dylmarcor/rust_temp_converter [INFO] tweaked toml for git repo https://github.com/dylmarcor/rust_temp_converter written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dylmarcor/rust_temp_converter on toolchain 2b43d8e161cfe46fae25518efb124c3c1d0fa392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dylmarcor/rust_temp_converter 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" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "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 dylmarcor/rust_temp_converter against try#2b43d8e161cfe46fae25518efb124c3c1d0fa392 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdylmarcor%2Frust_temp_converter" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dylmarcor/rust_temp_converter [INFO] finished tweaking git repo https://github.com/dylmarcor/rust_temp_converter [INFO] tweaked toml for git repo https://github.com/dylmarcor/rust_temp_converter written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dylmarcor/rust_temp_converter on toolchain 2b43d8e161cfe46fae25518efb124c3c1d0fa392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dylmarcor/rust_temp_converter 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" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad71e328a5fed97923ec2c27a8de6b8f344eeb7c4d904765ecf5330c5d7405f8 [INFO] running `Command { std: "docker" "start" "-a" "ad71e328a5fed97923ec2c27a8de6b8f344eeb7c4d904765ecf5330c5d7405f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad71e328a5fed97923ec2c27a8de6b8f344eeb7c4d904765ecf5330c5d7405f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad71e328a5fed97923ec2c27a8de6b8f344eeb7c4d904765ecf5330c5d7405f8", kill_on_drop: false }` [INFO] [stdout] ad71e328a5fed97923ec2c27a8de6b8f344eeb7c4d904765ecf5330c5d7405f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe5f7fd886c75749217c993a8d45469d8d2d4263ef1e31d16d617cf3c908fa56 [INFO] running `Command { std: "docker" "start" "-a" "fe5f7fd886c75749217c993a8d45469d8d2d4263ef1e31d16d617cf3c908fa56", kill_on_drop: false }` [INFO] [stderr] Checking temp_conv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | fn temp_choice() -> &str { [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] 89 | fn temp_choice() -> &'static str { [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 89 - fn temp_choice() -> &str { [INFO] [stdout] 89 + fn temp_choice() -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | fn temp_choice() -> &str { [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] 89 | fn temp_choice() -> &'static str { [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 89 - fn temp_choice() -> &str { [INFO] [stdout] 89 + fn temp_choice() -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | .read_line(&mut choice) [INFO] [stdout] | --------- ^^^^^^^^^^^ expected `&mut String`, found `&mut char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut String` [INFO] [stdout] found mutable reference `&mut char` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/2b43d8e161cfe46fae25518efb124c3c1d0fa392/library/std/src/io/stdio.rs:411:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | .read_line(&mut choice) [INFO] [stdout] | --------- ^^^^^^^^^^^ expected `&mut String`, found `&mut char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut String` [INFO] [stdout] found mutable reference `&mut char` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/2b43d8e161cfe46fae25518efb124c3c1d0fa392/library/std/src/io/stdio.rs:411:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | if choice == "C" { [INFO] [stdout] | ------ ^^^ expected `char`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `char` [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a `char` literal, use single quotes [INFO] [stdout] | [INFO] [stdout] 18 - if choice == "C" { [INFO] [stdout] 18 + if choice == 'C' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | if choice == "C" { [INFO] [stdout] | ------ ^^^ expected `char`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `char` [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a `char` literal, use single quotes [INFO] [stdout] | [INFO] [stdout] 18 - if choice == "C" { [INFO] [stdout] 18 + if choice == 'C' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | } else if choice == "F" { [INFO] [stdout] | ------ ^^^ expected `char`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `char` [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a `char` literal, use single quotes [INFO] [stdout] | [INFO] [stdout] 50 - } else if choice == "F" { [INFO] [stdout] 50 + } else if choice == 'F' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | } else if choice == "F" { [INFO] [stdout] | ------ ^^^ expected `char`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `char` [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a `char` literal, use single quotes [INFO] [stdout] | [INFO] [stdout] 50 - } else if choice == "F" { [INFO] [stdout] 50 + } else if choice == 'F' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | } else if choice == "END" { [INFO] [stdout] | ------ ^^^^^ expected `char`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | } else if choice == "END" { [INFO] [stdout] | ------ ^^^^^ expected `char`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 99 | / if choice == "F" { [INFO] [stdout] 100 | | "F" [INFO] [stdout] | | ^^^ expected `()`, found `&str` [INFO] [stdout] 101 | | } else if choice == "C" { [INFO] [stdout] 102 | | "C" [INFO] [stdout] ... | [INFO] [stdout] 107 | | continue [INFO] [stdout] 108 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 100 | return "F"; [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 99 | / if choice == "F" { [INFO] [stdout] 100 | | "F" [INFO] [stdout] | | ^^^ expected `()`, found `&str` [INFO] [stdout] 101 | | } else if choice == "C" { [INFO] [stdout] 102 | | "C" [INFO] [stdout] ... | [INFO] [stdout] 107 | | continue [INFO] [stdout] 108 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 100 | return "F"; [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 101 | } else if choice == "C" { [INFO] [stdout] | ________________- [INFO] [stdout] 102 | | "C" [INFO] [stdout] | | ^^^ expected `()`, found `&str` [INFO] [stdout] 103 | | } else if choice == "END" { [INFO] [stdout] 104 | | break; [INFO] [stdout] ... | [INFO] [stdout] 107 | | continue [INFO] [stdout] 108 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 102 | return "C"; [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 101 | } else if choice == "C" { [INFO] [stdout] | ________________- [INFO] [stdout] 102 | | "C" [INFO] [stdout] | | ^^^ expected `()`, found `&str` [INFO] [stdout] 103 | | } else if choice == "END" { [INFO] [stdout] 104 | | break; [INFO] [stdout] ... | [INFO] [stdout] 107 | | continue [INFO] [stdout] 108 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 102 | return "C"; [INFO] [stdout] | ++++++ + [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] 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 `temp_conv` (bin "temp_conv" test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `temp_conv` (bin "temp_conv") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "fe5f7fd886c75749217c993a8d45469d8d2d4263ef1e31d16d617cf3c908fa56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe5f7fd886c75749217c993a8d45469d8d2d4263ef1e31d16d617cf3c908fa56", kill_on_drop: false }` [INFO] [stdout] fe5f7fd886c75749217c993a8d45469d8d2d4263ef1e31d16d617cf3c908fa56