[INFO] cloning repository https://github.com/crockeo/venvcache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crockeo/venvcache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrockeo%2Fvenvcache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrockeo%2Fvenvcache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e57fa5ef6dc0fc91d48205f83888ae8d18f12903 [INFO] checking crockeo/venvcache 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%2Fcrockeo%2Fvenvcache" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crockeo/venvcache [INFO] finished tweaking git repo https://github.com/crockeo/venvcache [INFO] tweaked toml for git repo https://github.com/crockeo/venvcache written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crockeo/venvcache 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/crockeo/venvcache 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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95ee6e5986ff8adbdcd2df229a6b42d8f74b91cd012b0f1cf34cfac967761817 [INFO] running `Command { std: "docker" "start" "-a" "95ee6e5986ff8adbdcd2df229a6b42d8f74b91cd012b0f1cf34cfac967761817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95ee6e5986ff8adbdcd2df229a6b42d8f74b91cd012b0f1cf34cfac967761817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ee6e5986ff8adbdcd2df229a6b42d8f74b91cd012b0f1cf34cfac967761817", kill_on_drop: false }` [INFO] [stdout] 95ee6e5986ff8adbdcd2df229a6b42d8f74b91cd012b0f1cf34cfac967761817 [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 -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] 73950ca480e332a8ea526dd071299c6ea5075aba51f9c69aee9dc249a3fa8ea0 [INFO] running `Command { std: "docker" "start" "-a" "73950ca480e332a8ea526dd071299c6ea5075aba51f9c69aee9dc249a3fa8ea0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling cc v1.0.91 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking hashlink v0.9.0 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking sha256 v1.5.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking venvcache v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The Python executable to use when creating a virtual environment. [INFO] [stdout] 14 | | /// Virtual environments are considered different if created by different Pythons. [INFO] [stdout] 15 | | #[structopt(long, env = "VENVCACHE_PYTHON")] [INFO] [stdout] 16 | | python: 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:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// The root of the directory tree at which we will store virtual environments. [INFO] [stdout] 19 | | #[structopt(long, env = "VENVCACHE_ROOT")] [INFO] [stdout] 20 | | root: PathBuf, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// The location of the journal file we use to communicate venv use between processes. [INFO] [stdout] 23 | | #[structopt(long, env = "VENVCACHE_JOURNAL")] [INFO] [stdout] 24 | | journal: PathBuf, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// When provided, use the contents of this argument as the venv's requirements. [INFO] [stdout] 30 | | #[structopt(long, env = "VENVCACHE_REQUIREMENTS")] [INFO] [stdout] 31 | | requirements: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / /// When provided, read requirements in from the provided file instead of from stdin. [INFO] [stdout] 34 | | #[structopt(long)] [INFO] [stdout] 35 | | requirements_path: Option, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / /// The arguments that will be passed to the Python executable inside of the virtual environment. [INFO] [stdout] 38 | | #[structopt()] [INFO] [stdout] 39 | | args: Vec, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_lock.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn read(&mut self) -> anyhow::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] 26 | pub fn read(&mut self) -> anyhow::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_lock.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn write(&mut self) -> anyhow::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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn write(&mut self) -> anyhow::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The Python executable to use when creating a virtual environment. [INFO] [stdout] 14 | | /// Virtual environments are considered different if created by different Pythons. [INFO] [stdout] 15 | | #[structopt(long, env = "VENVCACHE_PYTHON")] [INFO] [stdout] 16 | | python: 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:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// The root of the directory tree at which we will store virtual environments. [INFO] [stdout] 19 | | #[structopt(long, env = "VENVCACHE_ROOT")] [INFO] [stdout] 20 | | root: PathBuf, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// The location of the journal file we use to communicate venv use between processes. [INFO] [stdout] 23 | | #[structopt(long, env = "VENVCACHE_JOURNAL")] [INFO] [stdout] 24 | | journal: PathBuf, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// When provided, use the contents of this argument as the venv's requirements. [INFO] [stdout] 30 | | #[structopt(long, env = "VENVCACHE_REQUIREMENTS")] [INFO] [stdout] 31 | | requirements: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / /// When provided, read requirements in from the provided file instead of from stdin. [INFO] [stdout] 34 | | #[structopt(long)] [INFO] [stdout] 35 | | requirements_path: Option, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / /// The arguments that will be passed to the Python executable inside of the virtual environment. [INFO] [stdout] 38 | | #[structopt()] [INFO] [stdout] 39 | | args: Vec, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_lock.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn read(&mut self) -> anyhow::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] 26 | pub fn read(&mut self) -> anyhow::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/file_lock.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn write(&mut self) -> anyhow::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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn write(&mut self) -> anyhow::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `venvcache` (bin "venvcache") due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `venvcache` (bin "venvcache" test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "73950ca480e332a8ea526dd071299c6ea5075aba51f9c69aee9dc249a3fa8ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73950ca480e332a8ea526dd071299c6ea5075aba51f9c69aee9dc249a3fa8ea0", kill_on_drop: false }` [INFO] [stdout] 73950ca480e332a8ea526dd071299c6ea5075aba51f9c69aee9dc249a3fa8ea0