[INFO] cloning repository https://github.com/dabreegster/streetcad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dabreegster/streetcad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdabreegster%2Fstreetcad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdabreegster%2Fstreetcad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd3d10a3d6e8c42fd90f9167e3af0d49c1a2d699 [INFO] testing dabreegster/streetcad against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdabreegster%2Fstreetcad" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dabreegster/streetcad on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dabreegster/streetcad [INFO] finished tweaking git repo https://github.com/dabreegster/streetcad [INFO] tweaked toml for git repo https://github.com/dabreegster/streetcad written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/dabreegster/streetcad already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8895a3dea9806b45ce15fcd74808764a2fc6c2391f8b2f43dd5cd321305b16cf [INFO] running `Command { std: "docker" "start" "-a" "8895a3dea9806b45ce15fcd74808764a2fc6c2391f8b2f43dd5cd321305b16cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8895a3dea9806b45ce15fcd74808764a2fc6c2391f8b2f43dd5cd321305b16cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8895a3dea9806b45ce15fcd74808764a2fc6c2391f8b2f43dd5cd321305b16cf", kill_on_drop: false }` [INFO] [stdout] 8895a3dea9806b45ce15fcd74808764a2fc6c2391f8b2f43dd5cd321305b16cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1f451218d9ef66ba65b531e75474b055101a61ededb402f65a99042129cd2a8b [INFO] running `Command { std: "docker" "start" "-a" "1f451218d9ef66ba65b531e75474b055101a61ededb402f65a99042129cd2a8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling pdqselect v0.1.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling unicode-general-category v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling ttf-parser v0.9.0 [INFO] [stderr] Compiling robust v0.2.2 [INFO] [stderr] Compiling float-cmp v0.5.3 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling unicode-script v0.5.2 [INFO] [stderr] Compiling robust v0.1.2 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling unicode-ccc v0.1.0 [INFO] [stderr] Compiling rctree v0.3.3 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling histogram v0.6.9 [INFO] [stderr] Compiling pico-args v0.3.4 [INFO] [stderr] Compiling earcutr v0.1.1 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling geographiclib-rs v0.2.0 [INFO] [stderr] Compiling kurbo v0.7.1 [INFO] [stderr] Compiling data-url v0.1.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling aabb-quadtree v0.1.0 [INFO] [stderr] Compiling svgtypes v0.5.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling roxmltree v0.13.1 [INFO] [stderr] Compiling lru v0.6.3 [INFO] [stderr] Compiling simplecss v0.2.0 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling euclid v0.22.1 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling as-slice v0.1.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling lyon_geom v0.16.2 [INFO] [stderr] Compiling fontdb v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rustybuzz v0.3.0 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling lyon_path v0.16.2 [INFO] [stderr] Compiling wayland-client v0.28.2 [INFO] [stderr] Compiling wayland-protocols v0.28.2 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling rstar v0.8.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling lyon_algorithms v0.16.0 [INFO] [stderr] Compiling lyon_tessellation v0.16.2 [INFO] [stderr] Compiling geo-types v0.6.2 [INFO] [stderr] Compiling geo v0.14.2 [INFO] [stderr] Compiling geo v0.16.0 [INFO] [stderr] Compiling geo-booleanop v0.3.2 [INFO] [stderr] Compiling lyon v0.16.2 [INFO] [stderr] Compiling usvg v0.13.1 [INFO] [stderr] Compiling wayland-commons v0.28.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling wayland-cursor v0.28.2 [INFO] [stderr] Compiling wayland-egl v0.28.2 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling polylabel v2.3.1 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling ordered-float v2.0.1 [INFO] [stderr] Compiling abstutil v0.1.0 (https://github.com/dabreegster/abstreet#cbf07633) [INFO] [stderr] Compiling geojson v0.21.0 [INFO] [stderr] Compiling geom v0.1.0 (https://github.com/dabreegster/abstreet#cbf07633) [INFO] [stderr] Compiling smithay-client-toolkit v0.12.1 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling widgetry v0.1.0 (https://github.com/dabreegster/abstreet#cbf07633) [INFO] [stdout] error[E0310]: the parameter type `A` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 30 | impl App { [INFO] [stdout] | -- help: consider adding an explicit lifetime bound...: `A: 'static +` [INFO] [stdout] ... [INFO] [stdout] 38 | .event(ctx, &mut self.shared_app_state); [INFO] [stdout] | ^^^^^ ...so that the type `(dyn app_state::State + 'static)` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait State: downcast_rs::Downcast { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `A` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 30 | impl App { [INFO] [stdout] | -- help: consider adding an explicit lifetime bound...: `A: 'static +` [INFO] [stdout] ... [INFO] [stdout] 50 | match state.draw_baselayer() { [INFO] [stdout] | ^^^^^^^^^^^^^^ ...so that the type `dyn app_state::State` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait State: downcast_rs::Downcast { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `A` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:57:62 [INFO] [stdout] | [INFO] [stdout] 30 | impl App { [INFO] [stdout] | -- help: consider adding an explicit lifetime bound...: `A: 'static +` [INFO] [stdout] ... [INFO] [stdout] 57 | match self.states[self.states.len() - 2].draw_baselayer() { [INFO] [stdout] | ^^^^^^^^^^^^^^ ...so that the type `(dyn app_state::State + 'static)` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait State: downcast_rs::Downcast { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `A` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 30 | impl App { [INFO] [stdout] | -- help: consider adding an explicit lifetime bound...: `A: 'static +` [INFO] [stdout] ... [INFO] [stdout] 91 | state.on_destroy(ctx, &mut self.shared_app_state); [INFO] [stdout] | ^^^^^^^^^^ ...so that the type `dyn app_state::State` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait State: downcast_rs::Downcast { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `A` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl App { [INFO] [stdout] | -- help: consider adding an explicit lifetime bound...: `A: 'static +` [INFO] [stdout] ... [INFO] [stdout] 114 | last.on_destroy(ctx, &mut self.shared_app_state); [INFO] [stdout] | ^^^^^^^^^^ ...so that the type `dyn app_state::State` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait State: downcast_rs::Downcast { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `A` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl App { [INFO] [stdout] | -- help: consider adding an explicit lifetime bound...: `A: 'static +` [INFO] [stdout] ... [INFO] [stdout] 127 | .on_destroy(ctx, &mut self.shared_app_state); [INFO] [stdout] | ^^^^^^^^^^ ...so that the type `dyn app_state::State` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait State: downcast_rs::Downcast { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `A` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 30 | impl App { [INFO] [stdout] | -- help: consider adding an explicit lifetime bound...: `A: 'static +` [INFO] [stdout] ... [INFO] [stdout] 136 | .on_destroy(ctx, &mut self.shared_app_state); [INFO] [stdout] | ^^^^^^^^^^ ...so that the type `dyn app_state::State` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/abstreet-636df8184f0147a4/cbf0763/widgetry/src/app_state.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait State: downcast_rs::Downcast { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `widgetry` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "1f451218d9ef66ba65b531e75474b055101a61ededb402f65a99042129cd2a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f451218d9ef66ba65b531e75474b055101a61ededb402f65a99042129cd2a8b", kill_on_drop: false }` [INFO] [stdout] 1f451218d9ef66ba65b531e75474b055101a61ededb402f65a99042129cd2a8b