[INFO] cloning repository https://github.com/Tarasqua/rustam
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tarasqua/rustam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTarasqua%2Frustam", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTarasqua%2Frustam'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 299a34039062018a01d5262988e611354f3a964e
[INFO] checking Tarasqua/rustam against e3d12f3322cb00126b2208c6b9df3ac4467951f5 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTarasqua%2Frustam" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Tarasqua/rustam
[INFO] finished tweaking git repo https://github.com/Tarasqua/rustam
[INFO] tweaked toml for git repo https://github.com/Tarasqua/rustam written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Tarasqua/rustam on toolchain e3d12f3322cb00126b2208c6b9df3ac4467951f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Tarasqua/rustam 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" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 22a4fcd967d0e2ab75e2f35f580267fa972df022625acd5de30479b0a59a80b5
[INFO] running `Command { std: "docker" "start" "22a4fcd967d0e2ab75e2f35f580267fa972df022625acd5de30479b0a59a80b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22a4fcd967d0e2ab75e2f35f580267fa972df022625acd5de30479b0a59a80b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "22a4fcd967d0e2ab75e2f35f580267fa972df022625acd5de30479b0a59a80b5" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22a4fcd967d0e2ab75e2f35f580267fa972df022625acd5de30479b0a59a80b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "22a4fcd967d0e2ab75e2f35f580267fa972df022625acd5de30479b0a59a80b5" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking clap_lex v1.0.0
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking criterion-plot v0.8.2
[INFO] [stderr]     Checking restaurant v0.1.0 (/opt/rustwide/workdir/restaurant)
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stdout] warning: function `add_to_waitlist` is never used
[INFO] [stdout]   --> restaurant/src/lib.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |         fn add_to_waitlist() {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `seat_at_table` is never used
[INFO] [stdout]   --> restaurant/src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |         fn seat_at_table() {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_order` is never used
[INFO] [stdout]   --> restaurant/src/lib.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         fn take_order() {}
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_order` is never used
[INFO] [stdout]   --> restaurant/src/lib.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |         fn serve_order() {}
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_payment` is never used
[INFO] [stdout]   --> restaurant/src/lib.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |         fn take_payment() {}
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking clap_builder v4.5.60
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking page_size v0.6.0
[INFO] [stderr]    Compiling alloca v0.4.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking clap v4.5.60
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling zerocopy-derive v0.8.39
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking criterion v0.8.2
[INFO] [stderr]     Checking otus_2 v0.1.0 (/opt/rustwide/workdir/otus_2)
[INFO] [stdout] error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> otus_2/src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let x = v.get(0);
[INFO] [stdout]    |             - immutable borrow occurs here
[INFO] [stdout] 20 |     v.push(4);
[INFO] [stdout]    |     ^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 21 |     println!("{x:?}");
[INFO] [stdout]    |                - immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `otus_2` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "22a4fcd967d0e2ab75e2f35f580267fa972df022625acd5de30479b0a59a80b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22a4fcd967d0e2ab75e2f35f580267fa972df022625acd5de30479b0a59a80b5", kill_on_drop: false }`
[INFO] [stdout] 22a4fcd967d0e2ab75e2f35f580267fa972df022625acd5de30479b0a59a80b5
