[INFO] cloning repository https://github.com/sq-music/file-upload [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sq-music/file-upload" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsq-music%2Ffile-upload", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsq-music%2Ffile-upload'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfd5c61b91dfa7d144e77d37f90e79eaed08643c [INFO] testing sq-music/file-upload against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsq-music%2Ffile-upload" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sq-music/file-upload [INFO] finished tweaking git repo https://github.com/sq-music/file-upload [INFO] tweaked toml for git repo https://github.com/sq-music/file-upload written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sq-music/file-upload on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sq-music/file-upload 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8e77c57b19183b25f9a4c4a92ece5e81cff1c822dd4ccca3555a9f4ca48e10f [INFO] running `Command { std: "docker" "start" "-a" "c8e77c57b19183b25f9a4c4a92ece5e81cff1c822dd4ccca3555a9f4ca48e10f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8e77c57b19183b25f9a4c4a92ece5e81cff1c822dd4ccca3555a9f4ca48e10f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e77c57b19183b25f9a4c4a92ece5e81cff1c822dd4ccca3555a9f4ca48e10f", kill_on_drop: false }` [INFO] [stdout] c8e77c57b19183b25f9a4c4a92ece5e81cff1c822dd4ccca3555a9f4ca48e10f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 904dadbeb544bf7876c46fc54a81566dbbf93c7eaf4e097a657d54551441fcb0 [INFO] running `Command { std: "docker" "start" "-a" "904dadbeb544bf7876c46fc54a81566dbbf93c7eaf4e097a657d54551441fcb0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling file-upload v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `header2json` [INFO] [stdout] --> src/routes/index.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{_full, full, header2json, Req, Res}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::Engine` [INFO] [stdout] --> src/routes/upload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64::Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Full` [INFO] [stdout] --> src/routes/upload.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use http_body_util::{BodyStream, Full}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Req` and `header2json` [INFO] [stdout] --> src/routes/upload.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{_full, full, header2json, Req, Res}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `full` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use file_upload::{empty, full}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BodyExt`, `Empty`, `Full`, and `combinators::BoxBody` [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use http_body_util::{combinators::BoxBody, BodyExt, Empty, Full}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/main.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use hyper::{Method, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bytes::Bytes: From>` is not satisfied [INFO] [stdout] --> src/routes/upload.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | let mut multipart: Multipart<'_> = Multipart::new(stream, boundary); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From>` is not implemented for `bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `bytes::Bytes` implements `From<&[u8]>` [INFO] [stdout] `bytes::Bytes` implements `From<&str>` [INFO] [stdout] `bytes::Bytes` implements `From>` [INFO] [stdout] `bytes::Bytes` implements `From` [INFO] [stdout] `bytes::Bytes` implements `From` [INFO] [stdout] `bytes::Bytes` implements `From>` [INFO] [stdout] `bytes::Bytes` implements `From` [INFO] [stdout] `bytes::Bytes` implements `From>` [INFO] [stdout] and 2 others [INFO] [stdout] = note: required for `hyper::body::Frame` to implement `Into` [INFO] [stdout] note: required by a bound in `Multipart::<'r>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/multer-3.1.0/src/multipart.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(stream: S, boundary: B) -> Self [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 108 | O: Into + 'static, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Multipart::<'r>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/routes/index.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn index(req: Req) -> Res { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file-upload` (bin "file-upload") due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "904dadbeb544bf7876c46fc54a81566dbbf93c7eaf4e097a657d54551441fcb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "904dadbeb544bf7876c46fc54a81566dbbf93c7eaf4e097a657d54551441fcb0", kill_on_drop: false }` [INFO] [stdout] 904dadbeb544bf7876c46fc54a81566dbbf93c7eaf4e097a657d54551441fcb0