[INFO] cloning repository https://github.com/ok-nick/ubs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ok-nick/ubs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fok-nick%2Fubs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fok-nick%2Fubs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 150488baf3bdb6ab20955baac753e06794ca9c8e [INFO] checking ok-nick/ubs against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fok-nick%2Fubs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ok-nick/ubs 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 git repo https://github.com/ok-nick/ubs [INFO] finished tweaking git repo https://github.com/ok-nick/ubs [INFO] tweaked toml for git repo https://github.com/ok-nick/ubs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ok-nick/ubs 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] 6fa02f245853a99ccbeeaed5cc1e4134d04e6e1e1a99e981327dca7ff29adb09 [INFO] running `Command { std: "docker" "start" "-a" "6fa02f245853a99ccbeeaed5cc1e4134d04e6e1e1a99e981327dca7ff29adb09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fa02f245853a99ccbeeaed5cc1e4134d04e6e1e1a99e981327dca7ff29adb09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fa02f245853a99ccbeeaed5cc1e4134d04e6e1e1a99e981327dca7ff29adb09", kill_on_drop: false }` [INFO] [stdout] 6fa02f245853a99ccbeeaed5cc1e4134d04e6e1e1a99e981327dca7ff29adb09 [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] 720cc405a9a92351e24340d630e8fd85c8cd2654abf9e9b5f536d2c06e329ad5 [INFO] running `Command { std: "docker" "start" "-a" "720cc405a9a92351e24340d630e8fd85c8cd2654abf9e9b5f536d2c06e329ad5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde v1.0.181 [INFO] [stderr] Compiling futures-task v0.3.28 [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 serde_derive v1.0.181 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling rustls v0.21.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling rustix v0.37.11 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.3.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Checking iana-time-zone v0.1.56 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking tl v0.7.7 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking time v0.3.20 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking regex-automata v0.3.5 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.5.0 [INFO] [stderr] Checking regex v1.9.2 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.100.1 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking syntect v5.1.0 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking tokio-rustls v0.24.0 [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 hyper-rustls v0.24.1 [INFO] [stderr] Checking ubs-lib v0.1.1 (/opt/rustwide/workdir/ubs-lib) [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> ubs-lib/src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(Session::new(client, token) [INFO] [stdout] | ^ --------------------------- temporary value created here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 80 | | .schedule_iter(Query::new(course, semester, career)) [INFO] [stdout] 81 | | // TODO: set page accordingly. Ideally, the schedule should be able to figure it out itself [INFO] [stdout] 82 | | .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] --> ubs-lib/src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(Session::new(client, token) [INFO] [stdout] | ^ --------------------------- temporary value created here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 80 | | .schedule_iter(Query::new(course, semester, career)) [INFO] [stdout] 81 | | // TODO: set page accordingly. Ideally, the schedule should be able to figure it out itself [INFO] [stdout] 82 | | .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] [stderr] error: could not compile `ubs-lib` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "720cc405a9a92351e24340d630e8fd85c8cd2654abf9e9b5f536d2c06e329ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "720cc405a9a92351e24340d630e8fd85c8cd2654abf9e9b5f536d2c06e329ad5", kill_on_drop: false }` [INFO] [stdout] 720cc405a9a92351e24340d630e8fd85c8cd2654abf9e9b5f536d2c06e329ad5