[INFO] cloning repository https://github.com/xentec/ciri [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xentec/ciri" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxentec%2Fciri", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxentec%2Fciri'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 451432cfcc04e315dd64eaba9e3a4b4106e18fef [INFO] checking xentec/ciri against master#31ee872db5aae4750e3da1ca4ed1523c4356947f for pr-78461 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxentec%2Fciri" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xentec/ciri on toolchain 31ee872db5aae4750e3da1ca4ed1523c4356947f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+31ee872db5aae4750e3da1ca4ed1523c4356947f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xentec/ciri [INFO] finished tweaking git repo https://github.com/xentec/ciri [INFO] tweaked toml for git repo https://github.com/xentec/ciri written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/xentec/ciri already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+31ee872db5aae4750e3da1ca4ed1523c4356947f" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+31ee872db5aae4750e3da1ca4ed1523c4356947f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d16e62b3473a247457d6acf281c5c8d51bc0721470c2ce72371a118dca061408 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d16e62b3473a247457d6acf281c5c8d51bc0721470c2ce72371a118dca061408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d16e62b3473a247457d6acf281c5c8d51bc0721470c2ce72371a118dca061408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16e62b3473a247457d6acf281c5c8d51bc0721470c2ce72371a118dca061408", kill_on_drop: false }` [INFO] [stdout] d16e62b3473a247457d6acf281c5c8d51bc0721470c2ce72371a118dca061408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+31ee872db5aae4750e3da1ca4ed1523c4356947f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0c84fdf588a50f7e0b952fbd3e1d0ccff430c962c032b19a51b72ad7928413b4 [INFO] running `Command { std: "docker" "start" "-a" "0c84fdf588a50f7e0b952fbd3e1d0ccff430c962c032b19a51b72ad7928413b4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Compiling serenity v0.8.7 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling command_attr v0.2.0 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking fern v0.5.9 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Checking ciri v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/main.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | let mut data = client.data.lock(); [INFO] [stdout] | ^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/main.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | let mut data = client.data.lock(); [INFO] [stdout] | ^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | .on_mention(true) [INFO] [stdout] | ^^^^ expected enum `std::option::Option`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | msg.channel_id.say(format!("{}: failed: {}", msg.author.mention(), why.0)) [INFO] [stdout] | ^^^ ------------------------------------------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `command` found for struct `serenity::framework::StandardFramework` in the current scope [INFO] [stdout] --> src/main.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | .command("ping", |c| c.exec(ping)) [INFO] [stdout] | ^^^^^^^ method not found in `serenity::framework::StandardFramework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 184 | gld.edit_nickname(Some("ISIS")).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^ ------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | let mut reply = match chan.say("Pong!") { [INFO] [stdout] | ^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/main.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | let data = ctx.data.lock(); [INFO] [stdout] | ^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | if let Err(e) = reply.edit(|m| m.content(&format!("Pong! Latency: {}", latency.unwrap()))) [INFO] [stdout] | ^^^^ -------------------------------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_whitespace` found for reference `&serenity::framework::standard::Args` in the current scope [INFO] [stdout] --> src/main.rs:276:31 [INFO] [stdout] | [INFO] [stdout] 276 | pr0_fetch(ctx, msg, &(&args).split_whitespace().collect::>()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&serenity::framework::standard::Args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:300:33 [INFO] [stdout] | [INFO] [stdout] 300 | let mut reply = msg.channel_id.say(&format!("Searching for {}...", args[0]))?; [INFO] [stdout] | ^^^ ---------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/main.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | .map(|mut r| r.json::()); [INFO] [stdout] | ^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stdout] `impl Future: Iterator` [INFO] [stdout] which is required by `&mut impl Future: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 303 | .await.map(|mut r| r.json::()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 18 | use futures_util::future::future::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/main.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | let data = ctx.data.lock(); [INFO] [stdout] | ^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `image` on type `&&_` [INFO] [stdout] --> src/main.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | info!("Posting {}", &choosen.image); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/main.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | let mut data = ctx.data.lock(); [INFO] [stdout] | ^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | reply.edit(|m| [INFO] [stdout] | ___________^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected 2 arguments [INFO] [stdout] 346 | | { [INFO] [stdout] 347 | | let sub = if file_is_video(&choosen.image) { "vid" } else { "img" }; [INFO] [stdout] 348 | | m.content(format!("{}: https://{}.pr0gramm.com/{}", msg.author.mention(), sub, choosen.image)) [INFO] [stdout] 349 | | } [INFO] [stdout] | |_________- supplied 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | .on_mention(true) [INFO] [stdout] | ^^^^ expected enum `std::option::Option`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | msg.channel_id.say(format!("{}: failed: {}", msg.author.mention(), why.0)) [INFO] [stdout] | ^^^ ------------------------------------------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:372:33 [INFO] [stdout] | [INFO] [stdout] 372 | let mut reply = msg.channel_id.say(format!("checking {}", domain))?; [INFO] [stdout] | ^^^ ------------------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/main.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | .map_err(|e| format!("is not responding: {}", e)) [INFO] [stdout] | ^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 395 | .await.map_err(|e| format!("is not responding: {}", e)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 18 | use futures_util::future::try_future::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:408:8 [INFO] [stdout] | [INFO] [stdout] 408 | reply.edit(|m| [INFO] [stdout] | ___________^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected 2 arguments [INFO] [stdout] 409 | | m.content(format!("{}: {} {}", msg.author.mention(), domain, res))) [INFO] [stdout] | |______________________________________________________________________________- supplied 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `&serenity::framework::standard::Args` as `&str` [INFO] [stdout] --> src/main.rs:371:15 [INFO] [stdout] | [INFO] [stdout] 371 | let domain = &args as &str; [INFO] [stdout] | ^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `command` found for struct `serenity::framework::StandardFramework` in the current scope [INFO] [stdout] --> src/main.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | .command("ping", |c| c.exec(ping)) [INFO] [stdout] | ^^^^^^^ method not found in `serenity::framework::StandardFramework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 184 | gld.edit_nickname(Some("ISIS")).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^ ------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599, E0605, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | let mut reply = match chan.say("Pong!") { [INFO] [stdout] | ^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ciri` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/main.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | let data = ctx.data.lock(); [INFO] [stdout] | ^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | if let Err(e) = reply.edit(|m| m.content(&format!("Pong! Latency: {}", latency.unwrap()))) [INFO] [stdout] | ^^^^ -------------------------------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_whitespace` found for reference `&serenity::framework::standard::Args` in the current scope [INFO] [stdout] --> src/main.rs:276:31 [INFO] [stdout] | [INFO] [stdout] 276 | pr0_fetch(ctx, msg, &(&args).split_whitespace().collect::>()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&serenity::framework::standard::Args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:300:33 [INFO] [stdout] | [INFO] [stdout] 300 | let mut reply = msg.channel_id.say(&format!("Searching for {}...", args[0]))?; [INFO] [stdout] | ^^^ ---------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/main.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | .map(|mut r| r.json::()); [INFO] [stdout] | ^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stdout] `impl Future: Iterator` [INFO] [stdout] which is required by `&mut impl Future: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 303 | .await.map(|mut r| r.json::()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 18 | use futures_util::future::future::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/main.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | let data = ctx.data.lock(); [INFO] [stdout] | ^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `image` on type `&&_` [INFO] [stdout] --> src/main.rs:328:31 [INFO] [stdout] | [INFO] [stdout] 328 | info!("Posting {}", &choosen.image); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc>>` in the current scope [INFO] [stdout] --> src/main.rs:330:27 [INFO] [stdout] | [INFO] [stdout] 330 | let mut data = ctx.data.lock(); [INFO] [stdout] | ^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | reply.edit(|m| [INFO] [stdout] | ___________^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected 2 arguments [INFO] [stdout] 346 | | { [INFO] [stdout] 347 | | let sub = if file_is_video(&choosen.image) { "vid" } else { "img" }; [INFO] [stdout] 348 | | m.content(format!("{}: https://{}.pr0gramm.com/{}", msg.author.mention(), sub, choosen.image)) [INFO] [stdout] 349 | | } [INFO] [stdout] | |_________- supplied 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:372:33 [INFO] [stdout] | [INFO] [stdout] 372 | let mut reply = msg.channel_id.say(format!("checking {}", domain))?; [INFO] [stdout] | ^^^ ------------------------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/main.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | .map_err(|e| format!("is not responding: {}", e)) [INFO] [stdout] | ^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 395 | .await.map_err(|e| format!("is not responding: {}", e)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 18 | use futures_util::future::try_future::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:408:8 [INFO] [stdout] | [INFO] [stdout] 408 | reply.edit(|m| [INFO] [stdout] | ___________^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected 2 arguments [INFO] [stdout] 409 | | m.content(format!("{}: {} {}", msg.author.mention(), domain, res))) [INFO] [stdout] | |______________________________________________________________________________- supplied 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `&serenity::framework::standard::Args` as `&str` [INFO] [stdout] --> src/main.rs:371:15 [INFO] [stdout] | [INFO] [stdout] 371 | let domain = &args as &str; [INFO] [stdout] | ^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599, E0605, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0c84fdf588a50f7e0b952fbd3e1d0ccff430c962c032b19a51b72ad7928413b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c84fdf588a50f7e0b952fbd3e1d0ccff430c962c032b19a51b72ad7928413b4", kill_on_drop: false }` [INFO] [stdout] 0c84fdf588a50f7e0b952fbd3e1d0ccff430c962c032b19a51b72ad7928413b4