[INFO] fetching crate apache-avro 0.19.0... [INFO] checking apache-avro-0.19.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate apache-avro 0.19.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate apache-avro 0.19.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate apache-avro 0.19.0 [INFO] tweaked toml for crates.io crate apache-avro 0.19.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate apache-avro 0.19.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate apache-avro 0.19.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1620e00f90166a985176b6605764d8a12dd8eb5cd4e597d503ccb06c4fcb1d4f [INFO] running `Command { std: "docker" "start" "-a" "1620e00f90166a985176b6605764d8a12dd8eb5cd4e597d503ccb06c4fcb1d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1620e00f90166a985176b6605764d8a12dd8eb5cd4e597d503ccb06c4fcb1d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1620e00f90166a985176b6605764d8a12dd8eb5cd4e597d503ccb06c4fcb1d4f", kill_on_drop: false }` [INFO] [stdout] 1620e00f90166a985176b6605764d8a12dd8eb5cd4e597d503ccb06c4fcb1d4f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0b4c1813ac90e8e5396b6d592ca48f108c7bd49b91a9a085cadd371cfec1355 [INFO] running `Command { std: "docker" "start" "-a" "c0b4c1813ac90e8e5396b6d592ca48f108c7bd49b91a9a085cadd371cfec1355", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling zerocopy v0.8.14 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling dtor-proc-macro v0.0.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking dtor v0.0.6 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking sdd v3.0.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ctor-proc-macro v0.0.5 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking ctor v0.4.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking scc v2.2.5 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking better-panic v0.3.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking apache-avro-test-helper v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling bon-macros v3.6.3 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stderr] Checking bon v3.6.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking apache-avro v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn new(schema: &Schema) -> Option { [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] 238 | pub fn new(schema: &Schema) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AvroSchema` in this scope [INFO] [stdout] --> examples/specific_single_object.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, Clone, Serialize, Deserialize, AvroSchema, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AvroSchema` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/specific_single_object.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use apache_avro::{AvroSchema, SpecificSingleObjectReader, SpecificSingleObjectWriter}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/generate_interop_data.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | fn create_datum(schema: &Schema) -> Record { [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] 30 | fn create_datum(schema: &Schema) -> Record<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/append_to_existing.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | fn create_datum(schema: &Schema, value: i32) -> Record { [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] 93 | fn create_datum(schema: &Schema, value: i32) -> Record<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: AvroSchema` is not satisfied [INFO] [stdout] --> examples/specific_single_object.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let mut writer = SpecificSingleObjectWriter::::with_capacity(1024)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AvroSchema` is not implemented for `Test` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SpecificSingleObjectWriter` [INFO] [stdout] --> /opt/rustwide/workdir/src/writer.rs:578:8 [INFO] [stdout] | [INFO] [stdout] 576 | pub struct SpecificSingleObjectWriter [INFO] [stdout] | -------------------------- required by a bound in this struct [INFO] [stdout] 577 | where [INFO] [stdout] 578 | T: AvroSchema, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `SpecificSingleObjectWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `with_capacity` exists for struct `SpecificSingleObjectWriter`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/specific_single_object.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 22 | struct Test { [INFO] [stdout] | ----------- doesn't satisfy `Test: AvroSchema` [INFO] [stdout] ... [INFO] [stdout] 34 | let mut writer = SpecificSingleObjectWriter::::with_capacity(1024)?; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item cannot be called on `SpecificSingleObjectWriter` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Test: AvroSchema` [INFO] [stdout] note: the trait `AvroSchema` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/schema.rs:2451:1 [INFO] [stdout] | [INFO] [stdout] 2451 | pub trait AvroSchema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test: AvroSchema` is not satisfied [INFO] [stdout] --> examples/specific_single_object.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | let reader = SpecificSingleObjectReader::::new()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AvroSchema` is not implemented for `Test` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `SpecificSingleObjectReader` [INFO] [stdout] --> /opt/rustwide/workdir/src/reader.rs:548:8 [INFO] [stdout] | [INFO] [stdout] 546 | pub struct SpecificSingleObjectReader [INFO] [stdout] | -------------------------- required by a bound in this struct [INFO] [stdout] 547 | where [INFO] [stdout] 548 | T: AvroSchema, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `SpecificSingleObjectReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `SpecificSingleObjectReader`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/specific_single_object.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 22 | struct Test { [INFO] [stdout] | ----------- doesn't satisfy `Test: AvroSchema` [INFO] [stdout] ... [INFO] [stdout] 48 | let reader = SpecificSingleObjectReader::::new()?; [INFO] [stdout] | ^^^ function or associated item cannot be called on `SpecificSingleObjectReader` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Test: AvroSchema` [INFO] [stdout] note: the trait `AvroSchema` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/schema.rs:2451:1 [INFO] [stdout] | [INFO] [stdout] 2451 | pub trait AvroSchema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Paint` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 18 + use yansi::Paint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `apache-avro` (example "specific_single_object") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn new(schema: &Schema) -> Option { [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] 238 | pub fn new(schema: &Schema) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c0b4c1813ac90e8e5396b6d592ca48f108c7bd49b91a9a085cadd371cfec1355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b4c1813ac90e8e5396b6d592ca48f108c7bd49b91a9a085cadd371cfec1355", kill_on_drop: false }` [INFO] [stdout] c0b4c1813ac90e8e5396b6d592ca48f108c7bd49b91a9a085cadd371cfec1355