[INFO] cloning repository https://github.com/CreatorsDAO/rust-co-learn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CreatorsDAO/rust-co-learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreatorsDAO%2Frust-co-learn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreatorsDAO%2Frust-co-learn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 02a2a2141c7fcc577d410c161831138f3ec45bfb
[INFO] checking CreatorsDAO/rust-co-learn against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreatorsDAO%2Frust-co-learn" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CreatorsDAO/rust-co-learn
[INFO] finished tweaking git repo https://github.com/CreatorsDAO/rust-co-learn
[INFO] tweaked toml for git repo https://github.com/CreatorsDAO/rust-co-learn written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CreatorsDAO/rust-co-learn on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CreatorsDAO/rust-co-learn 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dd20c8217a507229dd3c348359daf236ce80f39665598ce55fc75f8a6b756cfb
[INFO] running `Command { std: "docker" "start" "-a" "dd20c8217a507229dd3c348359daf236ce80f39665598ce55fc75f8a6b756cfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd20c8217a507229dd3c348359daf236ce80f39665598ce55fc75f8a6b756cfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd20c8217a507229dd3c348359daf236ce80f39665598ce55fc75f8a6b756cfb", kill_on_drop: false }`
[INFO] [stdout] dd20c8217a507229dd3c348359daf236ce80f39665598ce55fc75f8a6b756cfb
[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=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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e315b0adcfef2c2d53dadb5f6c67eb804d361332a23afdef564db679fe1f07be
[INFO] running `Command { std: "docker" "start" "-a" "e315b0adcfef2c2d53dadb5f6c67eb804d361332a23afdef564db679fe1f07be", 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 proc-macro2 v1.0.63
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]     Checking pin-project-lite v0.2.10
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]     Checking itoa v1.0.8
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling openssl v0.10.55
[INFO] [stderr]     Checking unicode-ident v1.0.8
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling serde v1.0.168
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling quote v1.0.29
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]    Compiling openssl-sys v0.9.90
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling serde_json v1.0.100
[INFO] [stderr]     Checking ryu v1.0.14
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking encoding_rs v0.8.32
[INFO] [stderr]     Checking ipnet v2.8.0
[INFO] [stderr]     Checking base64 v0.21.2
[INFO] [stderr]     Checking url v2.4.0
[INFO] [stderr]     Checking module-three v0.1.0 (/opt/rustwide/workdir/module-three)
[INFO] [stderr]     Checking module-two v0.1.0 (/opt/rustwide/workdir/module-two)
[INFO] [stderr]     Checking module_one v0.1.0 (/opt/rustwide/workdir/module-one)
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> module-one/src/comment/comment.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn add(x: i32, y: i32) -> i32 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> module-three/examples/main.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let mut user = User {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> module-three/examples/main.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let s = "rust".to_string();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]   --> module-three/examples/main.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let num = Box::new(100);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> module-three/examples/main.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let v = [1, 2, 3, 4];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]    --> module-three/examples/main.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let mut user = User {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ref_my_box`
[INFO] [stdout]    --> module-three/examples/main.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let ref_my_box = *m; // 实现了 Deref trait的智能指针可以使用 * 直接解引用到内部的值,
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_my_box`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ref_my_box`
[INFO] [stdout]    --> module-three/examples/main.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let ref_my_box = *(m.deref());
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_my_box`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> module-three/examples/main.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |     struct A(i32);
[INFO] [stdout]    |            - ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `A` 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: field `0` is never read
[INFO] [stdout]   --> module-three/examples/main.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |     struct B(i32);
[INFO] [stdout]    |            - ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]    --> module-three/examples/main.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     struct User {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 109 |         name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 110 |         age: u32,
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> module-one/src/comment/comment.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn add(x: i32, y: i32) -> i32 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking attribute-macro v0.1.0 (/opt/rustwide/workdir/attribute-macro)
[INFO] [stderr]     Checking derive-macro v0.1.0 (/opt/rustwide/workdir/derive-macro)
[INFO] [stderr]     Checking function-like-macro v0.1.0 (/opt/rustwide/workdir/function-like-macro)
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.168
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]     Checking module-six v0.1.0 (/opt/rustwide/workdir/module-six)
[INFO] [stderr]     Checking module-four v0.1.0 (/opt/rustwide/workdir/module-four)
[INFO] [stdout] warning: function `doc_test` is never used
[INFO] [stdout]   --> module-four/src/project_tests/doc_test.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn doc_test() {}
[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 `doc_test` is never used
[INFO] [stdout]   --> module-four/src/project_tests/doc_test.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn doc_test() {}
[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 `read_file` is never used
[INFO] [stdout]   --> module-four/examples/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn read_file(path: &str) -> Result<File, Error> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> module-four/examples/main.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rectangle {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]   --> module-four/examples/main.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Rectangle {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 32 |     fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> module-four/examples/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Guess {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 42 |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.20
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stdout] error: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.27/src/proto/h2/mod.rs:452:5
[INFO] [stdout]     |
[INFO] [stdout] 452 |     impossible: Impossible,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this field contains `Impossible`, which is not inhabited, and makes it not a breaking change to become non-zero-sized in the future.
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hyper` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "e315b0adcfef2c2d53dadb5f6c67eb804d361332a23afdef564db679fe1f07be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e315b0adcfef2c2d53dadb5f6c67eb804d361332a23afdef564db679fe1f07be", kill_on_drop: false }`
[INFO] [stdout] e315b0adcfef2c2d53dadb5f6c67eb804d361332a23afdef564db679fe1f07be
