[INFO] cloning repository https://github.com/Ali5hahriar/string_size
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ali5hahriar/string_size" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAli5hahriar%2Fstring_size", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAli5hahriar%2Fstring_size'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 39df1f642f9440f392d67cf2495c5864014ee644
[INFO] building Ali5hahriar/string_size against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAli5hahriar%2Fstring_size" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ali5hahriar/string_size on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Ali5hahriar/string_size
[INFO] finished tweaking git repo https://github.com/Ali5hahriar/string_size
[INFO] tweaked toml for git repo https://github.com/Ali5hahriar/string_size written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Ali5hahriar/string_size 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f80b85311dda40ad92d399f7166a37339d97f92cd045f7e0d784b62fcb5ff423
[INFO] running `Command { std: "docker" "start" "-a" "f80b85311dda40ad92d399f7166a37339d97f92cd045f7e0d784b62fcb5ff423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f80b85311dda40ad92d399f7166a37339d97f92cd045f7e0d784b62fcb5ff423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f80b85311dda40ad92d399f7166a37339d97f92cd045f7e0d784b62fcb5ff423", kill_on_drop: false }`
[INFO] [stdout] f80b85311dda40ad92d399f7166a37339d97f92cd045f7e0d784b62fcb5ff423
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3bb2af518daa1f122aa5876a8e76bb3290293f9195b6e37aa368fe9a2f1cb827
[INFO] running `Command { std: "docker" "start" "-a" "3bb2af518daa1f122aa5876a8e76bb3290293f9195b6e37aa368fe9a2f1cb827", kill_on_drop: false }`
[INFO] [stderr]    Compiling string_size v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> src/main.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn dangle() -> &String {
[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] 5 | fn dangle() -> &'static String {
[INFO] [stdout]   |                 +++++++
[INFO] [stdout] help: instead, you are more likely to want to return an owned value
[INFO] [stdout]   |
[INFO] [stdout] 5 - fn dangle() -> &String {
[INFO] [stdout] 5 + fn dangle() -> String {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `refrence_to_nothing`
[INFO] [stdout]  --> src/main.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let refrence_to_nothing = dangle();
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refrence_to_nothing`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return reference to local variable `s`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     &s
[INFO] [stdout]   |     ^^ returns a reference to data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `string_size` (bin "string_size") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3bb2af518daa1f122aa5876a8e76bb3290293f9195b6e37aa368fe9a2f1cb827", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bb2af518daa1f122aa5876a8e76bb3290293f9195b6e37aa368fe9a2f1cb827", kill_on_drop: false }`
[INFO] [stdout] 3bb2af518daa1f122aa5876a8e76bb3290293f9195b6e37aa368fe9a2f1cb827
