[INFO] cloning repository https://github.com/DuckerMan/vk_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DuckerMan/vk_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuckerMan%2Fvk_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuckerMan%2Fvk_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3147b2d04e22635954dd9cd11b85b67c4f7ff2d8 [INFO] testing DuckerMan/vk_api against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuckerMan%2Fvk_api" "/workspace/builds/worker-42/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-42/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DuckerMan/vk_api on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DuckerMan/vk_api [INFO] finished tweaking git repo https://github.com/DuckerMan/vk_api [INFO] tweaked toml for git repo https://github.com/DuckerMan/vk_api written to /workspace/builds/worker-42/source/Cargo.toml [INFO] crate git repo https://github.com/DuckerMan/vk_api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 syn v1.0.27 [INFO] [stderr] Downloaded pin-project-lite v0.1.5 [INFO] [stderr] Downloaded miow v0.3.4 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.12 [INFO] [stderr] Downloaded web-sys v0.3.39 [INFO] [stderr] Downloaded pin-project v0.4.17 [INFO] [stderr] Downloaded pin-project-internal v0.4.17 [INFO] [stderr] Downloaded bumpalo v3.3.0 [INFO] [stderr] Downloaded openssl-sys v0.9.57 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3b8d7ed894828c4e93b92e49f412186de315806554c8981d7e9a49ae8982b18 [INFO] running `Command { std: "docker" "start" "-a" "e3b8d7ed894828c4e93b92e49f412186de315806554c8981d7e9a49ae8982b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3b8d7ed894828c4e93b92e49f412186de315806554c8981d7e9a49ae8982b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b8d7ed894828c4e93b92e49f412186de315806554c8981d7e9a49ae8982b18", kill_on_drop: false }` [INFO] [stdout] e3b8d7ed894828c4e93b92e49f412186de315806554c8981d7e9a49ae8982b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f36b1c08f838aa7536ce66b5726cd578f9435a6cf35d097e93084ee51e0d120d [INFO] running `Command { std: "docker" "start" "-a" "f36b1c08f838aa7536ce66b5726cd578f9435a6cf35d097e93084ee51e0d120d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.57 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling vkapi v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `updates` is never read [INFO] [stdout] --> src/longpoll.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut updates = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error_code` [INFO] [stdout] --> src/types/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) error_code: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `VkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `failed` [INFO] [stdout] --> src/types/longpoll.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) failed: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FailedLongpollResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/longpoll.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts` [INFO] [stdout] --> src/types/longpoll.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) ts: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FailedLongpollResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/longpoll.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.81s [INFO] running `Command { std: "docker" "inspect" "f36b1c08f838aa7536ce66b5726cd578f9435a6cf35d097e93084ee51e0d120d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36b1c08f838aa7536ce66b5726cd578f9435a6cf35d097e93084ee51e0d120d", kill_on_drop: false }` [INFO] [stdout] f36b1c08f838aa7536ce66b5726cd578f9435a6cf35d097e93084ee51e0d120d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9d2b2bbec5e0d1d6b30803e49690d31f46c63ec28543d5d150f40fccde8e564 [INFO] running `Command { std: "docker" "start" "-a" "e9d2b2bbec5e0d1d6b30803e49690d31f46c63ec28543d5d150f40fccde8e564", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stdout] warning: value assigned to `updates` is never read [INFO] [stdout] --> src/longpoll.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut updates = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error_code` [INFO] [stdout] --> src/types/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) error_code: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `VkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `failed` [INFO] [stdout] --> src/types/longpoll.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) failed: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FailedLongpollResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/longpoll.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts` [INFO] [stdout] --> src/types/longpoll.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) ts: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FailedLongpollResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/longpoll.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling vkapi v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `vkapi` due to 3 previous errors [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> examples/longpoll.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | while let Some(update) = stream.next().await { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/get_group_members.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | let mut vk_api = vkapi::VK::new("5.103", "en"); [INFO] [stdout] | ^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/upload_file.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | let mut vk_api = vkapi::VK::new("5.103", "ru"); [INFO] [stdout] | ^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/get_group_members.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | let mut vk_api = vkapi::VK::new("5.103", "en"); [INFO] [stdout] | ^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/upload_file.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | let mut vk_api = vkapi::VK::new("5.103", "ru"); [INFO] [stdout] | ^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/upload_file.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let r = vk_api.upload(file).await.unwrap(); [INFO] [stdout] | ^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/vk.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | pub async fn upload( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PhotoUploadResponse` doesn't implement `std::fmt::Display` [INFO] [stdout] --> examples/upload_file.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | println!("{}", r); [INFO] [stdout] | ^ `PhotoUploadResponse` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `PhotoUploadResponse` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: value assigned to `updates` is never read [INFO] [stdout] --> src/longpoll.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut updates = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/types/mod.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let response = r#" [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error_code` [INFO] [stdout] --> src/types/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) error_code: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `VkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `failed` [INFO] [stdout] --> src/types/longpoll.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) failed: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FailedLongpollResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/longpoll.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts` [INFO] [stdout] --> src/types/longpoll.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) ts: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FailedLongpollResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/longpoll.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_deserialize_longpoll_update` [INFO] [stdout] --> src/types/mod.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn test_deserialize_longpoll_update() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e9d2b2bbec5e0d1d6b30803e49690d31f46c63ec28543d5d150f40fccde8e564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9d2b2bbec5e0d1d6b30803e49690d31f46c63ec28543d5d150f40fccde8e564", kill_on_drop: false }` [INFO] [stdout] e9d2b2bbec5e0d1d6b30803e49690d31f46c63ec28543d5d150f40fccde8e564