[INFO] fetching crate tbot 0.6.7... [INFO] checking tbot-0.6.7 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate tbot 0.6.7 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate tbot 0.6.7 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tbot 0.6.7 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tbot 0.6.7 [INFO] tweaked toml for crates.io crate tbot 0.6.7 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate tbot 0.6.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 013829585ae274fedd13ae4f10c4016534a7417ed606fcb87f81d9f5508e90a6 [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" "013829585ae274fedd13ae4f10c4016534a7417ed606fcb87f81d9f5508e90a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "013829585ae274fedd13ae4f10c4016534a7417ed606fcb87f81d9f5508e90a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "013829585ae274fedd13ae4f10c4016534a7417ed606fcb87f81d9f5508e90a6", kill_on_drop: false }` [INFO] [stdout] 013829585ae274fedd13ae4f10c4016534a7417ed606fcb87f81d9f5508e90a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70fca4fbabb10f1d41086dd7d49885028a6e22784b8ecfbd849ab67b01db7931 [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" "70fca4fbabb10f1d41086dd7d49885028a6e22784b8ecfbd849ab67b01db7931", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking meval v0.2.0 [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] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking typed-headers v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling is-macro v0.1.8 [INFO] [stderr] Checking tracing v0.1.21 [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 futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking hyper-proxy v0.6.0 [INFO] [stderr] Checking tbot v0.6.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/errors/method_call.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | response.\n\n\ [INFO] [stdout] | ______________________________^ [INFO] [stdout] 52 | | [INFO] [stdout] 53 | | The response was: {response:?}\n\ [INFO] [stdout] | |________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/errors/method_call.rs:66:74 [INFO] [stdout] | [INFO] [stdout] 66 | {error_code} `{description}`. Additional information:\n\n\ [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | - migrate_to_chat_id: {chat_id:?}\n\ [INFO] [stdout] | |________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BOT_TOKEN` not defined [INFO] [stdout] --> src/bot.rs:1086:21 [INFO] [stdout] | [INFO] [stdout] 1086 | let token = env!($var).to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1126 | let _ = from_env!("BOT_TOKEN"); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BOT_TOKEN` not defined [INFO] [stdout] --> src/bot.rs:1086:21 [INFO] [stdout] | [INFO] [stdout] 1086 | let token = env!($var).to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1127 | let _ = from_env!("BOT_TOKEN",); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BOT_TOKEN` not defined [INFO] [stdout] --> src/bot.rs:1093:21 [INFO] [stdout] | [INFO] [stdout] 1093 | let token = env!($var).to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1130 | let _ = from_env!("BOT_TOKEN", proxy); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BOT_TOKEN` not defined [INFO] [stdout] --> src/bot.rs:1093:21 [INFO] [stdout] | [INFO] [stdout] 1093 | let token = env!($var).to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1133 | let _ = from_env!("BOT_TOKEN", proxy,); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/errors/https_webhook.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Is)] [INFO] [stdout] | ^^ expected struct `native_tls::Error`, found tuple [INFO] [stdout] ... [INFO] [stdout] 18 | #[cfg(feature = "tls")] native_tls::Error, [INFO] [stdout] | ----------------- expected `native_tls::Error` because of return type [INFO] [stdout] | [INFO] [stdout] = note: expected struct `native_tls::Error` [INFO] [stdout] found tuple `(native_tls::Error,)` [INFO] [stdout] = note: this error originates in the derive macro `Is` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/errors/https_webhook.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Is)] [INFO] [stdout] | ^^ expected struct `native_tls::Error`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `native_tls::Error` [INFO] [stdout] found tuple `(native_tls::Error,)` [INFO] [stdout] = note: this error originates in the derive macro `Is` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tbot` due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/errors/method_call.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | response.\n\n\ [INFO] [stdout] | ______________________________^ [INFO] [stdout] 52 | | [INFO] [stdout] 53 | | The response was: {response:?}\n\ [INFO] [stdout] | |________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/errors/method_call.rs:66:74 [INFO] [stdout] | [INFO] [stdout] 66 | {error_code} `{description}`. Additional information:\n\n\ [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | - migrate_to_chat_id: {chat_id:?}\n\ [INFO] [stdout] | |________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/errors/https_webhook.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Is)] [INFO] [stdout] | ^^ expected struct `native_tls::Error`, found tuple [INFO] [stdout] ... [INFO] [stdout] 18 | #[cfg(feature = "tls")] native_tls::Error, [INFO] [stdout] | ----------------- expected `native_tls::Error` because of return type [INFO] [stdout] | [INFO] [stdout] = note: expected struct `native_tls::Error` [INFO] [stdout] found tuple `(native_tls::Error,)` [INFO] [stdout] = note: this error originates in the derive macro `Is` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/errors/https_webhook.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Is)] [INFO] [stdout] | ^^ expected struct `native_tls::Error`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `native_tls::Error` [INFO] [stdout] found tuple `(native_tls::Error,)` [INFO] [stdout] = note: this error originates in the derive macro `Is` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "70fca4fbabb10f1d41086dd7d49885028a6e22784b8ecfbd849ab67b01db7931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70fca4fbabb10f1d41086dd7d49885028a6e22784b8ecfbd849ab67b01db7931", kill_on_drop: false }` [INFO] [stdout] 70fca4fbabb10f1d41086dd7d49885028a6e22784b8ecfbd849ab67b01db7931