[INFO] fetching crate cloudevents-sdk 0.8.0... [INFO] testing cloudevents-sdk-0.8.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cloudevents-sdk 0.8.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate cloudevents-sdk 0.8.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cloudevents-sdk 0.8.0 [INFO] tweaked toml for crates.io crate cloudevents-sdk 0.8.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cloudevents-sdk 0.8.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cloudevents-sdk 0.8.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_nanos v0.1.4 [INFO] [stderr] Downloaded base64-url v1.4.13 [INFO] [stderr] Downloaded poem-derive v3.1.4 [INFO] [stderr] Downloaded delegate-attr v0.3.0 [INFO] [stderr] Downloaded claims v0.8.0 [INFO] [stderr] Downloaded nkeys v0.4.4 [INFO] [stderr] Downloaded mockito v0.31.1 [INFO] [stderr] Downloaded mio_wasi v0.8.9 [INFO] [stderr] Downloaded wasmedge_wasi_socket v0.5.5 [INFO] [stderr] Downloaded tokio-util_wasi v0.7.5 [INFO] [stderr] Downloaded nuid v0.3.2 [INFO] [stderr] Downloaded signatory v0.27.1 [INFO] [stderr] Downloaded rdkafka v0.37.0 [INFO] [stderr] Downloaded h2_wasi v0.3.15 [INFO] [stderr] Downloaded poem v3.1.6 [INFO] [stderr] Downloaded hyper_wasi v0.15.2 [INFO] [stderr] Downloaded nats v0.25.0 [INFO] [stderr] Downloaded tokio_wasi v1.25.2 [INFO] [stderr] Downloaded rdkafka-sys v4.8.0+2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a82b37ca8b5355da609e53bb82fa6dd0230472d7e608a2450df4348269c5b787 [INFO] running `Command { std: "docker" "start" "-a" "a82b37ca8b5355da609e53bb82fa6dd0230472d7e608a2450df4348269c5b787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a82b37ca8b5355da609e53bb82fa6dd0230472d7e608a2450df4348269c5b787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a82b37ca8b5355da609e53bb82fa6dd0230472d7e608a2450df4348269c5b787", kill_on_drop: false }` [INFO] [stdout] a82b37ca8b5355da609e53bb82fa6dd0230472d7e608a2450df4348269c5b787 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 21c3949168b5df20b6a171f6a9b4cf56055909ad069ae4ca716a763bbfdfbba0 [INFO] running `Command { std: "docker" "start" "-a" "21c3949168b5df20b6a171f6a9b4cf56055909ad069ae4ca716a763bbfdfbba0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling delegate-attr v0.3.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling snafu v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling cloudevents-sdk v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: static `CLOUDEVENTS_JSON_HEADER` is never used [INFO] [stdout] --> src/binding/mod.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) static CLOUDEVENTS_JSON_HEADER: &str = "application/cloudevents+json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLOUDEVENTS_BATCH_JSON_HEADER` is never used [INFO] [stdout] --> src/binding/mod.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) static CLOUDEVENTS_BATCH_JSON_HEADER: &str = "application/cloudevents-batch+json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONTENT_TYPE` is never used [INFO] [stdout] --> src/binding/mod.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) static CONTENT_TYPE: &str = "content-type"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `header_prefix` is never used [INFO] [stdout] --> src/binding/mod.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn header_prefix(prefix: &str, name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event/mod.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event/mod.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_attributes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_attributes(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event/attributes.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 250 | pub(crate) fn iter(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.81s [INFO] running `Command { std: "docker" "inspect" "21c3949168b5df20b6a171f6a9b4cf56055909ad069ae4ca716a763bbfdfbba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c3949168b5df20b6a171f6a9b4cf56055909ad069ae4ca716a763bbfdfbba0", kill_on_drop: false }` [INFO] [stdout] 21c3949168b5df20b6a171f6a9b4cf56055909ad069ae4ca716a763bbfdfbba0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d19ad9367324738343c184d3440f54207991e45c4b204ba96ba13ccb8b94f975 [INFO] running `Command { std: "docker" "start" "-a" "d19ad9367324738343c184d3440f54207991e45c4b204ba96ba13ccb8b94f975", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling similar v2.6.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling claims v0.8.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling delegate-attr v0.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling snafu v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.23.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling mockito v0.31.1 [INFO] [stderr] Compiling cloudevents-sdk v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: static `CLOUDEVENTS_JSON_HEADER` is never used [INFO] [stdout] --> src/binding/mod.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) static CLOUDEVENTS_JSON_HEADER: &str = "application/cloudevents+json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLOUDEVENTS_BATCH_JSON_HEADER` is never used [INFO] [stdout] --> src/binding/mod.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) static CLOUDEVENTS_BATCH_JSON_HEADER: &str = "application/cloudevents-batch+json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONTENT_TYPE` is never used [INFO] [stdout] --> src/binding/mod.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) static CONTENT_TYPE: &str = "content-type"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `header_prefix` is never used [INFO] [stdout] --> src/binding/mod.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn header_prefix(prefix: &str, name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event/mod.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event/mod.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_attributes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_attributes(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event/attributes.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 250 | pub(crate) fn iter(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling version-sync v0.9.5 [INFO] [stdout] warning: static `CLOUDEVENTS_JSON_HEADER` is never used [INFO] [stdout] --> src/binding/mod.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) static CLOUDEVENTS_JSON_HEADER: &str = "application/cloudevents+json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLOUDEVENTS_BATCH_JSON_HEADER` is never used [INFO] [stdout] --> src/binding/mod.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) static CLOUDEVENTS_BATCH_JSON_HEADER: &str = "application/cloudevents-batch+json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONTENT_TYPE` is never used [INFO] [stdout] --> src/binding/mod.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) static CONTENT_TYPE: &str = "content-type"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `header_prefix` is never used [INFO] [stdout] --> src/binding/mod.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn header_prefix(prefix: &str, name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event/mod.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 138 | pub fn iter(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event/mod.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_attributes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_attributes(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/event/attributes.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 250 | pub(crate) fn iter(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "d19ad9367324738343c184d3440f54207991e45c4b204ba96ba13ccb8b94f975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d19ad9367324738343c184d3440f54207991e45c4b204ba96ba13ccb8b94f975", kill_on_drop: false }` [INFO] [stdout] d19ad9367324738343c184d3440f54207991e45c4b204ba96ba13ccb8b94f975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e2a6292c7aa6d56ea8ffb5d2442093c7649081d78f60078c7176b52cc7aaee5f [INFO] running `Command { std: "docker" "start" "-a" "e2a6292c7aa6d56ea8ffb5d2442093c7649081d78f60078c7176b52cc7aaee5f", kill_on_drop: false }` [INFO] [stderr] warning: static `CLOUDEVENTS_JSON_HEADER` is never used [INFO] [stderr] --> src/binding/mod.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | pub(crate) static CLOUDEVENTS_JSON_HEADER: &str = "application/cloudevents+json"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static `CLOUDEVENTS_BATCH_JSON_HEADER` is never used [INFO] [stderr] --> src/binding/mod.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | pub(crate) static CLOUDEVENTS_BATCH_JSON_HEADER: &str = "application/cloudevents-batch+json"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `CONTENT_TYPE` is never used [INFO] [stderr] --> src/binding/mod.rs:60:19 [INFO] [stderr] | [INFO] [stderr] 60 | pub(crate) static CONTENT_TYPE: &str = "content-type"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `header_prefix` is never used [INFO] [stderr] --> src/binding/mod.rs:62:4 [INFO] [stderr] | [INFO] [stderr] 62 | fn header_prefix(prefix: &str, name: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/event/mod.rs:138:17 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn iter(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 138 | pub fn iter(&self) -> impl Iterator)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/event/mod.rs:145:28 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn iter_attributes(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 145 | pub fn iter_attributes(&self) -> impl Iterator)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/event/attributes.rs:250:24 [INFO] [stderr] | [INFO] [stderr] 250 | pub(crate) fn iter(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ---- -------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 250 | pub(crate) fn iter(&self) -> impl Iterator)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `cloudevents-sdk` (lib) generated 7 warnings (run `cargo fix --lib -p cloudevents-sdk` to apply 3 suggestions) [INFO] [stderr] warning: `cloudevents-sdk` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cloudevents-e73c0ce7a40b16ed) [INFO] [stdout] [INFO] [stdout] running 54 tests [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_02_full_v03_no_data ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_05_full_v03_with_xml_string_data ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_07_minimal_v10 ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_09_full_v10_with_json_data ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_10_full_v10_with_json_base64_data ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_11_full_v10_with_non_json_base64_data ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_08_full_v10_no_data ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_04_full_v03_with_json_base64_data ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_01_minimal_v03 ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_12_full_v10_with_xml_string_data ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_06_full_v03_with_xml_base64_data ... ok [INFO] [stdout] test event::builder::tests::serialize_should_succeed::case_01_minimal_v03 ... ok [INFO] [stdout] test event::builder::tests::deserialize_with_null_ext ... ok [INFO] [stdout] test event::builder::tests::deserialize_with_null_attribute ... ok [INFO] [stdout] test event::builder::tests::deserialize_yaml_should_succeed ... ok [INFO] [stdout] test event::builder::tests::serialize_should_succeed::case_02_full_v03_no_data ... ok [INFO] [stdout] test event::builder::tests::serialize_should_succeed::case_03_full_v03_with_json_data ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_03_full_v03_with_json_data ... ok [INFO] [stdout] test event::builder::tests::serialize_should_succeed::case_04_full_v03_with_xml_string_data ... ok [INFO] [stdout] test event::builder::tests::deserialize_json_should_succeed::case_13_full_v10_with_xml_base64_data ... ok [INFO] [stdout] test event::builder::tests::serialize_should_succeed::case_05_full_v03_with_xml_base64_data ... ok [INFO] [stdout] test event::builder::tests::serialize_should_succeed::case_06_minimal_v10 ... ok [INFO] [stdout] test event::builder::tests::serialize_should_succeed::case_07_full_v10_no_data ... ok [INFO] [stdout] test event::builder::tests::serialize_should_succeed::case_09_full_v10_with_xml_string_data ... ok [INFO] [stdout] test event::builder::tests::serialize_should_succeed::case_08_full_v10_with_json_data ... ok [INFO] [stdout] test event::builder::tests::v03_to_v10 ... ok [INFO] [stdout] test event::builder::tests::serialize_should_succeed::case_10_full_v10_with_xml_base64_data ... ok [INFO] [stdout] test event::builder::tests::v10_to_v03 ... ok [INFO] [stdout] test event::message::tests::binary_deserializer_missing_id ... ok [INFO] [stdout] test event::message::tests::binary_deserializer_unrecognized_attribute_v03 ... ok [INFO] [stdout] test event::message::tests::binary_deserializer_unrecognized_attribute_v10 ... ok [INFO] [stdout] test event::message::tests::message_v03_msgpack ... ok [INFO] [stdout] test event::message::tests::message_v03_roundtrip_binary ... ok [INFO] [stdout] test event::message::tests::message_v03_roundtrip_structured ... ok [INFO] [stdout] test event::message::tests::message_v10_msgpack ... ok [INFO] [stdout] test event::message::tests::message_v10_roundtrip_binary ... ok [INFO] [stdout] test event::message::tests::message_v10_roundtrip_structured ... ok [INFO] [stdout] test event::tests::iter ... ok [INFO] [stdout] test event::tests::set_id ... ok [INFO] [stdout] test event::tests::take_data ... ok [INFO] [stdout] test event::v03::attributes::tests::iter_v03_test ... ok [INFO] [stdout] test event::v03::attributes::tests::iterator_test_v03 ... ok [INFO] [stdout] test event::v03::builder::tests::build_event ... ok [INFO] [stdout] test event::v03::builder::tests::build_missing_id ... ok [INFO] [stdout] test event::v03::builder::tests::default_builds ... ok [INFO] [stdout] test event::v10::attributes::tests::iter_v10_test ... ok [INFO] [stdout] test event::v10::attributes::tests::iterator_test_v10 ... ok [INFO] [stdout] test event::v10::builder::tests::build_event ... ok [INFO] [stdout] test event::v03::builder::tests::source_invalid_url ... ok [INFO] [stdout] test event::v10::builder::tests::build_missing_id ... ok [INFO] [stdout] test event::v10::builder::tests::default_builds ... ok [INFO] [stdout] test event::v10::builder::tests::source_invalid_url ... ok [INFO] [stdout] test event::v10::builder::tests::source_valid_relative_url ... ok [INFO] [stdout] test event::v03::builder::tests::source_valid_relative_url ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 54 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/version_number.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/version_number-a43900cd59a6e921) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_readme_deps ... ok [INFO] [stdout] test test_html_root_url ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e2a6292c7aa6d56ea8ffb5d2442093c7649081d78f60078c7176b52cc7aaee5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2a6292c7aa6d56ea8ffb5d2442093c7649081d78f60078c7176b52cc7aaee5f", kill_on_drop: false }` [INFO] [stdout] e2a6292c7aa6d56ea8ffb5d2442093c7649081d78f60078c7176b52cc7aaee5f