[INFO] fetching crate tracing-etw 0.2.1... [INFO] checking tracing-etw-0.2.1 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate tracing-etw 0.2.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tracing-etw 0.2.1 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tracing-etw 0.2.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tracing-etw 0.2.1 [INFO] tweaked toml for crates.io crate tracing-etw 0.2.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate tracing-etw 0.2.1 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c981cc7f5abed989c38317f9acb9f1ea863f61b5122ebd48ab4e367252b34746 [INFO] running `Command { std: "docker" "start" "-a" "c981cc7f5abed989c38317f9acb9f1ea863f61b5122ebd48ab4e367252b34746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c981cc7f5abed989c38317f9acb9f1ea863f61b5122ebd48ab4e367252b34746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c981cc7f5abed989c38317f9acb9f1ea863f61b5122ebd48ab4e367252b34746", kill_on_drop: false }` [INFO] [stdout] c981cc7f5abed989c38317f9acb9f1ea863f61b5122ebd48ab4e367252b34746 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e23242f9bccf3c9a48878c9c681c7c20ce29e7b32799f638bec705a3621c815 [INFO] running `Command { std: "docker" "start" "-a" "8e23242f9bccf3c9a48878c9c681c7c20ce29e7b32799f638bec705a3621c815", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling eventheader_macros v0.3.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking tracepoint v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking eventheader v0.4.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking eventheader_dynamic v0.4.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-etw v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (47 fixes) [INFO] [stderr] Fixed src/layer/filter.rs (1 fix) [INFO] [stderr] Fixed src/native/common_schema/user_events_cs.rs (4 fixes) [INFO] [stderr] Fixed src/native/user_events.rs (8 fixes) [INFO] [stderr] Fixed src/layer/mod.rs (1 fix) [INFO] [stderr] Fixed src/layer_builder.rs (1 fix) [INFO] [stderr] Fixed src/layer/layer.rs (10 fixes) [INFO] [stderr] Migrating src/bin/main.rs from 2021 edition to 2024 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Migrating examples/etw_event.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/span.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/instrument.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/user_events.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/stress.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/basic.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/etw.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.10s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking tracing-etw v0.2.1 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> benches/user_events.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | etw_event!(name: "evtname", Level::INFO, 1, "Enabled event!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::etw_event` which comes from the expansion of the macro `etw_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | #[unsafe(link_section = "_etw_kw")] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> benches/user_events.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | / etw_event!( [INFO] [stdout] 109 | | name: "evtname", [INFO] [stdout] 110 | | Level::INFO, [INFO] [stdout] 111 | | 1, [INFO] [stdout] ... | [INFO] [stdout] 115 | | "Enabled event!" [INFO] [stdout] 116 | | ); [INFO] [stdout] | |_________________^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::etw_event` which comes from the expansion of the macro `etw_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | #[unsafe(link_section = "_etw_kw")] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/stress.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | etw_event!(name: "EtwEventName", Level::ERROR, 5, "An event with a name and keyword!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::etw_event` which comes from the expansion of the macro `etw_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217| #[unsafe(link_section = "_etw_kw")] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/stress.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | ... etw_event!(name: "Event2", Level::ERROR, 5, idx=i,a=1,b=2,c=3,d=4,e=5,f=6,g=7,h=8,i=9,j=10,k=11,l=12,m=13,n=14,o=15,p=16,q=17,r=18,s=19,t=20,u=21,v=22,w=23,x=24,y=25,z=2... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::etw_event` which comes from the expansion of the macro `etw_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217| #[unsafe(link_section = "_etw_kw")] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> examples/etw_event.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | etw_event!(name: "EtwEventName", Level::ERROR, 5, "An event with a name and keyword!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::etw_event` which comes from the expansion of the macro `etw_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217| #[unsafe(link_section = "_etw_kw")] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-etw` (example "etw_event") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/bin/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | etw_event!(target: "geneva", name: "EtwEventName", Level::ERROR, 5, "Only for geneva!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::etw_event` which comes from the expansion of the macro `etw_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217| #[unsafe(link_section = "_etw_kw")] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-etw` (bench "user_events") due to 2 previous errors [INFO] [stderr] error: could not compile `tracing-etw` (example "stress") due to 2 previous errors [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/bin/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | etw_event!(target: "geneva", name: "EtwEventName", Level::ERROR, 5, "Only for geneva!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::etw_event` which comes from the expansion of the macro `etw_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] --> /tmp/fixit/src/lib.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217| #[unsafe(link_section = "_etw_kw")] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-etw` (bin "main" test) due to 1 previous error [INFO] [stderr] error: could not compile `tracing-etw` (bin "main") due to 1 previous error [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8e23242f9bccf3c9a48878c9c681c7c20ce29e7b32799f638bec705a3621c815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e23242f9bccf3c9a48878c9c681c7c20ce29e7b32799f638bec705a3621c815", kill_on_drop: false }` [INFO] [stdout] 8e23242f9bccf3c9a48878c9c681c7c20ce29e7b32799f638bec705a3621c815