[INFO] cloning repository https://github.com/thy1037/reqwest_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thy1037/reqwest_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthy1037%2Freqwest_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthy1037%2Freqwest_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3db724fe53fa4d11a4df43e4108713c4caf03fcf [INFO] checking thy1037/reqwest_demo against master#249595384b4589c71a00d622c4253f62c7f5ddbd for pr-127054 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthy1037%2Freqwest_demo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thy1037/reqwest_demo on toolchain 249595384b4589c71a00d622c4253f62c7f5ddbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thy1037/reqwest_demo [INFO] finished tweaking git repo https://github.com/thy1037/reqwest_demo [INFO] tweaked toml for git repo https://github.com/thy1037/reqwest_demo written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thy1037/reqwest_demo 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" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "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 thy1037/reqwest_demo against try#3a8bed575a08bd69d7fd880c6a28c07854726e3b for pr-127054 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthy1037%2Freqwest_demo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thy1037/reqwest_demo on toolchain 3a8bed575a08bd69d7fd880c6a28c07854726e3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a8bed575a08bd69d7fd880c6a28c07854726e3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thy1037/reqwest_demo [INFO] finished tweaking git repo https://github.com/thy1037/reqwest_demo [INFO] tweaked toml for git repo https://github.com/thy1037/reqwest_demo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thy1037/reqwest_demo 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" "+3a8bed575a08bd69d7fd880c6a28c07854726e3b" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking thy1037/reqwest_demo against try#3a8bed575a08bd69d7fd880c6a28c07854726e3b for pr-127054 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthy1037%2Freqwest_demo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thy1037/reqwest_demo on toolchain 3a8bed575a08bd69d7fd880c6a28c07854726e3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a8bed575a08bd69d7fd880c6a28c07854726e3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thy1037/reqwest_demo [INFO] finished tweaking git repo https://github.com/thy1037/reqwest_demo [INFO] tweaked toml for git repo https://github.com/thy1037/reqwest_demo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thy1037/reqwest_demo 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" "+3a8bed575a08bd69d7fd880c6a28c07854726e3b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+3a8bed575a08bd69d7fd880c6a28c07854726e3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dca91b960a57a00cde76b9d937200c66eff69889e8ebdc2603ee76701b69d3c5 [INFO] running `Command { std: "docker" "start" "-a" "dca91b960a57a00cde76b9d937200c66eff69889e8ebdc2603ee76701b69d3c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dca91b960a57a00cde76b9d937200c66eff69889e8ebdc2603ee76701b69d3c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca91b960a57a00cde76b9d937200c66eff69889e8ebdc2603ee76701b69d3c5", kill_on_drop: false }` [INFO] [stdout] dca91b960a57a00cde76b9d937200c66eff69889e8ebdc2603ee76701b69d3c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+3a8bed575a08bd69d7fd880c6a28c07854726e3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebbe2a3bfddb784a1eb8951f30c39ceb2682cd82f05f86c4c9d48ffe25ade86d [INFO] running `Command { std: "docker" "start" "-a" "ebbe2a3bfddb784a1eb8951f30c39ceb2682cd82f05f86c4c9d48ffe25ade86d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.25 [INFO] [stderr] Checking reqwest_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | async fn process(backend: Arc, msg: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | async fn process(backend: Arc, msg: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let rsp = backend.to_owned() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let rsp = backend.to_owned() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `request_builder` method cannot be invoked on a trait object [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .request_builder(&msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^ this has a `Sized` requirement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `request_builder` method cannot be invoked on a trait object [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .request_builder(&msg) [INFO] [stdout] | ^^^^^^^^^^^^^^^ this has a `Sized` requirement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let rsp = backend.to_owned() [INFO] [stdout] | _______________^ [INFO] [stdout] 38 | | .request_builder(&msg) [INFO] [stdout] | |______________________________^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let rsp = backend.to_owned() [INFO] [stdout] | _______________^ [INFO] [stdout] 38 | | .request_builder(&msg) [INFO] [stdout] | |______________________________^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `outcome` method cannot be invoked on a trait object [INFO] [stdout] --> src/main.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(backend.outcome(&out)) [INFO] [stdout] | ^^^^^^^ this has a `Sized` requirement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `outcome` method cannot be invoked on a trait object [INFO] [stdout] --> src/main.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(backend.outcome(&out)) [INFO] [stdout] | ^^^^^^^ this has a `Sized` requirement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(backend.outcome(&out)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(backend.outcome(&out)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let mut backends: Vec::> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | let mut backends: Vec::> = Vec::new(); [INFO] [stdout] | ^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | backends.push(Arc::new(Baidu::new("baidu"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] = note: required for the cast from `Arc` to `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | backends.push(Arc::new(Qq::new("qq"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | backends.push(Arc::new(Qq::new("qq"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] = note: required for the cast from `Arc` to `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | let mut handles = Vec::with_capacity(backends.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | for backend in backends { [INFO] [stdout] | ^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let mut backends: Vec::> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | handles.push(tokio::spawn(process(backend, input))) [INFO] [stdout] | ^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | let mut backends: Vec::> = Vec::new(); [INFO] [stdout] | ^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | backends.push(Arc::new(Baidu::new("baidu"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] = note: required for the cast from `Arc` to `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | backends.push(Arc::new(Qq::new("qq"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | backends.push(Arc::new(Qq::new("qq"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] = note: required for the cast from `Arc` to `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | let mut handles = Vec::with_capacity(backends.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | for backend in backends { [INFO] [stdout] | ^^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Invoke` cannot be made into an object [INFO] [stdout] --> src/main.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | handles.push(tokio::spawn(process(backend, input))) [INFO] [stdout] | ^^^^^^^ `Invoke` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/platform/invoke.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Invoke: Send + Sync + Copy { [INFO] [stdout] | ------ ^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait cannot be made into an object... [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `Invoke` for this new enum and using it instead: [INFO] [stdout] platform::baidu::Baidu [INFO] [stdout] platform::qq::Qq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest_demo` (bin "reqwest_demo" test) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `reqwest_demo` (bin "reqwest_demo") due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "ebbe2a3bfddb784a1eb8951f30c39ceb2682cd82f05f86c4c9d48ffe25ade86d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebbe2a3bfddb784a1eb8951f30c39ceb2682cd82f05f86c4c9d48ffe25ade86d", kill_on_drop: false }` [INFO] [stdout] ebbe2a3bfddb784a1eb8951f30c39ceb2682cd82f05f86c4c9d48ffe25ade86d