[INFO] cloning repository https://github.com/dragon-zhang/rust-study
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dragon-zhang/rust-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] de588d312d38270a3dbf9713b8fffcc6fec6aa87
[INFO] testing dragon-zhang/rust-study against 1.69.0 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dragon-zhang/rust-study on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dragon-zhang/rust-study
[INFO] finished tweaking git repo https://github.com/dragon-zhang/rust-study
[INFO] tweaked toml for git repo https://github.com/dragon-zhang/rust-study written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/dragon-zhang/rust-study 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" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded deadpool v0.9.5
[INFO] [stderr]   Downloaded priority-queue v1.2.2
[INFO] [stderr]   Downloaded context v2.1.0
[INFO] [stderr]   Downloaded gimli v0.27.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ee865faeb84195d35358314fc94f125d3d25778bad2b0605fe230310853654e8
[INFO] running `Command { std: "docker" "start" "-a" "ee865faeb84195d35358314fc94f125d3d25778bad2b0605fe230310853654e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee865faeb84195d35358314fc94f125d3d25778bad2b0605fe230310853654e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee865faeb84195d35358314fc94f125d3d25778bad2b0605fe230310853654e8", kill_on_drop: false }`
[INFO] [stdout] ee865faeb84195d35358314fc94f125d3d25778bad2b0605fe230310853654e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4222234603883698deeab2eced15b056f0c6ae72c6a1f1c40f5f501c1fa0ddc
[INFO] running `Command { std: "docker" "start" "-a" "c4222234603883698deeab2eced15b056f0c6ae72c6a1f1c40f5f501c1fa0ddc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling tokio v1.25.0
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.12
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling proc-macro-error v0.4.12
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling getrandom v0.2.4
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling backtrace v0.3.67
[INFO] [stderr]    Compiling priority-queue v1.2.2
[INFO] [stderr]    Compiling gimli v0.27.1
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling object v0.30.3
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling retain_mut v0.1.9
[INFO] [stderr]    Compiling deadpool-runtime v0.1.2
[INFO] [stderr]    Compiling genawaiter-macro v0.99.1
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.21
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.6
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling syn-mid v0.5.3
[INFO] [stderr]    Compiling addr2line v0.19.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling genawaiter-proc-macro v0.99.1
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling genawaiter v0.99.1
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tokio-retry v0.3.0
[INFO] [stderr]    Compiling deadpool v0.9.5
[INFO] [stderr]    Compiling h2 v0.3.11
[INFO] [stderr]    Compiling hyper v0.14.16
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.9
[INFO] [stderr]    Compiling rust-study v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `f2` is never read
[INFO] [stdout]   --> src/lib.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub struct Struct {
[INFO] [stdout]    |                ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |         f2: u32,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]   --> src/bin/43backtrace.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let ip = frame.ip();
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fiber`
[INFO] [stdout]   --> src/bin/fiber.rs:30:34
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let fiber = Fiber::new(move |fiber, param| {
[INFO] [stdout]    |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_fiber`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/bin/fiber.rs:30:41
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let fiber = Fiber::new(move |fiber, param| {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Color` is never constructed
[INFO] [stdout]   --> src/bin/06struct.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct Color(i32, i32, i32);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InnerUser` is never constructed
[INFO] [stdout]   --> src/bin/06struct.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct InnerUser<'a> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_account` is never used
[INFO] [stdout]   --> src/bin/06struct.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn get_account(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_password` is never used
[INFO] [stdout]   --> src/bin/06struct.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_password(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `sockaddr_in` has no field named `sin_len`
[INFO] [stdout]   --> src/bin/33socket_client.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |             sin_len: 0,
[INFO] [stdout]    |             ^^^^^^^ `sockaddr_in` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `sin_family`, `sin_port`, `sin_addr`, `sin_zero`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/13life_circle.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |         let s = String::from("hello");
[INFO] [stdout]   |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `current` and `next` are never read
[INFO] [stdout]  --> src/bin/40generic_list.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Node<C, N> {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 3 |     current: C,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 4 |     next: N,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` 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: function `dangling_reference` is never used
[INFO] [stdout]  --> src/bin/13life_circle.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn dangling_reference() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longer2` is never used
[INFO] [stdout]   --> src/bin/13life_circle.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn longer2(x: &'static str, y: &'static str) -> &'static str {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/33socket_client.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 |             sin_family: c::AF_INET as u8,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ expected `u16`, found `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/39pool.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut conn = pool.get().await.unwrap();
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/39pool.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut conn = pool.get().await.unwrap();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/bin/21weak.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 6  |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` 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] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0560.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Fail` is never constructed
[INFO] [stdout]  --> src/bin/39pool.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum Error { Fail }
[INFO] [stdout]   |      -----   ^^^^
[INFO] [stdout]   |      |
[INFO] [stdout]   |      variant in this enum
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Error` 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] [stderr] error: could not compile `rust-study` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c4222234603883698deeab2eced15b056f0c6ae72c6a1f1c40f5f501c1fa0ddc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4222234603883698deeab2eced15b056f0c6ae72c6a1f1c40f5f501c1fa0ddc", kill_on_drop: false }`
[INFO] [stdout] c4222234603883698deeab2eced15b056f0c6ae72c6a1f1c40f5f501c1fa0ddc
