[INFO] fetching crate relegram 0.1.13... [INFO] testing relegram-0.1.13 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate relegram 0.1.13 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate relegram 0.1.13 [INFO] finished tweaking crates.io crate relegram 0.1.13 [INFO] tweaked toml for crates.io crate relegram 0.1.13 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate relegram 0.1.13 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 151 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.7.0) [INFO] [stderr] Adding hyper-tls v0.3.2 (available: v0.6.0) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4684e68ac4dc02dde7334abeb031124f190f250e573b43a7cea530006381575 [INFO] running `Command { std: "docker" "start" "-a" "c4684e68ac4dc02dde7334abeb031124f190f250e573b43a7cea530006381575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4684e68ac4dc02dde7334abeb031124f190f250e573b43a7cea530006381575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4684e68ac4dc02dde7334abeb031124f190f250e573b43a7cea530006381575", kill_on_drop: false }` [INFO] [stdout] c4684e68ac4dc02dde7334abeb031124f190f250e573b43a7cea530006381575 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 128f322f598b46499c0efe1a3799b63ccdc3d4a019dfea33f3046b88cbe293d4 [INFO] running `Command { std: "docker" "start" "-a" "128f322f598b46499c0efe1a3799b63ccdc3d4a019dfea33f3046b88cbe293d4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling relegram v0.1.13 (/opt/rustwide/workdir) [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/requests/send_media_group.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[derive(Serialize, Debug, Clone)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[deny(legacy_derive_helpers)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/responses/message.rs:411:43 [INFO] [stdout] | [INFO] [stdout] 411 | ... date: Utc.timestamp(date as i64, 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/responses/message.rs:414:66 [INFO] [stdout] | [INFO] [stdout] 414 | ... edit_date: edit_date.map(|x| Utc.timestamp(x as i64, 0)), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/responses/message.rs:140:52 [INFO] [stdout] | [INFO] [stdout] 140 | ... original_date: Utc.timestamp(date as i64, 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/responses/message.rs:149:48 [INFO] [stdout] | [INFO] [stdout] 149 | ... original_date: Utc.timestamp(date as i64, 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/responses/message.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | ... original_date: Utc.timestamp(date as i64, 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/responses/raw/message.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `photo`, `description`, `invite_link`, `pinned_message`, `sticker_set_name`, and `can_set_sticker_set` are never read [INFO] [stdout] --> src/responses/raw/chat.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Chat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub photo: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub invite_link: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub pinned_message: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub sticker_set_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub can_set_sticker_set: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `small_file_id` and `big_file_id` are never read [INFO] [stdout] --> src/responses/raw/chat.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ChatPhoto { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 23 | pub small_file_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub big_file_id: String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatPhoto` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `relegram` (lib) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "128f322f598b46499c0efe1a3799b63ccdc3d4a019dfea33f3046b88cbe293d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "128f322f598b46499c0efe1a3799b63ccdc3d4a019dfea33f3046b88cbe293d4", kill_on_drop: false }` [INFO] [stdout] 128f322f598b46499c0efe1a3799b63ccdc3d4a019dfea33f3046b88cbe293d4