[INFO] fetching crate unit10 0.1.0... [INFO] checking unit10-0.1.0 against master#d93f678fa55842cccd2f091deccd93e9494b3764 for pr-138844 [INFO] extracting crate unit10 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate unit10 0.1.0 on toolchain d93f678fa55842cccd2f091deccd93e9494b3764 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unit10 0.1.0 [INFO] finished tweaking crates.io crate unit10 0.1.0 [INFO] tweaked toml for crates.io crate unit10 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate unit10 0.1.0 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" "+d93f678fa55842cccd2f091deccd93e9494b3764" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6475c868a6d27846ca172efb246699580b64b57a5b3744ef73949e850a31b38a" "/opt/rustwide/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc1b59d83093c9b252639e80d5f14d8405b5cf1ce1b6e368be0a96c0595888bc [INFO] running `Command { std: "docker" "start" "-a" "dc1b59d83093c9b252639e80d5f14d8405b5cf1ce1b6e368be0a96c0595888bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc1b59d83093c9b252639e80d5f14d8405b5cf1ce1b6e368be0a96c0595888bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1b59d83093c9b252639e80d5f14d8405b5cf1ce1b6e368be0a96c0595888bc", kill_on_drop: false }` [INFO] [stdout] dc1b59d83093c9b252639e80d5f14d8405b5cf1ce1b6e368be0a96c0595888bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6475c868a6d27846ca172efb246699580b64b57a5b3744ef73949e850a31b38a" "/opt/rustwide/cargo-home/bin/cargo" "+d93f678fa55842cccd2f091deccd93e9494b3764" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20e0b886209acf9a566eac2de9133dcb1553066aec1eb930d55b019e8113dab1 [INFO] running `Command { std: "docker" "start" "-a" "20e0b886209acf9a566eac2de9133dcb1553066aec1eb930d55b019e8113dab1", kill_on_drop: false }` [INFO] [stderr] Checking unit10 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | fn announce_and_return_part(&self, t: &T) -> &T { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_x`, `get_y`, `new`, and `change` are never used [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Point { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 48 | fn get_x(&self) -> &X { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn get_y(&self) -> &Y { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn new(x: X, y: Y) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn change(self, other: Point) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/main.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Point { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 77 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `life_time` is never used [INFO] [stdout] --> src/main.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn life_time<'a>(str1: &'a str, str2: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/main.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn first_word(str: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportantExcerpt` is never constructed [INFO] [stdout] --> src/main.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | struct ImportantExcerpt<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `announce_and_return_part` and `announce_and_return_t` are never used [INFO] [stdout] --> src/main.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'a, T> ImportantExcerpt<'a, T> { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] 165 | //第三条生命周期省略规则计算得出生命周期,所以以下方法不需要显示标注生命周期 [INFO] [stdout] 166 | fn announce_and_return_part(&self, t: &T) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn announce_and_return_t<'b, 'c>(&'b self, t: &'c T) -> &'c T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | fn announce_and_return_part(&self, t: &T) -> &T { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_x`, `get_y`, `new`, and `change` are never used [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Point { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 48 | fn get_x(&self) -> &X { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn get_y(&self) -> &Y { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn new(x: X, y: Y) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn change(self, other: Point) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/main.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Point { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 77 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `life_time` is never used [INFO] [stdout] --> src/main.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn life_time<'a>(str1: &'a str, str2: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first_word` is never used [INFO] [stdout] --> src/main.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn first_word(str: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportantExcerpt` is never constructed [INFO] [stdout] --> src/main.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | struct ImportantExcerpt<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `announce_and_return_part` and `announce_and_return_t` are never used [INFO] [stdout] --> src/main.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl<'a, T> ImportantExcerpt<'a, T> { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] 165 | //第三条生命周期省略规则计算得出生命周期,所以以下方法不需要显示标注生命周期 [INFO] [stdout] 166 | fn announce_and_return_part(&self, t: &T) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn announce_and_return_t<'b, 'c>(&'b self, t: &'c T) -> &'c T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "20e0b886209acf9a566eac2de9133dcb1553066aec1eb930d55b019e8113dab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e0b886209acf9a566eac2de9133dcb1553066aec1eb930d55b019e8113dab1", kill_on_drop: false }` [INFO] [stdout] 20e0b886209acf9a566eac2de9133dcb1553066aec1eb930d55b019e8113dab1