[INFO] cloning repository https://github.com/ha1o0/learn-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ha1o0/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fha1o0%2Flearn-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fha1o0%2Flearn-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 846c7a76aeffcf18ec77fd4f186baf31b4e5ca03
[INFO] checking ha1o0/learn-rust against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fha1o0%2Flearn-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ha1o0/learn-rust
[INFO] finished tweaking git repo https://github.com/ha1o0/learn-rust
[INFO] tweaked toml for git repo https://github.com/ha1o0/learn-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ha1o0/learn-rust on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ha1o0/learn-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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tonic-build v0.9.2
[INFO] [stderr]   Downloaded h2 v0.3.18
[INFO] [stderr]   Downloaded rustix v0.37.17
[INFO] [stderr]   Downloaded tokio v1.28.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.3.6
[INFO] [stderr]   Downloaded axum v0.6.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 82a1ef78731491edb5fcb226fee589dc1c28eb25510e7588dfd4247685aa6ec0
[INFO] running `Command { std: "docker" "start" "-a" "82a1ef78731491edb5fcb226fee589dc1c28eb25510e7588dfd4247685aa6ec0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82a1ef78731491edb5fcb226fee589dc1c28eb25510e7588dfd4247685aa6ec0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82a1ef78731491edb5fcb226fee589dc1c28eb25510e7588dfd4247685aa6ec0", kill_on_drop: false }`
[INFO] [stdout] 82a1ef78731491edb5fcb226fee589dc1c28eb25510e7588dfd4247685aa6ec0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2fb08e64a5cd84f7cf7f439e24efaf1b643e8c0539a8b8ec1e3bc8b16e698666
[INFO] running `Command { std: "docker" "start" "-a" "2fb08e64a5cd84f7cf7f439e24efaf1b643e8c0539a8b8ec1e3bc8b16e698666", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling tokio v1.28.0
[INFO] [stderr]    Compiling anyhow v1.0.70
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling io-lifetimes v1.0.10
[INFO] [stderr]    Compiling rustix v0.37.17
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling linux-raw-sys v0.3.6
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking mio v0.8.6
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling petgraph v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling axum v0.6.17
[INFO] [stderr]     Checking matchit v0.7.0
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking iana-time-zone v0.1.56
[INFO] [stderr]     Checking chrono v0.4.24
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling tempfile v3.5.0
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.24
[INFO] [stderr]    Compiling async-trait v0.1.68
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]    Compiling tonic-build v0.9.2
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking h2 v0.3.18
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling learn-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking hyper v0.14.26
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking tonic v0.9.2
[INFO] [stdout] warning: variable `y` is assigned to, but never used
[INFO] [stdout]   --> src/base_type_4_1.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut y = 5;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_y` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/base_type_4_1.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     y = x;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/base_type_4_2.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let v = (2, 3);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_option` is never used
[INFO] [stdout]   --> src/base_type_4_4.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn get_option(tp: u8) -> Option<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: function `never_return_fn` is never used
[INFO] [stdout]   --> src/base_type_4_4.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn never_return_fn() -> ! {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/test_1.rs:104:10
[INFO] [stdout]     |
[INFO] [stdout] 104 |     Ipv4(String),
[INFO] [stdout]     |     ---- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Ip` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 104 -     Ipv4(String),
[INFO] [stdout] 104 +     Ipv4(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ipv6` is never constructed
[INFO] [stdout]    --> src/test_1.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | enum Ip {
[INFO] [stdout]     |      -- variant in this enum
[INFO] [stdout] 104 |     Ipv4(String),
[INFO] [stdout] 105 |     Ipv6(String),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Ip` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> src/base_type_4_3.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         2 * x;
[INFO] [stdout]    |         ^^^^^ the arithmetic operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let _ = 2 * x;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     V4(String),
[INFO] [stdout]    |     -- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddr` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 41 -     V4(String),
[INFO] [stdout] 41 +     V4(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     V6(String),
[INFO] [stdout]    |     -- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 42 -     V6(String),
[INFO] [stdout] 42 +     V6(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y` is assigned to, but never used
[INFO] [stdout]   --> src/base_type_4_1.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut y = 5;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_y` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/base_type_4_1.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     y = x;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/base_type_4_2.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let v = (2, 3);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     V4(String),
[INFO] [stdout]    |     -- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddr` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 41 -     V4(String),
[INFO] [stdout] 41 +     V4(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     V6(String),
[INFO] [stdout]    |     -- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 42 -     V6(String),
[INFO] [stdout] 42 +     V6(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_option` is never used
[INFO] [stdout]   --> src/base_type_4_4.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn get_option(tp: u8) -> Option<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: function `never_return_fn` is never used
[INFO] [stdout]   --> src/base_type_4_4.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn never_return_fn() -> ! {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/test_1.rs:104:10
[INFO] [stdout]     |
[INFO] [stdout] 104 |     Ipv4(String),
[INFO] [stdout]     |     ---- ^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Ip` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 104 -     Ipv4(String),
[INFO] [stdout] 104 +     Ipv4(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ipv6` is never constructed
[INFO] [stdout]    --> src/test_1.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | enum Ip {
[INFO] [stdout]     |      -- variant in this enum
[INFO] [stdout] 104 |     Ipv4(String),
[INFO] [stdout] 105 |     Ipv6(String),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Ip` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> src/base_type_4_3.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         2 * x;
[INFO] [stdout]    |         ^^^^^ the arithmetic operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let _ = 2 * x;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.81s
[INFO] running `Command { std: "docker" "inspect" "2fb08e64a5cd84f7cf7f439e24efaf1b643e8c0539a8b8ec1e3bc8b16e698666", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fb08e64a5cd84f7cf7f439e24efaf1b643e8c0539a8b8ec1e3bc8b16e698666", kill_on_drop: false }`
[INFO] [stdout] 2fb08e64a5cd84f7cf7f439e24efaf1b643e8c0539a8b8ec1e3bc8b16e698666
