[INFO] fetching crate ubs-lib 0.1.1... [INFO] checking ubs-lib-0.1.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate ubs-lib 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ubs-lib 0.1.1 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 ubs-lib 0.1.1 [INFO] finished tweaking crates.io crate ubs-lib 0.1.1 [INFO] tweaked toml for crates.io crate ubs-lib 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 28a348af3e56795750f5dc63bda0a3270b73ecc146d7cd9c06d7ecb9667beb83 [INFO] running `Command { std: "docker" "start" "-a" "28a348af3e56795750f5dc63bda0a3270b73ecc146d7cd9c06d7ecb9667beb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28a348af3e56795750f5dc63bda0a3270b73ecc146d7cd9c06d7ecb9667beb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a348af3e56795750f5dc63bda0a3270b73ecc146d7cd9c06d7ecb9667beb83", kill_on_drop: false }` [INFO] [stdout] 28a348af3e56795750f5dc63bda0a3270b73ecc146d7cd9c06d7ecb9667beb83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e46972723c321c3b326b44a6db9e0c6598f578de2195de6a6025275b4b584426 [INFO] running `Command { std: "docker" "start" "-a" "e46972723c321c3b326b44a6db9e0c6598f578de2195de6a6025275b4b584426", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.14 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tl v0.7.7 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking time v0.3.28 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking rustls-webpki v0.101.5 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking ubs-lib v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(Session::new(client, token) [INFO] [stdout] | ^ --------------------------- temporary value created here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 75 | | .schedule_iter(Query::new(course, semester, career)) [INFO] [stdout] 76 | | // TODO: set page accordingly. Ideally, the schedule should be able to figure it out itself [INFO] [stdout] 77 | | .map_ok(|bytes| ClassSchedule::new(bytes.into(), 1))) [INFO] [stdout] | |_____________________________________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(Session::new(client, token) [INFO] [stdout] | ^ --------------------------- temporary value created here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 75 | | .schedule_iter(Query::new(course, semester, career)) [INFO] [stdout] 76 | | // TODO: set page accordingly. Ideally, the schedule should be able to figure it out itself [INFO] [stdout] 77 | | .map_ok(|bytes| ClassSchedule::new(bytes.into(), 1))) [INFO] [stdout] | |_____________________________________________________________^ returns a value referencing data owned by the current function [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 E0515`. [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 E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ubs-lib` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ubs-lib` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e46972723c321c3b326b44a6db9e0c6598f578de2195de6a6025275b4b584426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46972723c321c3b326b44a6db9e0c6598f578de2195de6a6025275b4b584426", kill_on_drop: false }` [INFO] [stdout] e46972723c321c3b326b44a6db9e0c6598f578de2195de6a6025275b4b584426