[INFO] cloning repository https://github.com/HamzaKarh/rocket-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HamzaKarh/rocket-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHamzaKarh%2Frocket-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHamzaKarh%2Frocket-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e05a40004d20e50287bc81b4ed6b31769e4a7a5 [INFO] checking HamzaKarh/rocket-api against master#568f6a8641e391ffcdcdb03e79d0901731d8d399 for pr-117164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHamzaKarh%2Frocket-api" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HamzaKarh/rocket-api on toolchain 568f6a8641e391ffcdcdb03e79d0901731d8d399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HamzaKarh/rocket-api [INFO] finished tweaking git repo https://github.com/HamzaKarh/rocket-api [INFO] tweaked toml for git repo https://github.com/HamzaKarh/rocket-api written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HamzaKarh/rocket-api 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" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking HamzaKarh/rocket-api against try#eb3956d47f58f1c7c0a5694b1d3401945bc41dce for pr-117164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHamzaKarh%2Frocket-api" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HamzaKarh/rocket-api on toolchain eb3956d47f58f1c7c0a5694b1d3401945bc41dce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HamzaKarh/rocket-api [INFO] finished tweaking git repo https://github.com/HamzaKarh/rocket-api [INFO] tweaked toml for git repo https://github.com/HamzaKarh/rocket-api written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HamzaKarh/rocket-api 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" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking HamzaKarh/rocket-api against try#eb3956d47f58f1c7c0a5694b1d3401945bc41dce for pr-117164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHamzaKarh%2Frocket-api" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HamzaKarh/rocket-api on toolchain eb3956d47f58f1c7c0a5694b1d3401945bc41dce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HamzaKarh/rocket-api [INFO] finished tweaking git repo https://github.com/HamzaKarh/rocket-api [INFO] tweaked toml for git repo https://github.com/HamzaKarh/rocket-api written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HamzaKarh/rocket-api 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" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded groupable v0.2.0 [INFO] [stderr] Downloaded tiny_http v0.6.4 [INFO] [stderr] Downloaded rocket_contrib_codegen v0.4.11 [INFO] [stderr] Downloaded rocket_contrib v0.4.11 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.6 [INFO] [stderr] Downloaded mustache v0.9.0 [INFO] [stderr] Downloaded ascii v0.8.7 [INFO] [stderr] Downloaded nickel v0.11.0 [INFO] [stderr] Downloaded rocket_upload v0.1.0 [INFO] [stderr] Downloaded chunked_transfer v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f3a0d916b4e1629199ccfeaee96967575c780eb0877e96e36abe12c54d3534a [INFO] running `Command { std: "docker" "start" "-a" "7f3a0d916b4e1629199ccfeaee96967575c780eb0877e96e36abe12c54d3534a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f3a0d916b4e1629199ccfeaee96967575c780eb0877e96e36abe12c54d3534a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f3a0d916b4e1629199ccfeaee96967575c780eb0877e96e36abe12c54d3534a", kill_on_drop: false }` [INFO] [stdout] 7f3a0d916b4e1629199ccfeaee96967575c780eb0877e96e36abe12c54d3534a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4263163ed9c1bb41dc17f353f2b7f976e2e9a7fd3978e62ddd37d84727bd0f99 [INFO] running `Command { std: "docker" "start" "-a" "4263163ed9c1bb41dc17f353f2b7f976e2e9a7fd3978e62ddd37d84727bd0f99", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling pear_codegen v0.1.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling rocket_codegen v0.4.11 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling rocket v0.4.11 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking scheduled-thread-pool v0.2.6 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.11 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking groupable v0.2.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking filetime v0.2.17 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Compiling devise_core v0.2.1 [INFO] [stderr] Checking tiny_http v0.6.4 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling devise_codegen v0.2.1 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Compiling devise v0.2.1 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Compiling pear v0.1.5 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking rocket_http v0.4.11 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking rocket_upload v0.1.0 [INFO] [stderr] Checking rocket_contrib v0.4.11 [INFO] [stderr] Checking rocket-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/entities/files/file.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::{self, delete, get, post}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/entities/files/file.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket::{self, delete, get, post}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TextPart: UndecoratedInsertRecord` is not satisfied [INFO] [stdout] --> src/entities/files/file.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | .values(&file_fields) [INFO] [stdout] | ^^^^^^ the trait `UndecoratedInsertRecord` is not implemented for `TextPart` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `UndecoratedInsertRecord`: [INFO] [stdout] > [INFO] [stdout] as UndecoratedInsertRecord<::Table>> [INFO] [stdout] as UndecoratedInsertRecord
> [INFO] [stdout] as UndecoratedInsertRecord<::Table>> [INFO] [stdout] as UndecoratedInsertRecord
> [INFO] [stdout] as UndecoratedInsertRecord
> [INFO] [stdout] as UndecoratedInsertRecord<::Table>> [INFO] [stdout] as UndecoratedInsertRecord
> [INFO] [stdout] and 35 others [INFO] [stdout] = note: required for `&TextPart` to implement `UndecoratedInsertRecord` [INFO] [stdout] = note: required for `&[TextPart]` to implement `Insertable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TextPart: UndecoratedInsertRecord` is not satisfied [INFO] [stdout] --> src/entities/files/file.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | .values(&file_fields) [INFO] [stdout] | ^^^^^^ the trait `UndecoratedInsertRecord` is not implemented for `TextPart` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `UndecoratedInsertRecord
`: [INFO] [stdout] > [INFO] [stdout] as UndecoratedInsertRecord<::Table>> [INFO] [stdout] as UndecoratedInsertRecord
> [INFO] [stdout] as UndecoratedInsertRecord<::Table>> [INFO] [stdout] as UndecoratedInsertRecord
> [INFO] [stdout] as UndecoratedInsertRecord
> [INFO] [stdout] as UndecoratedInsertRecord<::Table>> [INFO] [stdout] as UndecoratedInsertRecord
> [INFO] [stdout] and 35 others [INFO] [stdout] = note: required for `&TextPart` to implement `UndecoratedInsertRecord` [INFO] [stdout] = note: required for `&[TextPart]` to implement `Insertable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&TextPart: Insertable` is not satisfied [INFO] [stdout] --> src/entities/files/file.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | .get_result(&*conn) [INFO] [stdout] | ---------- ^^^^^^ the trait `Insertable` is not implemented for `&TextPart` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Insertable`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] as Insertable> [INFO] [stdout] as Insertable<::Table>> [INFO] [stdout] as Insertable> [INFO] [stdout] as Insertable> [INFO] [stdout] > [INFO] [stdout] and 76 others [INFO] [stdout] = note: required for `BatchInsert<'_, TextPart, schema::files::table>` to implement `QueryFragment<_>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `InsertStatement, Insert, ReturningClause<(id, title, dir)>>` to implement `QueryFragment<_>` [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/rocket_api-aab5d18238314ba2.long-type-7886803177443459439.txt' [INFO] [stdout] = note: required for `InsertStatement>` to implement `LoadQuery<_, _>` [INFO] [stdout] note: required by a bound in `get_result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/query_dsl/mod.rs:1288:15 [INFO] [stdout] | [INFO] [stdout] 1286 | fn get_result(self, conn: &Conn) -> QueryResult [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1287 | where [INFO] [stdout] 1288 | Self: LoadQuery, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::get_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&TextPart: Insertable` is not satisfied [INFO] [stdout] --> src/entities/files/file.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | .get_result(&*conn) [INFO] [stdout] | ---------- ^^^^^^ the trait `Insertable` is not implemented for `&TextPart` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Insertable`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] as Insertable> [INFO] [stdout] as Insertable<::Table>> [INFO] [stdout] as Insertable> [INFO] [stdout] as Insertable> [INFO] [stdout] > [INFO] [stdout] and 76 others [INFO] [stdout] = note: required for `BatchInsert<'_, TextPart, schema::files::table>` to implement `QueryFragment<_>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `InsertStatement, Insert, ReturningClause<(id, title, dir)>>` to implement `QueryFragment<_>` [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/rocket_api-9db58ac4d4670ac5.long-type-13220076932096812664.txt' [INFO] [stdout] = note: required for `InsertStatement>` to implement `LoadQuery<_, _>` [INFO] [stdout] note: required by a bound in `get_result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.8/src/query_dsl/mod.rs:1288:15 [INFO] [stdout] | [INFO] [stdout] 1286 | fn get_result(self, conn: &Conn) -> QueryResult [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1287 | where [INFO] [stdout] 1288 | Self: LoadQuery, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::get_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `rocket::http::uri::Path` in the current scope [INFO] [stdout] --> src/entities/files/file.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | f.persist(Path::new("upload")); [INFO] [stdout] | ^^^ variant or associated item not found in `Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `rocket::http::uri::Path` in the current scope [INFO] [stdout] --> src/entities/files/file.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | f.persist(Path::new("upload")); [INFO] [stdout] | ^^^ variant or associated item not found in `Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&rocket::http::hyper::header::ContentType: FromRequest<'_, '_>` is not satisfied [INFO] [stdout] --> src/entities/files/file.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn upload(content_type: &ContentType, data: MultipartDatas) -> Html { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `FromRequest<'_, '_>` is not implemented for `&rocket::http::hyper::header::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRequest<'a, 'r>`: [INFO] [stdout] db_connect::DbConn [INFO] [stdout] Cookies<'a> [INFO] [stdout] rocket::http::Method [INFO] [stdout] rocket::State<'r, T> [INFO] [stdout] Flash<&'a rocket::Request<'r>> [INFO] [stdout] std::net::SocketAddr [INFO] [stdout] std::option::Option [INFO] [stdout] Result>::Error> [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&rocket::http::hyper::header::ContentType: FromRequest<'_, '_>` is not satisfied [INFO] [stdout] --> src/entities/files/file.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn upload(content_type: &ContentType, data: MultipartDatas) -> Html { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `FromRequest<'_, '_>` is not implemented for `&rocket::http::hyper::header::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRequest<'a, 'r>`: [INFO] [stdout] db_connect::DbConn [INFO] [stdout] Cookies<'a> [INFO] [stdout] rocket::http::Method [INFO] [stdout] rocket::State<'r, T> [INFO] [stdout] Flash<&'a rocket::Request<'r>> [INFO] [stdout] std::net::SocketAddr [INFO] [stdout] std::option::Option [INFO] [stdout] Result>::Error> [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&rocket::http::hyper::header::ContentType: FromRequest<'_, '_>` is not satisfied [INFO] [stdout] --> src/entities/files/file.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | fn upload(content_type: &ContentType, data: MultipartDatas) -> Html { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromRequest<'_, '_>` is not implemented for `&rocket::http::hyper::header::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRequest<'a, 'r>`: [INFO] [stdout] db_connect::DbConn [INFO] [stdout] Cookies<'a> [INFO] [stdout] rocket::http::Method [INFO] [stdout] rocket::State<'r, T> [INFO] [stdout] Flash<&'a rocket::Request<'r>> [INFO] [stdout] std::net::SocketAddr [INFO] [stdout] std::option::Option [INFO] [stdout] Result>::Error> [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&rocket::http::hyper::header::ContentType: FromRequest<'_, '_>` is not satisfied [INFO] [stdout] --> src/entities/files/file.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | fn upload(content_type: &ContentType, data: MultipartDatas) -> Html { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromRequest<'_, '_>` is not implemented for `&rocket::http::hyper::header::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRequest<'a, 'r>`: [INFO] [stdout] db_connect::DbConn [INFO] [stdout] Cookies<'a> [INFO] [stdout] rocket::http::Method [INFO] [stdout] rocket::State<'r, T> [INFO] [stdout] Flash<&'a rocket::Request<'r>> [INFO] [stdout] std::net::SocketAddr [INFO] [stdout] std::option::Option [INFO] [stdout] Result>::Error> [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket-api` (bin "rocket-api") due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rocket-api` (bin "rocket-api" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4263163ed9c1bb41dc17f353f2b7f976e2e9a7fd3978e62ddd37d84727bd0f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4263163ed9c1bb41dc17f353f2b7f976e2e9a7fd3978e62ddd37d84727bd0f99", kill_on_drop: false }` [INFO] [stdout] 4263163ed9c1bb41dc17f353f2b7f976e2e9a7fd3978e62ddd37d84727bd0f99