[INFO] fetching crate tree-buf 0.10.0... [INFO] checking tree-buf-0.10.0 against try#4907eac94165faff6c5e5e015670b1c584275f7b for pr-154149 [INFO] extracting crate tree-buf 0.10.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate tree-buf 0.10.0 [INFO] finished tweaking crates.io crate tree-buf 0.10.0 [INFO] tweaked toml for crates.io crate tree-buf 0.10.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tree-buf 0.10.0 on toolchain 4907eac94165faff6c5e5e015670b1c584275f7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 91 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.8.2) [INFO] [stderr] Adding defer v0.1.0 (available: v0.2.1) [INFO] [stderr] Adding firestorm v0.3.1 (available: v0.5.1) [INFO] [stderr] Adding rand v0.7.3 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e577f2ddc1dde30791ce52a5e20963b6ebf6498791e9eeb106218751ce7f146 [INFO] running `Command { std: "docker" "start" "-a" "5e577f2ddc1dde30791ce52a5e20963b6ebf6498791e9eeb106218751ce7f146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e577f2ddc1dde30791ce52a5e20963b6ebf6498791e9eeb106218751ce7f146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e577f2ddc1dde30791ce52a5e20963b6ebf6498791e9eeb106218751ce7f146", kill_on_drop: false }` [INFO] [stdout] 5e577f2ddc1dde30791ce52a5e20963b6ebf6498791e9eeb106218751ce7f146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81748c677b788b33826044155ef0b7757f1488cd790e2cf3a432e0a709a62e79 [INFO] running `Command { std: "docker" "start" "-a" "81748c677b788b33826044155ef0b7757f1488cd790e2cf3a432e0a709a62e79", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking firestorm v0.3.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking simple-16 v0.2.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking zigzag v0.1.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking transmute v0.1.1 [INFO] [stderr] Checking gibbon v0.1.3 [INFO] [stderr] Checking defer v0.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling tree-buf-macros v0.10.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking coercible_errors v0.1.4 [INFO] [stderr] Checking tree-buf v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/internal/encodings/delta.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub(in crate::internal::types::integer) or pub(in crate::internal::encodings) [INFO] [stdout] --> src/internal/types/integer.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::internal::encodings::compress; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `compress` could refer to the function imported here [INFO] [stdout] --> src/internal/encodings/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) use compress::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `compress` to disambiguate [INFO] [stdout] note: `compress` could also refer to the function imported here [INFO] [stdout] --> src/internal/encodings/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `compress` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] = note: `#[deny(ambiguous_import_visibilities)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array_fixed::*`, `boolean::*`, `float::*`, `integer::*`, and `tuple::*` [INFO] [stdout] --> src/internal/types/mod.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | ...ay::*, array_fixed::*, boolean::*, bytes::*, float::*, hashmap::*, ignore::*, integer::*, nullable::*, string::*, tuple::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/internal/branch/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to crates, extern crates, and modules [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/internal/types/integer.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | if let Ok(lower_max) = lower_max { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | impl_lowerable!(u64, encode_u64, fast_size_for_u64, u32, encode_u32, fast_size_for_u32, (u16), (PrefixVarIntCompressor)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_lowerable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/internal/types/integer.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 254 | if let Ok(lower_max) = lower_max { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | impl_lowerable!(u64, encode_u64, fast_size_for_u64, u32, encode_u32, fast_size_for_u32, (u16), (PrefixVarIntCompressor)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: this warning originates in the macro `impl_lowerable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/internal/types/integer.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | if let Ok(lower_max) = lower_max { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | / impl_lowerable!( [INFO] [stdout] 294 | | u32, [INFO] [stdout] 295 | | encode_u32, [INFO] [stdout] 296 | | fast_size_for_u32, [INFO] [stdout] ... | [INFO] [stdout] 301 | | (Simple16Compressor, DeltaZigZagCompressor, PrefixVarIntCompressor) [INFO] [stdout] 302 | | ); // TODO: Consider adding Fixed. [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: this warning originates in the macro `impl_lowerable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/internal/types/integer.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 254 | if let Ok(lower_max) = lower_max { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | / impl_lowerable!( [INFO] [stdout] 294 | | u32, [INFO] [stdout] 295 | | encode_u32, [INFO] [stdout] 296 | | fast_size_for_u32, [INFO] [stdout] ... | [INFO] [stdout] 301 | | (Simple16Compressor, DeltaZigZagCompressor, PrefixVarIntCompressor) [INFO] [stdout] 302 | | ); // TODO: Consider adding Fixed. [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: this warning originates in the macro `impl_lowerable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/internal/types/integer.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | if let Ok(lower_max) = lower_max { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | / impl_lowerable!( [INFO] [stdout] 304 | | u16, [INFO] [stdout] 305 | | encode_u16, [INFO] [stdout] 306 | | fast_size_for_u16, [INFO] [stdout] ... | [INFO] [stdout] 311 | | (Simple16Compressor, PrefixVarIntCompressor) [INFO] [stdout] 312 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: this warning originates in the macro `impl_lowerable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/internal/types/integer.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 254 | if let Ok(lower_max) = lower_max { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | / impl_lowerable!( [INFO] [stdout] 304 | | u16, [INFO] [stdout] 305 | | encode_u16, [INFO] [stdout] 306 | | fast_size_for_u16, [INFO] [stdout] ... | [INFO] [stdout] 311 | | (Simple16Compressor, PrefixVarIntCompressor) [INFO] [stdout] 312 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: this warning originates in the macro `impl_lowerable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tree-buf` (lib) due to 1 previous error; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "81748c677b788b33826044155ef0b7757f1488cd790e2cf3a432e0a709a62e79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81748c677b788b33826044155ef0b7757f1488cd790e2cf3a432e0a709a62e79", kill_on_drop: false }` [INFO] [stdout] 81748c677b788b33826044155ef0b7757f1488cd790e2cf3a432e0a709a62e79