[INFO] cloning repository https://github.com/GEGAKE/rusty-webhook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GEGAKE/rusty-webhook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGEGAKE%2Frusty-webhook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGEGAKE%2Frusty-webhook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3b3e22e89fe3f30a86a47fc729ddd8c8d0f516e [INFO] testing GEGAKE/rusty-webhook against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGEGAKE%2Frusty-webhook" "/workspace/builds/worker-86/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-86/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 57% (1563/2715) Updating files: 58% (1575/2715) Updating files: 59% (1602/2715) Updating files: 60% (1629/2715) Updating files: 61% (1657/2715) Updating files: 62% (1684/2715) Updating files: 63% (1711/2715) Updating files: 64% (1738/2715) Updating files: 65% (1765/2715) Updating files: 66% (1792/2715) Updating files: 67% (1820/2715) Updating files: 67% (1833/2715) Updating files: 68% (1847/2715) Updating files: 69% (1874/2715) Updating files: 70% (1901/2715) Updating files: 71% (1928/2715) Updating files: 72% (1955/2715) Updating files: 73% (1982/2715) Updating files: 74% (2010/2715) Updating files: 74% (2022/2715) Updating files: 75% (2037/2715) Updating files: 76% (2064/2715) Updating files: 77% (2091/2715) Updating files: 77% (2106/2715) Updating files: 78% (2118/2715) Updating files: 79% (2145/2715) Updating files: 80% (2172/2715) Updating files: 81% (2200/2715) Updating files: 81% (2217/2715) Updating files: 82% (2227/2715) Updating files: 83% (2254/2715) Updating files: 84% (2281/2715) Updating files: 85% (2308/2715) Updating files: 86% (2335/2715) Updating files: 87% (2363/2715) Updating files: 88% (2390/2715) Updating files: 89% (2417/2715) Updating files: 90% (2444/2715) Updating files: 91% (2471/2715) Updating files: 92% (2498/2715) Updating files: 93% (2525/2715) Updating files: 94% (2553/2715) Updating files: 95% (2580/2715) Updating files: 96% (2607/2715) Updating files: 97% (2634/2715) Updating files: 98% (2661/2715) Updating files: 99% (2688/2715) Updating files: 100% (2715/2715) Updating files: 100% (2715/2715), done. [INFO] validating manifest of git repo https://github.com/GEGAKE/rusty-webhook on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GEGAKE/rusty-webhook [INFO] finished tweaking git repo https://github.com/GEGAKE/rusty-webhook [INFO] tweaked toml for git repo https://github.com/GEGAKE/rusty-webhook written to /workspace/builds/worker-86/source/Cargo.toml [INFO] crate git repo https://github.com/GEGAKE/rusty-webhook already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d706fe941d2367b2cd17fdf78733096c94b2e5c139fde352f88afed38697123 [INFO] running `Command { std: "docker" "start" "-a" "7d706fe941d2367b2cd17fdf78733096c94b2e5c139fde352f88afed38697123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d706fe941d2367b2cd17fdf78733096c94b2e5c139fde352f88afed38697123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d706fe941d2367b2cd17fdf78733096c94b2e5c139fde352f88afed38697123", kill_on_drop: false }` [INFO] [stdout] 7d706fe941d2367b2cd17fdf78733096c94b2e5c139fde352f88afed38697123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83b5e82caf1f87835e2a52637a482cd267f47dada99ac6d0fa98963684b00940 [INFO] running `Command { std: "docker" "start" "-a" "83b5e82caf1f87835e2a52637a482cd267f47dada99ac6d0fa98963684b00940", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling ureq v2.2.0 [INFO] [stderr] Compiling rusty-webhook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashMap`, `error::Error`, `result::*` [INFO] [stdout] --> src/lib.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap,result::*,error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> src/lib.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use ureq::{self, Response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `Serializer` [INFO] [stdout] --> src/lib.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{self,Result,Serializer}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `webhook` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct webhook { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Webhook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/lib.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let res = ureq::post(url) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/lib.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let res = ureq::post(url) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/lib.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | fn edit(&self, url: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gegake_webhook` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gegake_webhook::discord::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `gegake_webhook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_webhook` in this scope [INFO] [stdout] --> src/main.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | let webhook = create_webhook("http://aaa.com", "nickname", "test"); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rusty_webhook::discord::create_webhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-webhook` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "83b5e82caf1f87835e2a52637a482cd267f47dada99ac6d0fa98963684b00940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b5e82caf1f87835e2a52637a482cd267f47dada99ac6d0fa98963684b00940", kill_on_drop: false }` [INFO] [stdout] 83b5e82caf1f87835e2a52637a482cd267f47dada99ac6d0fa98963684b00940