[INFO] cloning repository https://github.com/ratnia1a/rust-quite-shit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ratnia1a/rust-quite-shit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratnia1a%2Frust-quite-shit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratnia1a%2Frust-quite-shit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9621ae3de3fae05551eb3144c3ec72febb54921b [INFO] checking ratnia1a/rust-quite-shit against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratnia1a%2Frust-quite-shit" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ratnia1a/rust-quite-shit [INFO] finished tweaking git repo https://github.com/ratnia1a/rust-quite-shit [INFO] tweaked toml for git repo https://github.com/ratnia1a/rust-quite-shit written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ratnia1a/rust-quite-shit on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ratnia1a/rust-quite-shit 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5b2aaa91240c6218f2c926d6dd0f77eac5e8ada2901a90bb4d51e987ddf69463 [INFO] running `Command { std: "docker" "start" "5b2aaa91240c6218f2c926d6dd0f77eac5e8ada2901a90bb4d51e987ddf69463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b2aaa91240c6218f2c926d6dd0f77eac5e8ada2901a90bb4d51e987ddf69463" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b2aaa91240c6218f2c926d6dd0f77eac5e8ada2901a90bb4d51e987ddf69463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b2aaa91240c6218f2c926d6dd0f77eac5e8ada2901a90bb4d51e987ddf69463" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking memchr v2.8.1 [INFO] [stderr] Checking writeable v0.6.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking litemap v0.8.2 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling zerocopy v0.8.50 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking log v0.4.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking num-conv v0.2.2 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-sys v1.1.29 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.4 [INFO] [stderr] Checking mio v1.2.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking twilight-model v0.15.4 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tungstenite v0.18.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking twilight-http-ratelimiting v0.15.3 [INFO] [stderr] Checking twilight-gateway-queue v0.15.4 [INFO] [stderr] Checking tokio-tungstenite v0.18.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-rustls v0.23.2 [INFO] [stderr] Checking twilight-validate v0.15.3 [INFO] [stderr] Checking twilight-cache-inmemory v0.15.4 [INFO] [stderr] Checking twilight-http v0.15.4 [INFO] [stderr] Checking twilight-gateway v0.15.4 [INFO] [stderr] Checking mula v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | let mut shard = Shard::new(ShardId::from(0u64), token, intents); [INFO] [stdout] | ------------- ^^^^ expected `ShardId`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | let mut shard = Shard::new(ShardId::from(0u64), token, intents); [INFO] [stdout] | ------------- ^^^^ expected `ShardId`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for struct `Shard` in the current scope [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | shard.start().await.expect("Failed to start shard"); [INFO] [stdout] | ^^^^^ method not found in `Shard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for struct `Shard` in the current scope [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | shard.start().await.expect("Failed to start shard"); [INFO] [stdout] | ^^^^^ method not found in `Shard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next` exists for struct `Shard`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | while let Some(event) = shard.next().await { [INFO] [stdout] | ^^^^ method cannot be called on `Shard` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/twilight-gateway-0.15.4/src/shard.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct Shard { [INFO] [stdout] | ---------------- doesn't satisfy `Shard: StreamExt` or `Shard: Stream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Shard: Stream` [INFO] [stdout] which is required by `Shard: StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, MessageValidationError>` is not a future [INFO] [stdout] --> src/main.rs:27:94 [INFO] [stdout] | [INFO] [stdout] 27 | if let Err(e) = http.create_message(message.channel_id).content("Pong!").await { [INFO] [stdout] | ^^^^^ `Result, MessageValidationError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, MessageValidationError>` [INFO] [stdout] = note: Result, MessageValidationError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, MessageValidationError>` to implement `std::future::IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mula-de43fb9c96f7b072.long-type-12731968941949178579.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 27 - if let Err(e) = http.create_message(message.channel_id).content("Pong!").await { [INFO] [stdout] 27 + if let Err(e) = http.create_message(message.channel_id).content("Pong!") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next` exists for struct `Shard`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | while let Some(event) = shard.next().await { [INFO] [stdout] | ^^^^ method cannot be called on `Shard` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/twilight-gateway-0.15.4/src/shard.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct Shard { [INFO] [stdout] | ---------------- doesn't satisfy `Shard: StreamExt` or `Shard: Stream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Shard: Stream` [INFO] [stdout] which is required by `Shard: StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mula` (bin "mula") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `Result, MessageValidationError>` is not a future [INFO] [stdout] --> src/main.rs:27:94 [INFO] [stdout] | [INFO] [stdout] 27 | if let Err(e) = http.create_message(message.channel_id).content("Pong!").await { [INFO] [stdout] | ^^^^^ `Result, MessageValidationError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, MessageValidationError>` [INFO] [stdout] = note: Result, MessageValidationError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, MessageValidationError>` to implement `std::future::IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mula-1e53e9f786c1fb70.long-type-13997701235514697225.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 27 - if let Err(e) = http.create_message(message.channel_id).content("Pong!").await { [INFO] [stdout] 27 + if let Err(e) = http.create_message(message.channel_id).content("Pong!") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `mula` (bin "mula" test) due to 4 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5b2aaa91240c6218f2c926d6dd0f77eac5e8ada2901a90bb4d51e987ddf69463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2aaa91240c6218f2c926d6dd0f77eac5e8ada2901a90bb4d51e987ddf69463", kill_on_drop: false }` [INFO] [stdout] 5b2aaa91240c6218f2c926d6dd0f77eac5e8ada2901a90bb4d51e987ddf69463