[INFO] cloning repository https://github.com/sandyc372/rust-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sandyc372/rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandyc372%2Frust-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandyc372%2Frust-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 061f80fda67b1ee1ceb42c6a77947afdc9de73bf [INFO] checking sandyc372/rust-demo against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandyc372%2Frust-demo" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sandyc372/rust-demo [INFO] finished tweaking git repo https://github.com/sandyc372/rust-demo [INFO] tweaked toml for git repo https://github.com/sandyc372/rust-demo written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sandyc372/rust-demo on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sandyc372/rust-demo 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clipboard_wayland v0.1.0 [INFO] [stderr] Downloaded iced_style v0.1.0 [INFO] [stderr] Downloaded iced_native v0.2.2 [INFO] [stderr] Downloaded svg_fmt v0.2.1 [INFO] [stderr] Downloaded iced_wgpu v0.2.3 [INFO] [stderr] Downloaded iced_web v0.2.1 [INFO] [stderr] Downloaded guillotiere v0.4.4 [INFO] [stderr] Downloaded iced_winit v0.1.0 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.4.3 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.4.6 [INFO] [stderr] Downloaded glam v0.8.7 [INFO] [stderr] Downloaded wgpu_glyph v0.7.0 [INFO] [stderr] Downloaded gfx-backend-metal v0.4.5 [INFO] [stderr] Downloaded iced_core v0.2.1 [INFO] [stderr] Downloaded iced_futures v0.1.2 [INFO] [stderr] Downloaded window_clipboard v0.1.1 [INFO] [stderr] Downloaded iced v0.1.1 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9c6264f6a4ee408e8ca3468d7c3a9c83d6cb8c7fe05d73c4fe33ceecab74a6a [INFO] running `Command { std: "docker" "start" "-a" "f9c6264f6a4ee408e8ca3468d7c3a9c83d6cb8c7fe05d73c4fe33ceecab74a6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9c6264f6a4ee408e8ca3468d7c3a9c83d6cb8c7fe05d73c4fe33ceecab74a6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9c6264f6a4ee408e8ca3468d7c3a9c83d6cb8c7fe05d73c4fe33ceecab74a6a", kill_on_drop: false }` [INFO] [stdout] f9c6264f6a4ee408e8ca3468d7c3a9c83d6cb8c7fe05d73c4fe33ceecab74a6a [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4d5a8f93327dc9b8627fb41db4b0efac93460993c389741bd4e90672c0f19b8 [INFO] running `Command { std: "docker" "start" "-a" "b4d5a8f93327dc9b8627fb41db4b0efac93460993c389741bd4e90672c0f19b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking gfx-hal v0.4.1 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking relevant v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking ash v0.29.0 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking colorful v0.2.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking rendy-memory v0.5.2 [INFO] [stderr] Checking rendy-descriptor v0.5.1 [INFO] [stderr] Checking gfx-backend-empty v0.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Checking euclid v0.20.13 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking iced_core v0.2.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking zerocopy v0.2.8 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking svg_fmt v0.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking instant v0.1.4 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking guillotiere v0.4.4 [INFO] [stderr] Checking font-kit v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Checking iced_style v0.1.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking gfx-backend-vulkan v0.4.3 [INFO] [stderr] Checking wgpu-native v0.4.3 [INFO] [stderr] Checking wgpu v0.4.0 [INFO] [stderr] Checking wgpu_glyph v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking iced_futures v0.1.2 [INFO] [stderr] Checking iced_native v0.2.2 [INFO] [stderr] Checking iced_wgpu v0.2.3 [INFO] [stderr] Checking clipboard_x11 v0.1.0 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking smithay-clipboard v0.3.7 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking clipboard_wayland v0.1.0 [INFO] [stderr] Checking window_clipboard v0.1.1 [INFO] [stderr] Checking iced_winit v0.1.0 [INFO] [stderr] Checking iced v0.1.1 [INFO] [stderr] Checking rust_examle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iced_test/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn view(&mut self) -> Element { [INFO] [stdout] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 42 | fn view(&mut self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factorial_chains/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | insert(&mut head.as_mut(), new_number); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = insert(&mut head.as_mut(), new_number); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iced_test/mod.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn view(&mut self) -> Element { [INFO] [stdout] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 42 | fn view(&mut self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factorial_chains/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | insert(&mut head.as_mut(), new_number); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = insert(&mut head.as_mut(), new_number); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "b4d5a8f93327dc9b8627fb41db4b0efac93460993c389741bd4e90672c0f19b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d5a8f93327dc9b8627fb41db4b0efac93460993c389741bd4e90672c0f19b8", kill_on_drop: false }` [INFO] [stdout] b4d5a8f93327dc9b8627fb41db4b0efac93460993c389741bd4e90672c0f19b8