[INFO] fetching crate rust_bucket 0.1.0... [INFO] testing rust_bucket-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate rust_bucket 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate rust_bucket 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust_bucket 0.1.0 [INFO] finished tweaking crates.io crate rust_bucket 0.1.0 [INFO] tweaked toml for crates.io crate rust_bucket 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7466d440e1cc8abc77baba9e5b035b6365cc76d456252cf2445ce0ad9b36aee0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7466d440e1cc8abc77baba9e5b035b6365cc76d456252cf2445ce0ad9b36aee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7466d440e1cc8abc77baba9e5b035b6365cc76d456252cf2445ce0ad9b36aee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7466d440e1cc8abc77baba9e5b035b6365cc76d456252cf2445ce0ad9b36aee0", kill_on_drop: false }` [INFO] [stdout] 7466d440e1cc8abc77baba9e5b035b6365cc76d456252cf2445ce0ad9b36aee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] b1ff28b21ee7bc18ed77543524b3fc8caaa830da103bde91b7538479bdb1d210 [INFO] running `Command { std: "docker" "start" "-a" "b1ff28b21ee7bc18ed77543524b3fc8caaa830da103bde91b7538479bdb1d210", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling adjective_adjective_animal v0.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cookie v0.11.3 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling rust_bucket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpListener` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/main.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | fn upload_tcp_stream(&self, mut stream: TcpStream) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [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 #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:230:45 [INFO] [stdout] | [INFO] [stdout] 230 | let backend = req.guard::>>()?; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Backend` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | fn web_post(backend: &Backend, paste: LenientForm) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | fn upload_put(backend: &Backend, paste: Data) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 279 | fn upload_post(backend: &Backend, paste: Data) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | fn upload_patch(backend: &Backend, paste: Data) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | fn upload_put_key(backend: &Backend, paste: Data, key: PasteID) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | fn upload_post_key(backend: &Backend, paste: Data, key: PasteID) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:299:31 [INFO] [stdout] | [INFO] [stdout] 299 | fn upload_patch_key(backend: &Backend, paste: Data, key: PasteID) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:304:18 [INFO] [stdout] | [INFO] [stdout] 304 | fn get(backend: &Backend, id: PasteID) -> Option> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:393:36 [INFO] [stdout] | [INFO] [stdout] 393 | rocket().manage(backend as Box).launch(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Backend + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_bucket`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b1ff28b21ee7bc18ed77543524b3fc8caaa830da103bde91b7538479bdb1d210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1ff28b21ee7bc18ed77543524b3fc8caaa830da103bde91b7538479bdb1d210", kill_on_drop: false }` [INFO] [stdout] b1ff28b21ee7bc18ed77543524b3fc8caaa830da103bde91b7538479bdb1d210