[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] testing HamzaKarh/rocket-api/9e05a40004d20e50287bc81b4ed6b31769e4a7a5 against nightly-2024-10-28 for randomize-layout [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHamzaKarh%2Frocket-api" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HamzaKarh/rocket-api on toolchain nightly-2024-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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-0-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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tiny_http v0.6.4 [INFO] [stderr] Downloaded mustache v0.9.0 [INFO] [stderr] Downloaded rocket_contrib_codegen v0.4.11 [INFO] [stderr] Downloaded rocket_contrib v0.4.11 [INFO] [stderr] Downloaded rocket_upload v0.1.0 [INFO] [stderr] Downloaded nickel v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f648ca7d242fc2f0b18d4bb02050c3ef53fc1aa10d79da3e90a21f64fe22bae [INFO] running `Command { std: "docker" "start" "-a" "6f648ca7d242fc2f0b18d4bb02050c3ef53fc1aa10d79da3e90a21f64fe22bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f648ca7d242fc2f0b18d4bb02050c3ef53fc1aa10d79da3e90a21f64fe22bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f648ca7d242fc2f0b18d4bb02050c3ef53fc1aa10d79da3e90a21f64fe22bae", kill_on_drop: false }` [INFO] [stdout] 6f648ca7d242fc2f0b18d4bb02050c3ef53fc1aa10d79da3e90a21f64fe22bae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a6c91df0edca229db4247a5e5100874df4b7768bb09518d6183dca4a63ed76f [INFO] running `Command { std: "docker" "start" "-a" "3a6c91df0edca229db4247a5e5100874df4b7768bb09518d6183dca4a63ed76f", 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] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling pear_codegen v0.1.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling rocket_codegen v0.4.11 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rocket v0.4.11 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.6 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.11 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling filetime v0.2.17 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tiny_http v0.6.4 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling devise_core v0.2.1 [INFO] [stderr] Compiling devise_codegen v0.2.1 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise v0.2.1 [INFO] [stderr] Compiling pear v0.1.5 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling rocket_http v0.4.11 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling rocket_upload v0.1.0 [INFO] [stderr] Compiling rocket_contrib v0.4.11 [INFO] [stderr] Compiling 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] 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`, which is required by `&[TextPart]: Insertable` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `UndecoratedInsertRecord`: [INFO] [stdout] `&'a T` implements `UndecoratedInsertRecord` [INFO] [stdout] `(A, B)` implements `UndecoratedInsertRecord` [INFO] [stdout] `(A, B, C)` implements `UndecoratedInsertRecord` [INFO] [stdout] `(A, B, C, D)` implements `UndecoratedInsertRecord` [INFO] [stdout] `(A, B, C, D, E)` implements `UndecoratedInsertRecord` [INFO] [stdout] `(A, B, C, D, E, F)` implements `UndecoratedInsertRecord` [INFO] [stdout] `(A, B, C, D, E, F, G)` implements `UndecoratedInsertRecord` [INFO] [stdout] `(A, B, C, D, E, F, G, H)` implements `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`, which is required by `InsertStatement>: LoadQuery<_, _>` [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] `&'a (A, B)` implements `Insertable` [INFO] [stdout] `&'a (A, B, C)` implements `Insertable` [INFO] [stdout] `&'a (A, B, C, D)` implements `Insertable` [INFO] [stdout] `&'a (A, B, C, D, E)` implements `Insertable` [INFO] [stdout] `&'a (A, B, C, D, E, F)` implements `Insertable` [INFO] [stdout] `&'a (A, B, C, D, E, F, G)` implements `Insertable` [INFO] [stdout] `&'a (A, B, C, D, E, F, G, H)` implements `Insertable` [INFO] [stdout] `&'a (A, B, C, D, E, F, G, H, I)` implements `Insertable` [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: 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rocket_api-edbb62e2f3eba85c.long-type-9686360332754972993.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] &'a rocket::http::Accept [INFO] [stdout] &'a rocket::http::ContentType [INFO] [stdout] &'a rocket::http::uri::Origin<'a> [INFO] [stdout] &'r Route [INFO] [stdout] Cookies<'a> [INFO] [stdout] Flash<&'a rocket::Request<'r>> [INFO] [stdout] Result>::Error> [INFO] [stdout] db_connect::DbConn [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] &'a rocket::http::Accept [INFO] [stdout] &'a rocket::http::ContentType [INFO] [stdout] &'a rocket::http::uri::Origin<'a> [INFO] [stdout] &'r Route [INFO] [stdout] Cookies<'a> [INFO] [stdout] Flash<&'a rocket::Request<'r>> [INFO] [stdout] Result>::Error> [INFO] [stdout] db_connect::DbConn [INFO] [stdout] and 4 others [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 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3a6c91df0edca229db4247a5e5100874df4b7768bb09518d6183dca4a63ed76f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6c91df0edca229db4247a5e5100874df4b7768bb09518d6183dca4a63ed76f", kill_on_drop: false }` [INFO] [stdout] 3a6c91df0edca229db4247a5e5100874df4b7768bb09518d6183dca4a63ed76f