[INFO] cloning repository https://github.com/anshul-mohil/the_book_rust_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anshul-mohil/the_book_rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshul-mohil%2Fthe_book_rust_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshul-mohil%2Fthe_book_rust_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1044ef88416ed9f1b9dd09a88dc33038b3c6f90 [INFO] testing anshul-mohil/the_book_rust_practice against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshul-mohil%2Fthe_book_rust_practice" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anshul-mohil/the_book_rust_practice on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anshul-mohil/the_book_rust_practice [INFO] finished tweaking git repo https://github.com/anshul-mohil/the_book_rust_practice [INFO] tweaked toml for git repo https://github.com/anshul-mohil/the_book_rust_practice written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/anshul-mohil/the_book_rust_practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7065bc582f5d5e32700d16640c385e36aee6f8909221e56b3262f629d1a43ebc [INFO] running `Command { std: "docker" "start" "-a" "7065bc582f5d5e32700d16640c385e36aee6f8909221e56b3262f629d1a43ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7065bc582f5d5e32700d16640c385e36aee6f8909221e56b3262f629d1a43ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7065bc582f5d5e32700d16640c385e36aee6f8909221e56b3262f629d1a43ebc", kill_on_drop: false }` [INFO] [stdout] 7065bc582f5d5e32700d16640c385e36aee6f8909221e56b3262f629d1a43ebc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a8fe6531fc442e415f13f1ec24b5d87c401d612bdb8e16c061e6b96d9823b78 [INFO] running `Command { std: "docker" "start" "-a" "2a8fe6531fc442e415f13f1ec24b5d87c401d612bdb8e16c061e6b96d9823b78", kill_on_drop: false }` [INFO] [stderr] Compiling the_book v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `string2` does not live long enough [INFO] [stdout] --> src/lifetime_examples.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | result= longest(string1.as_str(), string2.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 13 | } [INFO] [stdout] | - `string2` dropped here while still borrowed [INFO] [stdout] 14 | println!("The longest string outside scope {}", result); [INFO] [stdout] | ------ borrow later used here [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 E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `the_book` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "2a8fe6531fc442e415f13f1ec24b5d87c401d612bdb8e16c061e6b96d9823b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a8fe6531fc442e415f13f1ec24b5d87c401d612bdb8e16c061e6b96d9823b78", kill_on_drop: false }` [INFO] [stdout] 2a8fe6531fc442e415f13f1ec24b5d87c401d612bdb8e16c061e6b96d9823b78