[INFO] fetching crate displayz 0.2.0... [INFO] testing displayz-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate displayz 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate displayz 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate displayz 0.2.0 [INFO] tweaked toml for crates.io crate displayz 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate displayz 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate displayz 0.2.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winsafe v0.0.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02b4b2da98ffe0383a034ee94dfaa72f3b43521f7c35b68d606ffedb5e8332c7 [INFO] running `Command { std: "docker" "start" "-a" "02b4b2da98ffe0383a034ee94dfaa72f3b43521f7c35b68d606ffedb5e8332c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02b4b2da98ffe0383a034ee94dfaa72f3b43521f7c35b68d606ffedb5e8332c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02b4b2da98ffe0383a034ee94dfaa72f3b43521f7c35b68d606ffedb5e8332c7", kill_on_drop: false }` [INFO] [stdout] 02b4b2da98ffe0383a034ee94dfaa72f3b43521f7c35b68d606ffedb5e8332c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca537a7d258f4e1b243493c7c4cae11deb88e6900b3fc9ce22a37033341c1c69 [INFO] running `Command { std: "docker" "start" "-a" "ca537a7d258f4e1b243493c7c4cae11deb88e6900b3fc9ce22a37033341c1c69", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling winsafe v0.0.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling displayz v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/display.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn displays(&self) -> impl ExactSizeIterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 88 | pub fn displays(&self) -> impl ExactSizeIterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/display.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get(&self, index: usize) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get(&self, index: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/display.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn primary(&self) -> Display { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | pub fn primary(&self) -> Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcOTwnDw/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libenv_logger-e697b571e9b38ad2,libanstream-4ed3ca036eda1e1f,libanstyle_query-f0be367a66cb0b02,libis_terminal_polyfill-c14c9d53c4f80a97,libcolorchoice-dfb6701820ae12a0,libanstyle_parse-80647c630cc5391e,libutf8parse-8828ddbb63eb8bad,libenv_filter-dbb1c9cb6a59e85f,libregex-e5833f384a39b0ec,libregex_automata-8670fc997c8edd03,libaho_corasick-50150a17a2667fa6,libregex_syntax-2f734124a51b36fa,libanstyle-df82d657645c4a5c,libhumantime-271ba35809dd8c72,libstructopt-d42ac4d63f8e6113,libclap-d60812d667ea9a5b,libvec_map-ecbce826993378bd,libtextwrap-3c1aa3ac7e6b7544,libunicode_width-08b963676a6677c5,libstrsim-1c33ff29e0d45111,libbitflags-e2b4db6c651223da,libatty-17f7a3d4e357d9a1,libansi_term-4ffce2d8d1f5d132,libdisplayz-82e2998de81ef9d4,liblog-2b95e8355e160732,libwinsafe-506220d0d1932e35,libthiserror-2b893142005f96ba,libcolor_eyre-81aad754f283df6f,libcolor_spantrace-336fd689f035af28,libtracing_error-362ab59f6ce726f5,libtracing_subscriber-bae0b87c238ac921,libthread_local-0c22053d18313b1f,libsharded_slab-8a8a8c9e27e64aa6,liblazy_static-b3603208c0de2608,libtracing-5b43d0adc181fac1,libpin_project_lite-bedc6e0acd72ff2a,libtracing_core-6e2b81620e2f1c08,libowo_colors-34f7982758e53ee6,libeyre-f17bbd8d445a246f,libindenter-c5e34d39e16440e0,libonce_cell-5c42cc25c3567235,libbacktrace-92b50ea0dd934e4b,libminiz_oxide-8654d7313752cde2,libadler-f4caa73e14204bdd,libobject-14969ada7153149a,libmemchr-4f0714dc45d95749,liblibc-425e88939e68e02d,libaddr2line-f10642941edd682d,libgimli-54e909d6d5339c51,libcfg_if-33ef6c02a07f9fec,librustc_demangle-f257d5a904da7bce}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lkernel32" "-luser32" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcOTwnDw/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/displayz-300705647b77ea4f" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lkernel32 [INFO] [stdout] rust-lld: error: unable to find library -luser32 [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `displayz` (bin "displayz") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "ca537a7d258f4e1b243493c7c4cae11deb88e6900b3fc9ce22a37033341c1c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca537a7d258f4e1b243493c7c4cae11deb88e6900b3fc9ce22a37033341c1c69", kill_on_drop: false }` [INFO] [stdout] ca537a7d258f4e1b243493c7c4cae11deb88e6900b3fc9ce22a37033341c1c69