[INFO] cloning repository https://github.com/fteychene/blueprint-hexagonal-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fteychene/blueprint-hexagonal-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffteychene%2Fblueprint-hexagonal-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffteychene%2Fblueprint-hexagonal-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab6a8af3345f461f535a2322227f596086a9e051 [INFO] checking fteychene/blueprint-hexagonal-rust against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffteychene%2Fblueprint-hexagonal-rust" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fteychene/blueprint-hexagonal-rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fteychene/blueprint-hexagonal-rust [INFO] finished tweaking git repo https://github.com/fteychene/blueprint-hexagonal-rust [INFO] tweaked toml for git repo https://github.com/fteychene/blueprint-hexagonal-rust written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/fteychene/blueprint-hexagonal-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cb967b164fed68f0c354f185e457ab806409afdf0c324c212240c5d7e427656 [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" "2cb967b164fed68f0c354f185e457ab806409afdf0c324c212240c5d7e427656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cb967b164fed68f0c354f185e457ab806409afdf0c324c212240c5d7e427656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cb967b164fed68f0c354f185e457ab806409afdf0c324c212240c5d7e427656", kill_on_drop: false }` [INFO] [stdout] 2cb967b164fed68f0c354f185e457ab806409afdf0c324c212240c5d7e427656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a695a9f468443412aedb001d1c93894d8bfac9dc287d3ae65f7ef8bd7188f5b7 [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" "a695a9f468443412aedb001d1c93894d8bfac9dc287d3ae65f7ef8bd7188f5b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling anyhow v1.0.27 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling im v14.3.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling libsqlite3-sys v0.17.1 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling lexical-core v0.6.2 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.4 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking float-cmp v0.6.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking r2d2 v0.8.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking predicates v1.0.4 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking sized-chunks v0.5.3 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.13 [INFO] [stderr] Compiling mockall_derive v0.7.0 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Checking thiserror v1.0.13 [INFO] [stderr] Checking structopt v0.3.12 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Checking mockall v0.7.0 [INFO] [stderr] Checking blueprint-hexagonal-domain v0.1.0 (/opt/rustwide/workdir/domain) [INFO] [stdout] error: cannot find macro `anyhow` in this scope [INFO] [stdout] --> domain/src/executor/service/task_execution.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | .returning(|_, _| Err(anyhow!("Storage failed"))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] anyhow::anyhow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `anyhow` in this scope [INFO] [stdout] --> domain/src/executor/service/task_execution.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | .returning(|_, _| Err(anyhow!("Storage failed"))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] anyhow::anyhow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mockall::*` [INFO] [stdout] --> domain/src/executor/service/task_execution.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use mockall::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> domain/src/executor/ports/secondary.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[automock] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> domain/src/executor/ports/secondary.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[automock] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> domain/src/executor/ports/secondary.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[automock] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> domain/src/executor/ports/secondary.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[automock] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> domain/src/executor/service/task_execution.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | .returning(|_| Err(TaskError::CommandError("Cannot move /test/inexistant, file does not exists".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `anyhow::Error`, found enum `TaskError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> domain/src/executor/service/task_execution.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | .returning(|_| Err(TaskError::CommandError("Cannot move /test/inexistant, file does not exists".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `anyhow::Error`, found enum `TaskError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning 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 `blueprint-hexagonal-domain` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a695a9f468443412aedb001d1c93894d8bfac9dc287d3ae65f7ef8bd7188f5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a695a9f468443412aedb001d1c93894d8bfac9dc287d3ae65f7ef8bd7188f5b7", kill_on_drop: false }` [INFO] [stdout] a695a9f468443412aedb001d1c93894d8bfac9dc287d3ae65f7ef8bd7188f5b7