[INFO] fetching crate cross-krb5 0.3.0... [INFO] checking cross-krb5-0.3.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate cross-krb5 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cross-krb5 0.3.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cross-krb5 0.3.0 [INFO] finished tweaking crates.io crate cross-krb5 0.3.0 [INFO] tweaked toml for crates.io crate cross-krb5 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate cross-krb5 0.3.0 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c39809946facbd7acb8b86b8938bca9be48db70a7f41d8cebe24d9a3c4ec137e [INFO] running `Command { std: "docker" "start" "-a" "c39809946facbd7acb8b86b8938bca9be48db70a7f41d8cebe24d9a3c4ec137e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c39809946facbd7acb8b86b8938bca9be48db70a7f41d8cebe24d9a3c4ec137e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39809946facbd7acb8b86b8938bca9be48db70a7f41d8cebe24d9a3c4ec137e", kill_on_drop: false }` [INFO] [stdout] c39809946facbd7acb8b86b8938bca9be48db70a7f41d8cebe24d9a3c4ec137e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b53da9cf450f93b3879226068e8b563c7575251377ba06b80f9285a317e7922 [INFO] running `Command { std: "docker" "start" "-a" "7b53da9cf450f93b3879226068e8b563c7575251377ba06b80f9285a317e7922", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling libgssapi-sys v0.2.4 [INFO] [stderr] Checking libgssapi v0.6.1 [INFO] [stderr] Checking cross-krb5 v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `token` does not live long enough [INFO] [stdout] --> examples/auth.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 13 | let token = match input.recv().expect("expected data") { [INFO] [stdout] | ----- binding `token` declared here [INFO] [stdout] ... [INFO] [stdout] 17 | match server.step(&*token).expect("step") { [INFO] [stdout] | --------------^^^^^---------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 29 | }; [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `token` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `cross_krb5::Step<(ServerCtx, Option>), (PendingServerCtx, impl Deref)>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 28 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `token` does not live long enough [INFO] [stdout] --> examples/auth.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 44 | let token = match input.recv().expect("expected data") { [INFO] [stdout] | ----- binding `token` declared here [INFO] [stdout] ... [INFO] [stdout] 48 | match client.step(&*token).expect("step") { [INFO] [stdout] | --------------^^^^^---------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 60 | }; [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `token` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `cross_krb5::Step<(ClientCtx, Option>), (PendingClientCtx, impl Deref)>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 59 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cross-krb5` (example "auth") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "7b53da9cf450f93b3879226068e8b563c7575251377ba06b80f9285a317e7922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b53da9cf450f93b3879226068e8b563c7575251377ba06b80f9285a317e7922", kill_on_drop: false }` [INFO] [stdout] 7b53da9cf450f93b3879226068e8b563c7575251377ba06b80f9285a317e7922