[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#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaviRain-Su%2Freleran-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DaviRain-Su/releran-rust on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "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] [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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f16f79c28c70582323a5e7aa73774d49766a03416b5bb6a444fb82a52568aea
[INFO] running `Command { std: "docker" "start" "-a" "8f16f79c28c70582323a5e7aa73774d49766a03416b5bb6a444fb82a52568aea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f16f79c28c70582323a5e7aa73774d49766a03416b5bb6a444fb82a52568aea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f16f79c28c70582323a5e7aa73774d49766a03416b5bb6a444fb82a52568aea", kill_on_drop: false }`
[INFO] [stdout] 8f16f79c28c70582323a5e7aa73774d49766a03416b5bb6a444fb82a52568aea
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eae7e4a6d2120f05a8d97b09a978b309a96d0991f6f85594df52ed83867b37e1
[INFO] running `Command { std: "docker" "start" "-a" "eae7e4a6d2120f05a8d97b09a978b309a96d0991f6f85594df52ed83867b37e1", 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 num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-rational v0.4.1
[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_json v1.0.93
[INFO] [stderr]     Checking num-complex v0.4.3
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking anyhow v1.0.69
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking iana-time-zone v0.1.53
[INFO] [stderr]     Checking time v0.3.20
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking programming-rust v0.1.0 (/opt/rustwide/workdir/programming-rust)
[INFO] [stderr]     Checking tour-of-rust v0.1.0 (/opt/rustwide/workdir/tour-of-rust)
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LineColumn` in crate `proc_macro`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.51/src/wrapper.rs:475:33
[INFO] [stdout]     |
[INFO] [stdout] 475 |                 let proc_macro::LineColumn { line, column } = s.start();
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in `proc_macro`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::LineColumn;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `LineColumn`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 475 -                 let proc_macro::LineColumn { line, column } = s.start();
[INFO] [stdout] 475 +                 let LineColumn { line, column } = s.start();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LineColumn` in crate `proc_macro`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.51/src/wrapper.rs:489:33
[INFO] [stdout]     |
[INFO] [stdout] 489 |                 let proc_macro::LineColumn { line, column } = s.end();
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in `proc_macro`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::LineColumn;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `LineColumn`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 489 -                 let proc_macro::LineColumn { line, column } = s.end();
[INFO] [stdout] 489 +                 let LineColumn { line, column } = s.end();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rust-for-rustaceans v0.1.0 (/opt/rustwide/workdir/rust-for-rustaceans/rust-for-rustaceans)
[INFO] [stdout] error[E0635]: unknown feature `proc_macro_span_shrink`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.51/src/lib.rs:92:30
[INFO] [stdout]    |
[INFO] [stdout] 92 |     feature(proc_macro_span, proc_macro_span_shrink)
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rust-algorithms v0.1.0 (/opt/rustwide/workdir/rust-algorithms)
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]     Checking chrono v0.4.23
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]    --> tour-of-rust/src/chapter3_basic_data_struct_types.rs:161:25
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub struct Location(i32, i32);
[INFO] [stdout]     |                -------- ^^^  ^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                fields in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing these fields
[INFO] [stdout]     = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tour-of-rust/src/chapter5_ownership_borrowing_data.rs:350:36
[INFO] [stdout]     |
[INFO] [stdout] 350 |             println!("SECRET: {}", SECRET);
[INFO] [stdout]     |                                    ^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tour-of-rust/src/chapter5_ownership_borrowing_data.rs:363:37
[INFO] [stdout]     |
[INFO] [stdout] 363 |             println!("SECRET = {}", SECRET);
[INFO] [stdout]     |                                     ^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]    --> tour-of-rust/src/chapter3_basic_data_struct_types.rs:161:25
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub struct Location(i32, i32);
[INFO] [stdout]     |                -------- ^^^  ^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                fields in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing these fields
[INFO] [stdout]     = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tour-of-rust/src/chapter5_ownership_borrowing_data.rs:350:36
[INFO] [stdout]     |
[INFO] [stdout] 350 |             println!("SECRET: {}", SECRET);
[INFO] [stdout]     |                                    ^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tour-of-rust/src/chapter5_ownership_borrowing_data.rs:363:37
[INFO] [stdout]     |
[INFO] [stdout] 363 |             println!("SECRET = {}", SECRET);
[INFO] [stdout]     |                                     ^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stdout] Some errors have detailed explanations: E0422, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[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] [stdout] For more information about this error, try `rustc --explain E0506`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-for-rustaceans` (bin "rust-for-rustaceans" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "eae7e4a6d2120f05a8d97b09a978b309a96d0991f6f85594df52ed83867b37e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eae7e4a6d2120f05a8d97b09a978b309a96d0991f6f85594df52ed83867b37e1", kill_on_drop: false }`
[INFO] [stdout] eae7e4a6d2120f05a8d97b09a978b309a96d0991f6f85594df52ed83867b37e1
