[INFO] fetching crate eventheader 0.4.1... [INFO] checking eventheader-0.4.1 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate eventheader 0.4.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate eventheader 0.4.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate eventheader 0.4.1 [INFO] tweaked toml for crates.io crate eventheader 0.4.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate eventheader 0.4.1 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate eventheader 0.4.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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ea7ccb0b0376caf768bb58d84161d0b65d3fe540f25298b44eebeb1e1ef7b26 [INFO] running `Command { std: "docker" "start" "-a" "6ea7ccb0b0376caf768bb58d84161d0b65d3fe540f25298b44eebeb1e1ef7b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ea7ccb0b0376caf768bb58d84161d0b65d3fe540f25298b44eebeb1e1ef7b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea7ccb0b0376caf768bb58d84161d0b65d3fe540f25298b44eebeb1e1ef7b26", kill_on_drop: false }` [INFO] [stdout] 6ea7ccb0b0376caf768bb58d84161d0b65d3fe540f25298b44eebeb1e1ef7b26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddccc2eea8dfd61538cb359c0fae2c3dbc093df31ac69dc085b7e40178d05124 [INFO] running `Command { std: "docker" "start" "-a" "ddccc2eea8dfd61538cb359c0fae2c3dbc093df31ac69dc085b7e40178d05124", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling eventheader_macros v0.4.1 [INFO] [stderr] Checking eventheader_types v0.4.1 [INFO] [stderr] Checking uuid v1.15.1 [INFO] [stderr] Checking tracepoint v0.4.0 [INFO] [stderr] Checking eventheader v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/generate_events.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let _win32result = tlg::write_event!( [INFO] [stdout] | ________________________^ [INFO] [stdout] ... | [INFO] [stdout] 96 | | errno_slice("errno_slice", &[1, 2]), [INFO] [stdout] 97 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | |_____creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tlg::write_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/generate_events.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let _win32_result3 = tlg::write_event!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 101 | | PROV1, [INFO] [stdout] 102 | | "Raw", [INFO] [stdout] ... | [INFO] [stdout] 118 | | ]), [INFO] [stdout] 119 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | |_____creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tlg::write_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventheader` (example "generate_events") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/tests.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | eh::write_event!(PROV, "fieldtag", u8("0xFEDC", &0, tag(0xFEDC)),); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `eh::write_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/tests.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / eh::write_event!( [INFO] [stdout] 193 | | PROV, [INFO] [stdout] 194 | | "outtypes", [INFO] [stdout] 195 | | u8("0xFEDC", &0, tag(0xFEDC)), [INFO] [stdout] ... | [INFO] [stdout] 199 | | u8("hex100", &100, format(HexInt)), [INFO] [stdout] 200 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | |_____creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `eh::write_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/tests.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | / eh::write_event!(PROV, "structs", [INFO] [stdout] 203 | | u8("start", &0), [INFO] [stdout] 204 | | struct("struct1", tag(0xFEDC), { [INFO] [stdout] 205 | | u8("nested1", &1), [INFO] [stdout] ... | [INFO] [stdout] 209 | | }), [INFO] [stdout] 210 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | |_____creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `eh::write_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/tests.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | / eh::write_event!( [INFO] [stdout] 344 | | PROV, [INFO] [stdout] 345 | | "IntPtr", [INFO] [stdout] 346 | | char8_cp1252("A", &b'A'), [INFO] [stdout] ... | [INFO] [stdout] 351 | | char8_cp1252("A", &b'A'), [INFO] [stdout] 352 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | |_____creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `eh::write_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/tests.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | / eh::write_event!( [INFO] [stdout] 355 | | PROV, [INFO] [stdout] 356 | | "UIntPtr", [INFO] [stdout] 357 | | char8_cp1252("A", &b'A'), [INFO] [stdout] ... | [INFO] [stdout] 362 | | char8_cp1252("A", &b'A'), [INFO] [stdout] 363 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | |_____creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `eh::write_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/tests.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | / eh::write_event!( [INFO] [stdout] 503 | | PROV, [INFO] [stdout] 504 | | "HexIntPtr", [INFO] [stdout] 505 | | char8_cp1252("A", &b'A'), [INFO] [stdout] ... | [INFO] [stdout] 510 | | char8_cp1252("A", &b'A'), [INFO] [stdout] 511 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | |_____creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `eh::write_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/tests.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | / eh::write_event!( [INFO] [stdout] 514 | | PROV, [INFO] [stdout] 515 | | "HexIntPtr", [INFO] [stdout] 516 | | char8_cp1252("A", &b'A'), [INFO] [stdout] ... | [INFO] [stdout] 521 | | char8_cp1252("A", &b'A'), [INFO] [stdout] 522 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | |_____creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `eh::write_event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventheader` (test "tests") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "ddccc2eea8dfd61538cb359c0fae2c3dbc093df31ac69dc085b7e40178d05124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddccc2eea8dfd61538cb359c0fae2c3dbc093df31ac69dc085b7e40178d05124", kill_on_drop: false }` [INFO] [stdout] ddccc2eea8dfd61538cb359c0fae2c3dbc093df31ac69dc085b7e40178d05124