[INFO] fetching crate tz-rs 0.7.1... [INFO] checking tz-rs-0.7.1 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate tz-rs 0.7.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tz-rs 0.7.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tz-rs 0.7.1 [INFO] tweaked toml for crates.io crate tz-rs 0.7.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tz-rs 0.7.1 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tz-rs 0.7.1 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53c2ffc0004aa86859ae3c0e56d8967583e299304d0134c9ad65fd846e854f49 [INFO] running `Command { std: "docker" "start" "-a" "53c2ffc0004aa86859ae3c0e56d8967583e299304d0134c9ad65fd846e854f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53c2ffc0004aa86859ae3c0e56d8967583e299304d0134c9ad65fd846e854f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53c2ffc0004aa86859ae3c0e56d8967583e299304d0134c9ad65fd846e854f49", kill_on_drop: false }` [INFO] [stdout] 53c2ffc0004aa86859ae3c0e56d8967583e299304d0134c9ad65fd846e854f49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51a256a8c9450af4db8aa3846586901d44dd44e08d907947800355f1bac5c1ea [INFO] running `Command { std: "docker" "start" "-a" "51a256a8c9450af4db8aa3846586901d44dd44e08d907947800355f1bac5c1ea", kill_on_drop: false }` [INFO] [stderr] Checking tz-rs v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/datetime/mod.rs:1204:14 [INFO] [stdout] | [INFO] [stdout] 1197 | Ok(x) => x, [INFO] [stdout] | - using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] 1198 | Err(_) => panic!(), [INFO] [stdout] 1199 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 1204 | &[ [INFO] [stdout] | ______________^ [INFO] [stdout] 1205 | | Transition::new(-2334101314, 1), [INFO] [stdout] 1206 | | Transition::new(-1157283000, 2), [INFO] [stdout] 1207 | | Transition::new(-1155436200, 1), [INFO] [stdout] ... | [INFO] [stdout] 1211 | | Transition::new(-712150200, 5), [INFO] [stdout] 1212 | | ], [INFO] [stdout] | |_____________^ creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/datetime/mod.rs:1223:14 [INFO] [stdout] | [INFO] [stdout] 1197 | Ok(x) => x, [INFO] [stdout] | - using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] 1198 | Err(_) => panic!(), [INFO] [stdout] 1199 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 1223 | &[ [INFO] [stdout] | ______________^ [INFO] [stdout] 1224 | | LeapSecond::new(78796800, 1), [INFO] [stdout] 1225 | | LeapSecond::new(94694401, 2), [INFO] [stdout] 1226 | | LeapSecond::new(126230402, 3), [INFO] [stdout] ... | [INFO] [stdout] 1229 | | LeapSecond::new(220924805, 6), [INFO] [stdout] 1230 | | ], [INFO] [stdout] | |_____________^ creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/statics.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(x) => x, [INFO] [stdout] | - using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] 10 | Err(_) => panic!(), [INFO] [stdout] 11 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 16 | &[ [INFO] [stdout] | __________^ [INFO] [stdout] 17 | | Transition::new(-2334101314, 1), [INFO] [stdout] 18 | | Transition::new(-1157283000, 2), [INFO] [stdout] 19 | | Transition::new(-1155436200, 1), [INFO] [stdout] ... | [INFO] [stdout] 23 | | Transition::new(-712150200, 5), [INFO] [stdout] 24 | | ], [INFO] [stdout] | |_________^ creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/statics.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(x) => x, [INFO] [stdout] | - using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] 10 | Err(_) => panic!(), [INFO] [stdout] 11 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 35 | &[ [INFO] [stdout] | __________^ [INFO] [stdout] 36 | | LeapSecond::new(78796800, 1), [INFO] [stdout] 37 | | LeapSecond::new(94694401, 2), [INFO] [stdout] 38 | | LeapSecond::new(126230402, 3), [INFO] [stdout] ... | [INFO] [stdout] 41 | | LeapSecond::new(220924805, 6), [INFO] [stdout] 42 | | ], [INFO] [stdout] | |_________^ creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tz-rs` (example "statics") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tz-rs` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "51a256a8c9450af4db8aa3846586901d44dd44e08d907947800355f1bac5c1ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a256a8c9450af4db8aa3846586901d44dd44e08d907947800355f1bac5c1ea", kill_on_drop: false }` [INFO] [stdout] 51a256a8c9450af4db8aa3846586901d44dd44e08d907947800355f1bac5c1ea