[INFO] cloning repository https://github.com/niooii/discord-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niooii/discord-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fdiscord-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fdiscord-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de059ce06cbae9164ebe920ed3e7fb3fcc25c266 [INFO] testing niooii/discord-rs against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fdiscord-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niooii/discord-rs on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/niooii/discord-rs [INFO] finished tweaking git repo https://github.com/niooii/discord-rs [INFO] tweaked toml for git repo https://github.com/niooii/discord-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/niooii/discord-rs 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tokio) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.tokio.versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded err-derive v0.3.1 [INFO] [stderr] Downloaded cookie_store v0.16.2 [INFO] [stderr] Downloaded value-bag v1.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d31f33d645dfdd15a44c2b68e521f26f785b18b91a633961418fbe30dba5deea [INFO] running `Command { std: "docker" "start" "-a" "d31f33d645dfdd15a44c2b68e521f26f785b18b91a633961418fbe30dba5deea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d31f33d645dfdd15a44c2b68e521f26f785b18b91a633961418fbe30dba5deea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d31f33d645dfdd15a44c2b68e521f26f785b18b91a633961418fbe30dba5deea", kill_on_drop: false }` [INFO] [stdout] d31f33d645dfdd15a44c2b68e521f26f785b18b91a633961418fbe30dba5deea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d55daffe4d7c6ace84837234a4fc5deacbb1243332c43eca964e417aa26efd19 [INFO] running `Command { std: "docker" "start" "-a" "d55daffe4d7c6ace84837234a4fc5deacbb1243332c43eca964e417aa26efd19", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tokio) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.tokio.versions [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling event-listener v4.0.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling async-lock v3.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling futures-lite v2.1.0 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling publicsuffix v2.2.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling polling v3.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling async-io v2.2.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] error: could not compile `rustix` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name rustix --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.28/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="event"' --cfg 'feature="fs"' --cfg 'feature="net"' --cfg 'feature="pipe"' --cfg 'feature="process"' --cfg 'feature="std"' --cfg 'feature="time"' -C metadata=47f47373a3442604 -C extra-filename=-47f47373a3442604 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-a6d0f7d4ff4836bf.rmeta --extern linux_raw_sys=/opt/rustwide/target/debug/deps/liblinux_raw_sys-3e4a555484dfc3ef.rmeta --cap-lints allow --cap-lints=forbid -Copt-level=3 --cfg static_assertions --cfg linux_raw --cfg linux_like --cfg linux_kernel` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d55daffe4d7c6ace84837234a4fc5deacbb1243332c43eca964e417aa26efd19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55daffe4d7c6ace84837234a4fc5deacbb1243332c43eca964e417aa26efd19", kill_on_drop: false }` [INFO] [stdout] d55daffe4d7c6ace84837234a4fc5deacbb1243332c43eca964e417aa26efd19 [INFO] testing niooii/discord-rs against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fdiscord-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niooii/discord-rs on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/niooii/discord-rs [INFO] finished tweaking git repo https://github.com/niooii/discord-rs [INFO] tweaked toml for git repo https://github.com/niooii/discord-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/niooii/discord-rs 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tokio) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.tokio.versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2d3c7c58544cc62c15a80eb97dbe5a507632e97bd92ef9d0c409c2b8dcde1e2 [INFO] running `Command { std: "docker" "start" "-a" "e2d3c7c58544cc62c15a80eb97dbe5a507632e97bd92ef9d0c409c2b8dcde1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2d3c7c58544cc62c15a80eb97dbe5a507632e97bd92ef9d0c409c2b8dcde1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d3c7c58544cc62c15a80eb97dbe5a507632e97bd92ef9d0c409c2b8dcde1e2", kill_on_drop: false }` [INFO] [stdout] e2d3c7c58544cc62c15a80eb97dbe5a507632e97bd92ef9d0c409c2b8dcde1e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21dce56219a9f6c17f37147c503dada123db9ac9a722aea6737bb58a454b25d0 [INFO] running `Command { std: "docker" "start" "-a" "21dce56219a9f6c17f37147c503dada123db9ac9a722aea6737bb58a454b25d0", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tokio) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.tokio.versions [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling event-listener v4.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling async-lock v3.2.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-lite v2.1.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling publicsuffix v2.2.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling polling v3.3.1 [INFO] [stderr] Compiling async-io v2.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling cookie_store v0.16.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling discord v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/channel.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Deserializer, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QueryError` is imported redundantly [INFO] [stdout] --> src/channel.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{http::QueryError, user_structs::*, endpoints}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use crate::http::{*, self}; [INFO] [stdout] | - the item `QueryError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/channel.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::http::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SeedableRng` is imported redundantly [INFO] [stdout] --> src/context.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SeedableRng` is already imported here [INFO] [stdout] 8 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `self` [INFO] [stdout] --> src/context.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::channel::{*, self}; [INFO] [stdout] | ^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user_structs::*` [INFO] [stdout] --> src/context.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::user_structs::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeaderName` [INFO] [stdout] --> src/http.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::header::{self, HeaderName}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/http.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/http.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(p) = payload { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/http.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | async fn validate_auth(auth: &String) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `res_to_type` is never used [INFO] [stdout] --> src/http.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn res_to_type(res: Response) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_auth` is never used [INFO] [stdout] --> src/http.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | async fn validate_auth(auth: &String) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CHANNEL` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn CHANNEL(channel_id: &str) -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SEND_MESSAGE` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn SEND_MESSAGE(channel_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `USER` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn USER(user_id: &str) -> String { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MESSAGES_BEFORE` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn MESSAGES_BEFORE(channel_id: &str, before_message_id: &str, limit: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.51s [INFO] running `Command { std: "docker" "inspect" "21dce56219a9f6c17f37147c503dada123db9ac9a722aea6737bb58a454b25d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21dce56219a9f6c17f37147c503dada123db9ac9a722aea6737bb58a454b25d0", kill_on_drop: false }` [INFO] [stdout] 21dce56219a9f6c17f37147c503dada123db9ac9a722aea6737bb58a454b25d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7038570f20bc1e2303df9c6253a6abec36cb4e15f42cdeef33ac213abc039181 [INFO] running `Command { std: "docker" "start" "-a" "7038570f20bc1e2303df9c6253a6abec36cb4e15f42cdeef33ac213abc039181", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tokio) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.tokio.versions [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/channel.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Deserializer, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QueryError` is imported redundantly [INFO] [stdout] --> src/channel.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{http::QueryError, user_structs::*, endpoints}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use crate::http::{*, self}; [INFO] [stdout] | - the item `QueryError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/channel.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::http::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SeedableRng` is imported redundantly [INFO] [stdout] --> src/context.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SeedableRng` is already imported here [INFO] [stdout] 8 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `self` [INFO] [stdout] --> src/context.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::channel::{*, self}; [INFO] [stdout] | ^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user_structs::*` [INFO] [stdout] --> src/context.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::user_structs::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeaderName` [INFO] [stdout] --> src/http.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::header::{self, HeaderName}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/http.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/http.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(p) = payload { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/http.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | async fn validate_auth(auth: &String) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `res_to_type` is never used [INFO] [stdout] --> src/http.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn res_to_type(res: Response) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_auth` is never used [INFO] [stdout] --> src/http.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | async fn validate_auth(auth: &String) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling discord v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `CHANNEL` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn CHANNEL(channel_id: &str) -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SEND_MESSAGE` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn SEND_MESSAGE(channel_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `USER` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn USER(user_id: &str) -> String { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MESSAGES_BEFORE` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn MESSAGES_BEFORE(channel_id: &str, before_message_id: &str, limit: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/channel.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Deserializer, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QueryError` is imported redundantly [INFO] [stdout] --> src/channel.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{http::QueryError, user_structs::*, endpoints}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use crate::http::{*, self}; [INFO] [stdout] | - the item `QueryError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/channel.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::http::{*, self}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SeedableRng` is imported redundantly [INFO] [stdout] --> src/context.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SeedableRng` is already imported here [INFO] [stdout] 8 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `self` [INFO] [stdout] --> src/context.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::channel::{*, self}; [INFO] [stdout] | ^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user_structs::*` [INFO] [stdout] --> src/context.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::user_structs::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeaderName` [INFO] [stdout] --> src/http.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::header::{self, HeaderName}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/http.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::{Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/http.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(p) = payload { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/http.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | async fn validate_auth(auth: &String) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `res_to_type` is never used [INFO] [stdout] --> src/http.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn res_to_type(res: Response) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_auth` is never used [INFO] [stdout] --> src/http.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | async fn validate_auth(auth: &String) {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CHANNEL` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn CHANNEL(channel_id: &str) -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SEND_MESSAGE` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn SEND_MESSAGE(channel_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `USER` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn USER(user_id: &str) -> String { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MESSAGES_BEFORE` should have a snake case name [INFO] [stdout] --> src/endpoints.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn MESSAGES_BEFORE(channel_id: &str, before_message_id: &str, limit: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "7038570f20bc1e2303df9c6253a6abec36cb4e15f42cdeef33ac213abc039181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7038570f20bc1e2303df9c6253a6abec36cb4e15f42cdeef33ac213abc039181", kill_on_drop: false }` [INFO] [stdout] 7038570f20bc1e2303df9c6253a6abec36cb4e15f42cdeef33ac213abc039181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4b3cd61c406147e1001078d6bd4c1b4322c995c91ff6ea88dbf6e0653c52b20c [INFO] running `Command { std: "docker" "start" "-a" "4b3cd61c406147e1001078d6bd4c1b4322c995c91ff6ea88dbf6e0653c52b20c", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tokio) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.tokio.versions [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/channel.rs:2:40 [INFO] [stderr] | [INFO] [stderr] 2 | use serde::{Deserialize, Deserializer, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `QueryError` is imported redundantly [INFO] [stderr] --> src/channel.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::{http::QueryError, user_structs::*, endpoints}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | use crate::http::{*, self}; [INFO] [stderr] | - the item `QueryError` is already imported here [INFO] [stderr] [INFO] [stderr] warning: unused import: `*` [INFO] [stderr] --> src/channel.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::http::{*, self}; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: the item `SeedableRng` is imported redundantly [INFO] [stderr] --> src/context.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | use rand::prelude::*; [INFO] [stderr] | ---------------- the item `SeedableRng` is already imported here [INFO] [stderr] 8 | use rand::SeedableRng; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `*`, `self` [INFO] [stderr] --> src/context.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::channel::{*, self}; [INFO] [stderr] | ^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::user_structs::*` [INFO] [stderr] --> src/context.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::user_structs::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HeaderName` [INFO] [stderr] --> src/http.rs:2:29 [INFO] [stderr] | [INFO] [stderr] 2 | use reqwest::header::{self, HeaderName}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `StatusCode` [INFO] [stderr] --> src/http.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use reqwest::{Response, StatusCode}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/http.rs:78:17 [INFO] [stderr] | [INFO] [stderr] 78 | if let Some(p) = payload { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `auth` [INFO] [stderr] --> src/http.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | async fn validate_auth(auth: &String) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stderr] [INFO] [stderr] warning: function `res_to_type` is never used [INFO] [stderr] --> src/http.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | async fn res_to_type(res: Response) -> Result [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `validate_auth` is never used [INFO] [stderr] --> src/http.rs:72:10 [INFO] [stderr] | [INFO] [stderr] 72 | async fn validate_auth(auth: &String) {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `CHANNEL` should have a snake case name [INFO] [stderr] --> src/endpoints.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn CHANNEL(channel_id: &str) -> String { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `channel` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `SEND_MESSAGE` should have a snake case name [INFO] [stderr] --> src/endpoints.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn SEND_MESSAGE(channel_id: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_message` [INFO] [stderr] [INFO] [stderr] warning: function `USER` should have a snake case name [INFO] [stderr] --> src/endpoints.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn USER(user_id: &str) -> String { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `user` [INFO] [stderr] [INFO] [stderr] warning: function `MESSAGES_BEFORE` should have a snake case name [INFO] [stderr] --> src/endpoints.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn MESSAGES_BEFORE(channel_id: &str, before_message_id: &str, limit: u8) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `messages_before` [INFO] [stderr] [INFO] [stderr] warning: `discord` (lib) generated 16 warnings (run `cargo fix --lib -p discord` to apply 6 suggestions) [INFO] [stderr] warning: `discord` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/discord-71f389277cc586f9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests discord [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4b3cd61c406147e1001078d6bd4c1b4322c995c91ff6ea88dbf6e0653c52b20c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3cd61c406147e1001078d6bd4c1b4322c995c91ff6ea88dbf6e0653c52b20c", kill_on_drop: false }` [INFO] [stdout] 4b3cd61c406147e1001078d6bd4c1b4322c995c91ff6ea88dbf6e0653c52b20c