[INFO] cloning repository https://github.com/qbosen/rust-learn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qbosen/rust-learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqbosen%2Frust-learn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqbosen%2Frust-learn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb5ccfd0fbb076c1369786e375c22c698e5cc348
[INFO] checking qbosen/rust-learn against 1.95.0-beta.7 for beta-1.95-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqbosen%2Frust-learn" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/qbosen/rust-learn
[INFO] finished tweaking git repo https://github.com/qbosen/rust-learn
[INFO] tweaked toml for git repo https://github.com/qbosen/rust-learn written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/qbosen/rust-learn on toolchain 1.95.0-beta.7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/qbosen/rust-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" "+1.95.0-beta.7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9b6f294c6b5a65371321dc5b7116f62a67c6ff260b403162e050a7bfdcdb022
[INFO] running `Command { std: "docker" "start" "-a" "c9b6f294c6b5a65371321dc5b7116f62a67c6ff260b403162e050a7bfdcdb022", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9b6f294c6b5a65371321dc5b7116f62a67c6ff260b403162e050a7bfdcdb022", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9b6f294c6b5a65371321dc5b7116f62a67c6ff260b403162e050a7bfdcdb022", kill_on_drop: false }`
[INFO] [stdout] c9b6f294c6b5a65371321dc5b7116f62a67c6ff260b403162e050a7bfdcdb022
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c268f8816135d221e9999f936bf47bab616843030904fcf25f9481601ba6164a
[INFO] running `Command { std: "docker" "start" "-a" "c268f8816135d221e9999f936bf47bab616843030904fcf25f9481601ba6164a", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: static `MAX` is never used
[INFO] [stdout]   --> src/memory_address.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | static MAX: u32 = 0;
[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 `foo` is never used
[INFO] [stdout]   --> src/memory_address.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn foo() {}
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]  --> src/base_learns.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn apply(value: i32, f: fn(i32) -> i32) -> i32 {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square` is never used
[INFO] [stdout]  --> src/base_learns.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn square(value: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cube` is never used
[INFO] [stdout]  --> src/base_learns.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn cube(value: i32) -> i32 {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pi` is never used
[INFO] [stdout]   --> src/base_learns.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn pi() -> f64 {
[INFO] [stdout]    |    ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `not_pi` is never used
[INFO] [stdout]   --> src/base_learns.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn not_pi() {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Gender` is never used
[INFO] [stdout]   --> src/base_learns.rs:41:6
[INFO] [stdout]    |
[INFO] [stdout] 41 | enum Gender {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserId` is never constructed
[INFO] [stdout]   --> src/base_learns.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct UserId(u64);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TopicId` is never constructed
[INFO] [stdout]   --> src/base_learns.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct TopicId(u64);
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/base_learns.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Topic` is never constructed
[INFO] [stdout]   --> src/base_learns.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct Topic {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Event` is never used
[INFO] [stdout]   --> src/base_learns.rs:69:6
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Event {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unspecified` is never constructed
[INFO] [stdout]   --> src/base_learns.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | enum Gender {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] 42 |     Unspecified = 0,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Gender` 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]   --> src/base_learns.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct UserId(u64);
[INFO] [stdout]    |        ------ ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `UserId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/base_learns.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct TopicId(u64);
[INFO] [stdout]    |        ------- ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `TopicId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `gender` are never read
[INFO] [stdout]   --> src/base_learns.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct User {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 55 |     id: UserId,
[INFO] [stdout] 56 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 57 |     gender: Gender,
[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: fields `name` and `owner` are never read
[INFO] [stdout]   --> src/base_learns.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct Topic {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 62 |     id: TopicId,
[INFO] [stdout] 63 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 64 |     owner: UserId,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Topic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/base_learns.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 |     Join((UserId, TopicId)),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Event` 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] 70 -     Join((UserId, TopicId)),
[INFO] [stdout] 70 +     Join(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/base_learns.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |     Message((UserId, TopicId, String)),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Event` 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] 72 -     Message((UserId, TopicId, String)),
[INFO] [stdout] 72 +     Message(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Leave` is never constructed
[INFO] [stdout]   --> src/base_learns.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | enum Event {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 70 |     Join((UserId, TopicId)),
[INFO] [stdout] 71 |     Leave((UserId, TopicId)),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] running `Command { std: "docker" "inspect" "c268f8816135d221e9999f936bf47bab616843030904fcf25f9481601ba6164a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c268f8816135d221e9999f936bf47bab616843030904fcf25f9481601ba6164a", kill_on_drop: false }`
[INFO] [stdout] c268f8816135d221e9999f936bf47bab616843030904fcf25f9481601ba6164a
