[INFO] cloning repository https://github.com/KenForever1/bvar-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KenForever1/bvar-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenForever1%2Fbvar-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenForever1%2Fbvar-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97172fc828c92013860afa37a2adfeb0cb38be4a [INFO] checking KenForever1/bvar-rust against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenForever1%2Fbvar-rust" "/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/KenForever1/bvar-rust [INFO] finished tweaking git repo https://github.com/KenForever1/bvar-rust [INFO] tweaked toml for git repo https://github.com/KenForever1/bvar-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KenForever1/bvar-rust on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KenForever1/bvar-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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytesize v1.3.2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 066e764680ca86d692d5f5aeb0752de0b655b1a6e85cf650a980b41d285a658b [INFO] running `Command { std: "docker" "start" "-a" "066e764680ca86d692d5f5aeb0752de0b655b1a6e85cf650a980b41d285a658b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "066e764680ca86d692d5f5aeb0752de0b655b1a6e85cf650a980b41d285a658b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066e764680ca86d692d5f5aeb0752de0b655b1a6e85cf650a980b41d285a658b", kill_on_drop: false }` [INFO] [stdout] 066e764680ca86d692d5f5aeb0752de0b655b1a6e85cf650a980b41d285a658b [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=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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d0dae571d7feecc1bb928379b27bbf3d2f357523d6549ce64f711cf25ad80af [INFO] running `Command { std: "docker" "start" "-a" "2d0dae571d7feecc1bb928379b27bbf3d2f357523d6549ce64f711cf25ad80af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bytesize v1.3.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sampler` [INFO] [stdout] --> examples/create_weak_when_init.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let sampler = MySampler::new(42); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampler` [INFO] [stdout] --> examples/create_weak_when_init.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let sampler = FlawedSampler::new(42); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/detail/series.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | /// sleep 1秒 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 261 | std::thread::sleep(Duration::from_secs(1)); [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/detail/series.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Series { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | op: Op, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/detail/sampler.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct SeriesSampler { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 311 | op: Op, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/window.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Sample { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | time: Instant, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `interval`, and `last_sample_time` are never read [INFO] [stdout] --> src/window.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 55 | /// 数据源 [INFO] [stdout] 56 | source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | /// 采样间隔 [INFO] [stdout] 58 | interval: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | last_sample_time: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_sample` is never used [INFO] [stdout] --> src/window.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 73 | / impl Window [INFO] [stdout] 74 | | where [INFO] [stdout] 75 | | T: Clone + fmt::Display + Send + Sync + 'static, [INFO] [stdout] | |____________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn add_sample(&self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_value` and `last_time` are never read [INFO] [stdout] --> src/window.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct PerSecond { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 189 | last_value: RwLock>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 190 | /// 上次统计的时间 [INFO] [stdout] 191 | last_time: RwLock, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/detail/combiner.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn iter(&self) -> thread_local::Iter>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn iter(&self) -> thread_local::Iter<'_, Mutex>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/detail/series.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Series { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | op: Op, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `op` is never read [INFO] [stdout] --> src/detail/sampler.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct SeriesSampler { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 311 | op: Op, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/window.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Sample { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | time: Instant, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `interval`, and `last_sample_time` are never read [INFO] [stdout] --> src/window.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 55 | /// 数据源 [INFO] [stdout] 56 | source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | /// 采样间隔 [INFO] [stdout] 58 | interval: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | last_sample_time: RwLock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_sample` is never used [INFO] [stdout] --> src/window.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 73 | / impl Window [INFO] [stdout] 74 | | where [INFO] [stdout] 75 | | T: Clone + fmt::Display + Send + Sync + 'static, [INFO] [stdout] | |____________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn add_sample(&self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_value` and `last_time` are never read [INFO] [stdout] --> src/window.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct PerSecond { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 189 | last_value: RwLock>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 190 | /// 上次统计的时间 [INFO] [stdout] 191 | last_time: RwLock, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/detail/combiner.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn iter(&self) -> thread_local::Iter>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn iter(&self) -> thread_local::Iter<'_, Mutex>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.04s [INFO] running `Command { std: "docker" "inspect" "2d0dae571d7feecc1bb928379b27bbf3d2f357523d6549ce64f711cf25ad80af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d0dae571d7feecc1bb928379b27bbf3d2f357523d6549ce64f711cf25ad80af", kill_on_drop: false }` [INFO] [stdout] 2d0dae571d7feecc1bb928379b27bbf3d2f357523d6549ce64f711cf25ad80af