[INFO] fetching crate unibar 0.1.3... [INFO] testing unibar-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate unibar 0.1.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate unibar 0.1.3 [INFO] finished tweaking crates.io crate unibar 0.1.3 [INFO] tweaked toml for crates.io crate unibar 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate unibar 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate unibar 0.1.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66c8e1ba877d9e5cf878dca1561254803c55cb8e3c3811c59b2fbc8413465a3b [INFO] running `Command { std: "docker" "start" "-a" "66c8e1ba877d9e5cf878dca1561254803c55cb8e3c3811c59b2fbc8413465a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66c8e1ba877d9e5cf878dca1561254803c55cb8e3c3811c59b2fbc8413465a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66c8e1ba877d9e5cf878dca1561254803c55cb8e3c3811c59b2fbc8413465a3b", kill_on_drop: false }` [INFO] [stdout] 66c8e1ba877d9e5cf878dca1561254803c55cb8e3c3811c59b2fbc8413465a3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b798a49da0525dd927257d72b10ce6eedae7f18c670b3b58160c2b87da460ca5 [INFO] running `Command { std: "docker" "start" "-a" "b798a49da0525dd927257d72b10ce6eedae7f18c670b3b58160c2b87da460ca5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling unibar v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | event: init!(), [INFO] [stdout] | ------- in this macro invocation [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] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | draw: init!(), [INFO] [stdout] | ------- in this macro invocation [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] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:395:62 [INFO] [stdout] | [INFO] [stdout] 395 | let mut attributes: xlib::XSetWindowAttributes = init!(); [INFO] [stdout] | ------- in this macro invocation [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] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:621:38 [INFO] [stdout] | [INFO] [stdout] 621 | let mut tmp: xft::XftColor = init!(); [INFO] [stdout] | ------- in this macro invocation [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] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:634:38 [INFO] [stdout] | [INFO] [stdout] 634 | let mut temp: xlib::XColor = init!(); [INFO] [stdout] | ------- in this macro invocation [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] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:668:53 [INFO] [stdout] | [INFO] [stdout] 668 | let mut hn_text_prop: xlib::XTextProperty = init!(); [INFO] [stdout] | ------- in this macro invocation [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] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | let mut extents: XGlyphInfo = init!(); [INFO] [stdout] | ------- in this macro invocation [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] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut XftDraw` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | draw: init!(), [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XSetWindowAttributes` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:395:62 [INFO] [stdout] | [INFO] [stdout] 395 | let mut attributes: xlib::XSetWindowAttributes = init!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XftColor` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:621:38 [INFO] [stdout] | [INFO] [stdout] 621 | let mut tmp: xft::XftColor = init!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XColor` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:634:38 [INFO] [stdout] | [INFO] [stdout] 634 | let mut temp: xlib::XColor = init!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/bar.rs:665:65 [INFO] [stdout] | [INFO] [stdout] 665 | let hn_buffer: *mut c_char = vec![0 as c_char; hn_size].as_mut_ptr(); [INFO] [stdout] | -------------------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XTextProperty` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/bar.rs:668:53 [INFO] [stdout] | [INFO] [stdout] 668 | let mut hn_text_prop: xlib::XTextProperty = init!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `_XGlyphInfo` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | let mut extents: XGlyphInfo = init!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `init` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unibar` (lib) due to 14 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b798a49da0525dd927257d72b10ce6eedae7f18c670b3b58160c2b87da460ca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b798a49da0525dd927257d72b10ce6eedae7f18c670b3b58160c2b87da460ca5", kill_on_drop: false }` [INFO] [stdout] b798a49da0525dd927257d72b10ce6eedae7f18c670b3b58160c2b87da460ca5