[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] building qbosen/rust-learn against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqbosen%2Frust-learn" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qbosen/rust-learn on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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 [ERROR] error running command: no output for 300 seconds [INFO] building qbosen/rust-learn against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqbosen%2Frust-learn" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qbosen/rust-learn on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 220035c43783738ca740104a0c4771bf49741417c6c31d11aa051a3b85320738 [INFO] running `Command { std: "docker" "start" "-a" "220035c43783738ca740104a0c4771bf49741417c6c31d11aa051a3b85320738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "220035c43783738ca740104a0c4771bf49741417c6c31d11aa051a3b85320738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220035c43783738ca740104a0c4771bf49741417c6c31d11aa051a3b85320738", kill_on_drop: false }` [INFO] [stdout] 220035c43783738ca740104a0c4771bf49741417c6c31d11aa051a3b85320738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8d0756e61b2c358536ee0fc2cea023b1de2c669c7dae094cf956a21055e19b9 [INFO] running `Command { std: "docker" "start" "-a" "b8d0756e61b2c358536ee0fc2cea023b1de2c669c7dae094cf956a21055e19b9", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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] = note: `Gender` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `UserId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] = note: `TopicId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] = 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: 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] = 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: 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] = 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.11s [INFO] running `Command { std: "docker" "inspect" "b8d0756e61b2c358536ee0fc2cea023b1de2c669c7dae094cf956a21055e19b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8d0756e61b2c358536ee0fc2cea023b1de2c669c7dae094cf956a21055e19b9", kill_on_drop: false }` [INFO] [stdout] b8d0756e61b2c358536ee0fc2cea023b1de2c669c7dae094cf956a21055e19b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0521c55f2983813810cb532324e580bee8d7db18ea274a5b7b06a69575f91b63 [INFO] running `Command { std: "docker" "start" "-a" "0521c55f2983813810cb532324e580bee8d7db18ea274a5b7b06a69575f91b63", kill_on_drop: false }` [INFO] [stderr] Compiling rust-learn v0.1.0 (/opt/rustwide/workdir) [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)]` 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "0521c55f2983813810cb532324e580bee8d7db18ea274a5b7b06a69575f91b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0521c55f2983813810cb532324e580bee8d7db18ea274a5b7b06a69575f91b63", kill_on_drop: false }` [INFO] [stdout] 0521c55f2983813810cb532324e580bee8d7db18ea274a5b7b06a69575f91b63