[INFO] cloning repository https://github.com/BrianHicks/elm-forbid-import [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BrianHicks/elm-forbid-import" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrianHicks%2Felm-forbid-import", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrianHicks%2Felm-forbid-import'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3aea7d3e453575aa85bc19c8387825d0e7c42ce8 [INFO] checking BrianHicks/elm-forbid-import against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrianHicks%2Felm-forbid-import" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/BrianHicks/elm-forbid-import [INFO] finished tweaking git repo https://github.com/BrianHicks/elm-forbid-import [INFO] tweaked toml for git repo https://github.com/BrianHicks/elm-forbid-import written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BrianHicks/elm-forbid-import on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BrianHicks/elm-forbid-import 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 236bac4599dc1cbea23df6ecb8d2136697a0c70d64c29437d299dbd60259faa0 [INFO] running `Command { std: "docker" "start" "-a" "236bac4599dc1cbea23df6ecb8d2136697a0c70d64c29437d299dbd60259faa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "236bac4599dc1cbea23df6ecb8d2136697a0c70d64c29437d299dbd60259faa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236bac4599dc1cbea23df6ecb8d2136697a0c70d64c29437d299dbd60259faa0", kill_on_drop: false }` [INFO] [stdout] 236bac4599dc1cbea23df6ecb8d2136697a0c70d64c29437d299dbd60259faa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03dc762d81576686187f2bbefa36bc2972c0302dfaf2a15664784b6d4ad5a11b [INFO] running `Command { std: "docker" "start" "-a" "03dc762d81576686187f2bbefa36bc2972c0302dfaf2a15664784b6d4ad5a11b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking pathdiff v0.1.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Checking elm-forbid-import v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// The file where we'll store configuration about forbidden imports [INFO] [stdout] 13 | | /// and todos. [INFO] [stdout] 14 | | #[clap( [INFO] [stdout] 15 | | short('c'), [INFO] [stdout] ... | [INFO] [stdout] 19 | | )] [INFO] [stdout] 20 | | config_path: PathBuf, [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / /// The fully-qualified name to forbid (e.g. `Html.Events`) [INFO] [stdout] 38 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / /// An additional string to print when showing an error for this [INFO] [stdout] 41 | | /// import. (idea: what should we do instead? Import something else? Use [INFO] [stdout] 42 | | /// another approach? Give up and buy a farm?) [INFO] [stdout] 43 | | #[clap(short, long)] [INFO] [stdout] 44 | | hint: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / /// What file has the forbidden import list? [INFO] [stdout] 51 | | path: PathBuf, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / /// The fully-qualified name to forbid (e.g. `Html.Events`) [INFO] [stdout] 57 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn check(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | pub fn check(&mut self) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elm-forbid-import` (bin "elm-forbid-import") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// The file where we'll store configuration about forbidden imports [INFO] [stdout] 13 | | /// and todos. [INFO] [stdout] 14 | | #[clap( [INFO] [stdout] 15 | | short('c'), [INFO] [stdout] ... | [INFO] [stdout] 19 | | )] [INFO] [stdout] 20 | | config_path: PathBuf, [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / /// The fully-qualified name to forbid (e.g. `Html.Events`) [INFO] [stdout] 38 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / /// An additional string to print when showing an error for this [INFO] [stdout] 41 | | /// import. (idea: what should we do instead? Import something else? Use [INFO] [stdout] 42 | | /// another approach? Give up and buy a farm?) [INFO] [stdout] 43 | | #[clap(short, long)] [INFO] [stdout] 44 | | hint: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / /// What file has the forbidden import list? [INFO] [stdout] 51 | | path: PathBuf, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / /// The fully-qualified name to forbid (e.g. `Html.Events`) [INFO] [stdout] 57 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn check(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | pub fn check(&mut self) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elm-forbid-import` (bin "elm-forbid-import" test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "03dc762d81576686187f2bbefa36bc2972c0302dfaf2a15664784b6d4ad5a11b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03dc762d81576686187f2bbefa36bc2972c0302dfaf2a15664784b6d4ad5a11b", kill_on_drop: false }` [INFO] [stdout] 03dc762d81576686187f2bbefa36bc2972c0302dfaf2a15664784b6d4ad5a11b