[INFO] cloning repository https://github.com/DaviRain-Su/releran-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaviRain-Su/releran-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaviRain-Su%2Freleran-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaviRain-Su%2Freleran-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 31ef81175cd386d26f2c21d27d85a510f02c6aa2
[INFO] checking DaviRain-Su/releran-rust against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaviRain-Su%2Freleran-rust" "/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/DaviRain-Su/releran-rust
[INFO] finished tweaking git repo https://github.com/DaviRain-Su/releran-rust
[INFO] tweaked toml for git repo https://github.com/DaviRain-Su/releran-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DaviRain-Su/releran-rust on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DaviRain-Su/releran-rust 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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 773e25a08da38483344a09c150b5f7e1d404079c5c709f7f99269be0a16476fe
[INFO] running `Command { std: "docker" "start" "-a" "773e25a08da38483344a09c150b5f7e1d404079c5c709f7f99269be0a16476fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "773e25a08da38483344a09c150b5f7e1d404079c5c709f7f99269be0a16476fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "773e25a08da38483344a09c150b5f7e1d404079c5c709f7f99269be0a16476fe", kill_on_drop: false }`
[INFO] [stdout] 773e25a08da38483344a09c150b5f7e1d404079c5c709f7f99269be0a16476fe
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4c489e9e2847946276ef940f0e48e0af65430ec8281338e7ffe9ba59a427b15
[INFO] running `Command { std: "docker" "start" "-a" "a4c489e9e2847946276ef940f0e48e0af65430ec8281338e7ffe9ba59a427b15", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling proc-macro2 v1.0.51
[INFO] [stderr]    Compiling rust-in-action v0.1.0 (/opt/rustwide/workdir/rust-in-action)
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling anyhow v1.0.69
[INFO] [stderr]    Compiling serde_json v1.0.93
[INFO] [stderr]     Checking ryu v1.0.12
[INFO] [stderr]     Checking itoa v1.0.5
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking cpufeatures v0.2.5
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking iana-time-zone v0.1.53
[INFO] [stderr]     Checking time-core v0.1.0
[INFO] [stderr]     Checking programming-rust v0.1.0 (/opt/rustwide/workdir/programming-rust)
[INFO] [stderr]     Checking rust-for-rustaceans v0.1.0 (/opt/rustwide/workdir/rust-for-rustaceans/rust-for-rustaceans)
[INFO] [stderr]     Checking time v0.3.20
[INFO] [stderr]     Checking rust-algorithms v0.1.0 (/opt/rustwide/workdir/rust-algorithms)
[INFO] [stdout] error[E0506]: cannot assign to `x` because it is borrowed
[INFO] [stdout]   --> rust-for-rustaceans/rust-for-rustaceans/src/ch1.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let y = &x; // ^2
[INFO] [stdout]    |             -- `x` is borrowed here
[INFO] [stdout] 23 |     // this establishes a scond, mutable flow from x:
[INFO] [stdout] 24 |     x = 43; // ^3 error 根据借用规则 这里也是不允许的
[INFO] [stdout]    |     ^^^^^^ `x` is assigned to here but it was already borrowed
[INFO] [stdout] ...
[INFO] [stdout] 27 |     assert_eq!(*y, 42); // ^4
[INFO] [stdout]    |     ------------------ borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-for-rustaceans` (bin "rust-for-rustaceans" test) due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0506`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "a4c489e9e2847946276ef940f0e48e0af65430ec8281338e7ffe9ba59a427b15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4c489e9e2847946276ef940f0e48e0af65430ec8281338e7ffe9ba59a427b15", kill_on_drop: false }`
[INFO] [stdout] a4c489e9e2847946276ef940f0e48e0af65430ec8281338e7ffe9ba59a427b15
