[INFO] cloning repository https://github.com/wowjack/rust-llm-tasks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wowjack/rust-llm-tasks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwowjack%2Frust-llm-tasks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwowjack%2Frust-llm-tasks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53db862f4c74bb9e7d41eeadf7a15abf663d31c5 [INFO] checking wowjack/rust-llm-tasks against master#43ca9d18e333797f0aa3b525501a7cec8d61a96b for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwowjack%2Frust-llm-tasks" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wowjack/rust-llm-tasks on toolchain 43ca9d18e333797f0aa3b525501a7cec8d61a96b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wowjack/rust-llm-tasks [INFO] finished tweaking git repo https://github.com/wowjack/rust-llm-tasks [INFO] tweaked toml for git repo https://github.com/wowjack/rust-llm-tasks written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wowjack/rust-llm-tasks 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" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d34fff81e79b531c6462e8cba0a7a20d13587d630ef8214e553e7f519986b74 [INFO] running `Command { std: "docker" "start" "-a" "1d34fff81e79b531c6462e8cba0a7a20d13587d630ef8214e553e7f519986b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d34fff81e79b531c6462e8cba0a7a20d13587d630ef8214e553e7f519986b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d34fff81e79b531c6462e8cba0a7a20d13587d630ef8214e553e7f519986b74", kill_on_drop: false }` [INFO] [stdout] 1d34fff81e79b531c6462e8cba0a7a20d13587d630ef8214e553e7f519986b74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9093a7b1fd9705ee36b751b1f1aac87c9922be1b6e4c8cf4f45beb6a9ba907e5 [INFO] running `Command { std: "docker" "start" "-a" "9093a7b1fd9705ee36b751b1f1aac87c9922be1b6e4c8cf4f45beb6a9ba907e5", kill_on_drop: false }` [INFO] [stderr] Checking rust-llm-tasks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: use of moved value: `vector` [INFO] [stdout] --> src/task1.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 6 | let vector = vec![1, 2, 3, 4, 5, 6]; [INFO] [stdout] | ------ move occurs because `vector` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] 7 | print_vector_length(vector); [INFO] [stdout] | ------ value moved here [INFO] [stdout] 8 | print_vector(vector); [INFO] [stdout] | ^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `print_vector_length` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/task1.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn print_vector_length(vector: Vec) { [INFO] [stdout] | ------------------- ^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 7 | print_vector_length(vector.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `vector` [INFO] [stdout] --> src/task1.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 6 | let vector = vec![1, 2, 3, 4, 5, 6]; [INFO] [stdout] | ------ move occurs because `vector` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] 7 | print_vector_length(vector); [INFO] [stdout] | ------ value moved here [INFO] [stdout] 8 | print_vector(vector); [INFO] [stdout] | ^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `print_vector_length` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/task1.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn print_vector_length(vector: Vec) { [INFO] [stdout] | ------------------- ^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 7 | print_vector_length(vector.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `original_vector` [INFO] [stdout] --> src/task1.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 24 | let original_vector = vec![1, 2, 3, 4, 5, 6]; [INFO] [stdout] | --------------- move occurs because `original_vector` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] 25 | let squared_vector = square_vector(original_vector); [INFO] [stdout] | --------------- value moved here [INFO] [stdout] 26 | [INFO] [stdout] 27 | println!("Original vector: {original_vector:?}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `square_vector` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/task1.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn square_vector(vector: Vec) -> Vec { [INFO] [stdout] | ------------- ^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 25 | let squared_vector = square_vector(original_vector.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `task.priority` because it is borrowed [INFO] [stdout] --> src/task2.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | task_store.insert_task(&task); [INFO] [stdout] | ----- `task.priority` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 12 | task.priority = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `task.priority` is assigned to here but it was already borrowed [INFO] [stdout] 13 | [INFO] [stdout] 14 | task_store.print_tasks(); [INFO] [stdout] | ---------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-llm-tasks` (bin "rust-llm-tasks") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-llm-tasks` (bin "rust-llm-tasks" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "9093a7b1fd9705ee36b751b1f1aac87c9922be1b6e4c8cf4f45beb6a9ba907e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9093a7b1fd9705ee36b751b1f1aac87c9922be1b6e4c8cf4f45beb6a9ba907e5", kill_on_drop: false }` [INFO] [stdout] 9093a7b1fd9705ee36b751b1f1aac87c9922be1b6e4c8cf4f45beb6a9ba907e5