[INFO] cloning repository https://github.com/Megadash452/rocket-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Megadash452/rocket-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMegadash452%2Frocket-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMegadash452%2Frocket-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cae495cbf51bf2d036f982ccbd46d2f28cdfde46 [INFO] building Megadash452/rocket-server against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMegadash452%2Frocket-server" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Megadash452/rocket-server on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Megadash452/rocket-server [INFO] finished tweaking git repo https://github.com/Megadash452/rocket-server [INFO] tweaked toml for git repo https://github.com/Megadash452/rocket-server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Megadash452/rocket-server 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" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nonempty v0.8.1 [INFO] [stderr] Downloaded markdown v1.0.0-alpha.11 [INFO] [stderr] Downloaded yansi v1.0.0-rc [INFO] [stderr] Downloaded handlebars v4.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d47f10ce271d995be9fd8c11a6ec787a94df36b7aabedf632707497ee72dad37 [INFO] running `Command { std: "docker" "start" "-a" "d47f10ce271d995be9fd8c11a6ec787a94df36b7aabedf632707497ee72dad37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d47f10ce271d995be9fd8c11a6ec787a94df36b7aabedf632707497ee72dad37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47f10ce271d995be9fd8c11a6ec787a94df36b7aabedf632707497ee72dad37", kill_on_drop: false }` [INFO] [stdout] d47f10ce271d995be9fd8c11a6ec787a94df36b7aabedf632707497ee72dad37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9e036ed39a7fba918cd1b95a841a9fa75c2ab8029b5389ad8bb2ac830fe520b [INFO] running `Command { std: "docker" "start" "-a" "e9e036ed39a7fba918cd1b95a841a9fa75c2ab8029b5389ad8bb2ac830fe520b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling serde v1.0.174 [INFO] [stderr] Compiling serde_derive v1.0.174 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling value-bag v1.4.1 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling yansi v1.0.0-rc [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-macros v0.2.10 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling ref-cast v1.0.19 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling async-lock v2.7.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ghash v0.5.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling winnow v0.5.0 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling aes-gcm v0.10.2 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling time v0.3.23 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling figment v0.10.10 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling rocket v0.5.0-rc.3 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling blocking v1.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tempfile v3.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling ubyte v0.10.3 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling async-process v1.7.0 [INFO] [stderr] Compiling utf8-width v0.1.6 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling notify v5.2.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling toml v0.7.6 [INFO] [stderr] Compiling implicit-clone v0.3.5 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling unicode-id v0.3.3 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling normpath v1.1.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling markdown v1.0.0-alpha.11 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling argon2 v0.4.1 [INFO] [stderr] Compiling nonempty v0.8.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling pear_codegen v0.2.7 [INFO] [stderr] Compiling ref-cast-impl v1.0.19 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling yew-macro v0.20.0 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pear v0.2.7 [INFO] [stderr] Compiling js-sys v0.3.64 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling pest v2.7.1 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.3 [INFO] [stderr] Compiling pest_meta v2.7.1 [INFO] [stderr] Compiling web-sys v0.3.64 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.37 [INFO] [stderr] Compiling serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling pest_generator v2.7.1 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.3 [INFO] [stderr] Compiling pest_derive v2.7.1 [INFO] [stderr] Compiling handlebars v4.3.7 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling gloo-utils v0.1.7 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling gloo-console v0.2.3 [INFO] [stderr] Compiling gloo-net v0.3.0 [INFO] [stderr] Compiling gloo-storage v0.2.2 [INFO] [stderr] Compiling gloo-history v0.1.4 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo-worker v0.2.1 [INFO] [stderr] Compiling gloo v0.8.1 [INFO] [stderr] Compiling yew v0.20.0 [INFO] [stderr] Compiling rocket_dyn_templates v0.1.0-rc.3 [INFO] [stderr] Compiling rocket-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dir_browser` [INFO] [stdout] --> src/file_browser.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn dir_browser(path: PathBuf) -> ResResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serve_css` [INFO] [stdout] --> src/sass.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn serve_css(path: SassPath) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/archives/osts.rs:260:4 [INFO] [stdout] | [INFO] [stdout] 260 | fn index() -> Redirect { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `albums` [INFO] [stdout] --> src/archives/osts.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn albums(user: Option) -> Html { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_album` [INFO] [stdout] --> src/archives/osts.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn view_album(user: Option, album_dir_name: String) -> Result, AlbumReadError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_song` [INFO] [stdout] --> src/archives/osts.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn view_song(user: Option, album_dir_name: String, song_file_name: String) -> Result, SongReadError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `song_file` [INFO] [stdout] --> src/archives/osts.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | async fn song_file(album_dir_name: String, song_file_name: String) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/archives/games.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | const NORMAL_FILE_CONTENT: &str = "normal"; [INFO] [stdout] | ^ [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 #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 161 | const NORMAL_FILE_CONTENT: &'static str = "normal"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/archives/games.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | const VIRTUAL_FILES_DIR: &str = "./target/games-files/"; [INFO] [stdout] | ^ [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 #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 162 | const VIRTUAL_FILES_DIR: &'static str = "./target/games-files/"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/archives/games.rs:388:4 [INFO] [stdout] | [INFO] [stdout] 388 | fn index(user: Option) -> Html { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game` [INFO] [stdout] --> src/archives/games.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | fn game(user: Option, game: String) -> Result, GameReadError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file` [INFO] [stdout] --> src/archives/games.rs:401:4 [INFO] [stdout] | [INFO] [stdout] 401 | fn file(game: String, first: String, rest: PathBuf) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/auth/mod.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / struct Creds<'a> { [INFO] [stdout] 78 | | username: &'a str, [INFO] [stdout] 79 | | password: &'a str [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/auth/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | async fn index(jar: &CookieJar<'_>, users: &State, error: Option>) -> Result, R... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login` [INFO] [stdout] --> src/auth/mod.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | async fn login(jar: &CookieJar<'_>, users: &State, creds: Form>) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/auth/mod.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | async fn logout(jar: &CookieJar<'_>, users: &State) -> Redirect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/auth/mod.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | async fn index(users: &State) -> Result, Redirect> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index_admin` [INFO] [stdout] --> src/auth/mod.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | async fn index_admin(_admin: Admin, error: Option>) -> Html { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register` [INFO] [stdout] --> src/auth/mod.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | async fn register( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/auth/mod.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | async fn index(users: &State, error: Option>) -> Result, Forbidden<()>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `admin_register` [INFO] [stdout] --> src/auth/mod.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | async fn admin_register(users: &State, password: Form<&str>) -> Outcome> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::UserInfo as AlbumBrowserProps` [INFO] [stdout] --> src/components/osts.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::components::UserInfo as AlbumBrowserProps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.52s [INFO] running `Command { std: "docker" "inspect" "e9e036ed39a7fba918cd1b95a841a9fa75c2ab8029b5389ad8bb2ac830fe520b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e036ed39a7fba918cd1b95a841a9fa75c2ab8029b5389ad8bb2ac830fe520b", kill_on_drop: false }` [INFO] [stdout] e9e036ed39a7fba918cd1b95a841a9fa75c2ab8029b5389ad8bb2ac830fe520b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a84c54e395bd0f4b302be8845f71e8b7a323c5963d57170fa35abdac1dd9131f [INFO] running `Command { std: "docker" "start" "-a" "a84c54e395bd0f4b302be8845f71e8b7a323c5963d57170fa35abdac1dd9131f", kill_on_drop: false }` [INFO] [stderr] Compiling rocket-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dir_browser` [INFO] [stdout] --> src/file_browser.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn dir_browser(path: PathBuf) -> ResResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serve_css` [INFO] [stdout] --> src/sass.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn serve_css(path: SassPath) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/archives/osts.rs:260:4 [INFO] [stdout] | [INFO] [stdout] 260 | fn index() -> Redirect { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `albums` [INFO] [stdout] --> src/archives/osts.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn albums(user: Option) -> Html { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_album` [INFO] [stdout] --> src/archives/osts.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn view_album(user: Option, album_dir_name: String) -> Result, AlbumReadError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view_song` [INFO] [stdout] --> src/archives/osts.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn view_song(user: Option, album_dir_name: String, song_file_name: String) -> Result, SongReadError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `song_file` [INFO] [stdout] --> src/archives/osts.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | async fn song_file(album_dir_name: String, song_file_name: String) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/archives/games.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | const NORMAL_FILE_CONTENT: &str = "normal"; [INFO] [stdout] | ^ [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 #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 161 | const NORMAL_FILE_CONTENT: &'static str = "normal"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/archives/games.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | const VIRTUAL_FILES_DIR: &str = "./target/games-files/"; [INFO] [stdout] | ^ [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 #115010 [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 162 | const VIRTUAL_FILES_DIR: &'static str = "./target/games-files/"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/archives/games.rs:388:4 [INFO] [stdout] | [INFO] [stdout] 388 | fn index(user: Option) -> Html { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game` [INFO] [stdout] --> src/archives/games.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | fn game(user: Option, game: String) -> Result, GameReadError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file` [INFO] [stdout] --> src/archives/games.rs:401:4 [INFO] [stdout] | [INFO] [stdout] 401 | fn file(game: String, first: String, rest: PathBuf) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/auth/mod.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / struct Creds<'a> { [INFO] [stdout] 78 | | username: &'a str, [INFO] [stdout] 79 | | password: &'a str [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/auth/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | async fn index(jar: &CookieJar<'_>, users: &State, error: Option>) -> Result, R... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `login` [INFO] [stdout] --> src/auth/mod.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | async fn login(jar: &CookieJar<'_>, users: &State, creds: Form>) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/auth/mod.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | async fn logout(jar: &CookieJar<'_>, users: &State) -> Redirect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/auth/mod.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | async fn index(users: &State) -> Result, Redirect> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index_admin` [INFO] [stdout] --> src/auth/mod.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | async fn index_admin(_admin: Admin, error: Option>) -> Html { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register` [INFO] [stdout] --> src/auth/mod.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | async fn register( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `index` [INFO] [stdout] --> src/auth/mod.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | async fn index(users: &State, error: Option>) -> Result, Forbidden<()>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `admin_register` [INFO] [stdout] --> src/auth/mod.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | async fn admin_register(users: &State, password: Form<&str>) -> Outcome> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::UserInfo as AlbumBrowserProps` [INFO] [stdout] --> src/components/osts.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::components::UserInfo as AlbumBrowserProps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.75s [INFO] running `Command { std: "docker" "inspect" "a84c54e395bd0f4b302be8845f71e8b7a323c5963d57170fa35abdac1dd9131f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84c54e395bd0f4b302be8845f71e8b7a323c5963d57170fa35abdac1dd9131f", kill_on_drop: false }` [INFO] [stdout] a84c54e395bd0f4b302be8845f71e8b7a323c5963d57170fa35abdac1dd9131f