[INFO] cloning repository https://github.com/HelderSalvador/rust-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HelderSalvador/rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHelderSalvador%2Frust-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHelderSalvador%2Frust-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 069a9903225fff8c729ef1feef8927acdf11bd41 [INFO] checking HelderSalvador/rust-api/069a9903225fff8c729ef1feef8927acdf11bd41 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHelderSalvador%2Frust-api" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HelderSalvador/rust-api on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HelderSalvador/rust-api [INFO] finished tweaking git repo https://github.com/HelderSalvador/rust-api [INFO] tweaked toml for git repo https://github.com/HelderSalvador/rust-api written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HelderSalvador/rust-api 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.linker [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded dotenv v0.10.1 [INFO] [stderr] Downloaded syntex_fmt_macros v0.5.0 [INFO] [stderr] Downloaded dotenv v0.11.0 [INFO] [stderr] Downloaded derive-error-chain v0.10.1 [INFO] [stderr] Downloaded diesel_codegen v0.16.1 [INFO] [stderr] Downloaded derive-error-chain v0.11.2 [INFO] [stderr] Downloaded diesel_infer_schema v0.16.0 [INFO] [stderr] Downloaded ucd-util v0.1.8 [INFO] [stderr] Downloaded diesel v0.16.0 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded libc v0.2.102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7cef07de1ad71eadc902868beeccea498744994e9d7d3cc4165af895219e60d [INFO] running `Command { std: "docker" "start" "-a" "b7cef07de1ad71eadc902868beeccea498744994e9d7d3cc4165af895219e60d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7cef07de1ad71eadc902868beeccea498744994e9d7d3cc4165af895219e60d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7cef07de1ad71eadc902868beeccea498744994e9d7d3cc4165af895219e60d", kill_on_drop: false }` [INFO] [stdout] b7cef07de1ad71eadc902868beeccea498744994e9d7d3cc4165af895219e60d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4099239345e0aece765990e6190fa269fdb86e576915b9a249b4ddcae37932dd [INFO] running `Command { std: "docker" "start" "-a" "4099239345e0aece765990e6190fa269fdb86e576915b9a249b4ddcae37932dd", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.linker [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Compiling derive-error-chain v0.11.2 [INFO] [stderr] Checking dotenv v0.11.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Compiling diesel_codegen v0.16.1 [INFO] [stderr] Checking messenger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `schema` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `schema`, create file "src/schema.rs" or "src/schema/mod.rs" [INFO] [stdout] = note: if there is a `mod schema` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `models` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod models; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `models`, create file "src/models.rs" or "src/models/mod.rs" [INFO] [stdout] = note: if there is a `mod models` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `schema` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `schema`, create file "src/schema.rs" or "src/schema/mod.rs" [INFO] [stdout] = note: if there is a `mod schema` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `models` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod models; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `models`, create file "src/models.rs" or "src/models/mod.rs" [INFO] [stdout] = note: if there is a `mod models` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Message` in `models` [INFO] [stdout] --> src/main.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | if models::Message::insert(Message, &conn) { [INFO] [stdout] | ^^^^^^^ could not find `Message` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Message` in `models` [INFO] [stdout] --> src/main.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | if models::Message::insert(Message, &conn) { [INFO] [stdout] | ^^^^^^^ could not find `Message` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewMessage` in module `models` [INFO] [stdout] --> src/main.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let Message = models::NewMessage { [INFO] [stdout] | ^^^^^^^^^^ not found in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewMessage` in module `models` [INFO] [stdout] --> src/main.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let Message = models::NewMessage { [INFO] [stdout] | ^^^^^^^^^^ not found in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `messenger` (bin "messenger") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `messenger` (bin "messenger" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4099239345e0aece765990e6190fa269fdb86e576915b9a249b4ddcae37932dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4099239345e0aece765990e6190fa269fdb86e576915b9a249b4ddcae37932dd", kill_on_drop: false }` [INFO] [stdout] 4099239345e0aece765990e6190fa269fdb86e576915b9a249b4ddcae37932dd