[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] testing DaviRain-Su/releran-rust against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaviRain-Su%2Freleran-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DaviRain-Su/releran-rust on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc2/source/Cargo.toml
[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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1027e27169fb33cabc4503f69427a5257872940203d292419a367226b75cc910
[INFO] running `Command { std: "docker" "start" "-a" "1027e27169fb33cabc4503f69427a5257872940203d292419a367226b75cc910", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1027e27169fb33cabc4503f69427a5257872940203d292419a367226b75cc910", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1027e27169fb33cabc4503f69427a5257872940203d292419a367226b75cc910", kill_on_drop: false }`
[INFO] [stdout] 1027e27169fb33cabc4503f69427a5257872940203d292419a367226b75cc910
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85a676a1b8136a1861ad604a7d36b3dcd9df1279bd73e9d340bab9d34ceb7e73
[INFO] running `Command { std: "docker" "start" "-a" "85a676a1b8136a1861ad604a7d36b3dcd9df1279bd73e9d340bab9d34ceb7e73", kill_on_drop: false }`
[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 typenum v1.16.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.51
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.93
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling anyhow v1.0.69
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling rust-in-action v0.1.0 (/opt/rustwide/workdir/rust-in-action)
[INFO] [stderr]    Compiling iana-time-zone v0.1.53
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling tour-of-rust v0.1.0 (/opt/rustwide/workdir/tour-of-rust)
[INFO] [stderr]    Compiling rust-algorithms v0.1.0 (/opt/rustwide/workdir/rust-algorithms)
[INFO] [stderr]    Compiling time v0.3.20
[INFO] [stderr]    Compiling programming-rust v0.1.0 (/opt/rustwide/workdir/programming-rust)
[INFO] [stderr]    Compiling rust-for-rustaceans v0.1.0 (/opt/rustwide/workdir/rust-for-rustaceans/rust-for-rustaceans)
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-complex v0.4.3
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling primitive-types v0.12.1
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling build-blockchain-in-rust v0.1.0 (/opt/rustwide/workdir/build-blockchain-in-rust)
[INFO] [stderr]    Compiling cs251-cbt v0.1.0 (/opt/rustwide/workdir/cs251-cbt)
[INFO] [stderr]    Compiling basic v0.1.0 (/opt/rustwide/workdir/rust-pratice/basic)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.40s
[INFO] running `Command { std: "docker" "inspect" "85a676a1b8136a1861ad604a7d36b3dcd9df1279bd73e9d340bab9d34ceb7e73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85a676a1b8136a1861ad604a7d36b3dcd9df1279bd73e9d340bab9d34ceb7e73", kill_on_drop: false }`
[INFO] [stdout] 85a676a1b8136a1861ad604a7d36b3dcd9df1279bd73e9d340bab9d34ceb7e73
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 846f6419dd0780a4a4027f104946d584f08dbae3b973fee8be9a4a28c0c801a4
[INFO] running `Command { std: "docker" "start" "-a" "846f6419dd0780a4a4027f104946d584f08dbae3b973fee8be9a4a28c0c801a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-in-action v0.1.0 (/opt/rustwide/workdir/rust-in-action)
[INFO] [stderr]    Compiling programming-rust v0.1.0 (/opt/rustwide/workdir/programming-rust)
[INFO] [stderr]    Compiling basic v0.1.0 (/opt/rustwide/workdir/rust-pratice/basic)
[INFO] [stderr]    Compiling build-blockchain-in-rust v0.1.0 (/opt/rustwide/workdir/build-blockchain-in-rust)
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> rust-in-action/examples/array_get.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let a = fruit[4];
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Millet`, `Rice`, `Rye`, `Spelt`, and `Wheat` are never constructed
[INFO] [stdout]  --> rust-in-action/examples/used_after_move.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Cereal {
[INFO] [stdout]   |      ------ variants in this enum
[INFO] [stdout] 3 |     Barley, 
[INFO] [stdout] 4 |     Millet, 
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 5 |     Rice,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     Rye,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 7 |     Spelt,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     Wheat
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Cereal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `letters`
[INFO] [stdout]  --> rust-in-action/examples/iterator_error.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut letters = vec!["a", "b", "c"];
[INFO] [stdout]   |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_letters`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> rust-in-action/examples/iterator_error.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut letters = vec!["a", "b", "c"];
[INFO] [stdout]   |         ----^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> rust-in-action/examples/data_race.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> rust-in-action/examples/data_race.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cs251-cbt v0.1.0 (/opt/rustwide/workdir/cs251-cbt)
[INFO] [stderr]    Compiling rust-for-rustaceans v0.1.0 (/opt/rustwide/workdir/rust-for-rustaceans/rust-for-rustaceans)
[INFO] [stderr]    Compiling tour-of-rust v0.1.0 (/opt/rustwide/workdir/tour-of-rust)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-algorithms v0.1.0 (/opt/rustwide/workdir/rust-algorithms)
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[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] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0506`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-for-rustaceans` (bin "rust-for-rustaceans" test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "846f6419dd0780a4a4027f104946d584f08dbae3b973fee8be9a4a28c0c801a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "846f6419dd0780a4a4027f104946d584f08dbae3b973fee8be9a4a28c0c801a4", kill_on_drop: false }`
[INFO] [stdout] 846f6419dd0780a4a4027f104946d584f08dbae3b973fee8be9a4a28c0c801a4
