[INFO] cloning repository https://github.com/jewlexx/lawyer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jewlexx/lawyer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjewlexx%2Flawyer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjewlexx%2Flawyer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bb8f327d13f8aa4f1c16567f23f7dd1520554b4 [INFO] testing jewlexx/lawyer against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjewlexx%2Flawyer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jewlexx/lawyer [INFO] finished tweaking git repo https://github.com/jewlexx/lawyer [INFO] tweaked toml for git repo https://github.com/jewlexx/lawyer written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jewlexx/lawyer on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jewlexx/lawyer 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo-lock v9.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 664eb0104e92fb8c3abec8a18a73c3340897cac2d1a81ccd1c1aa66a0e122d88 [INFO] running `Command { std: "docker" "start" "-a" "664eb0104e92fb8c3abec8a18a73c3340897cac2d1a81ccd1c1aa66a0e122d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "664eb0104e92fb8c3abec8a18a73c3340897cac2d1a81ccd1c1aa66a0e122d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "664eb0104e92fb8c3abec8a18a73c3340897cac2d1a81ccd1c1aa66a0e122d88", kill_on_drop: false }` [INFO] [stdout] 664eb0104e92fb8c3abec8a18a73c3340897cac2d1a81ccd1c1aa66a0e122d88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09816ca2431eab391aa73ac126b15a65bcddcbb31ed81b1d1a7e191e4514a46d [INFO] running `Command { std: "docker" "start" "-a" "09816ca2431eab391aa73ac126b15a65bcddcbb31ed81b1d1a7e191e4514a46d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling clap_builder v4.4.8 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap v4.4.8 [INFO] [stderr] Compiling serde_spanned v0.6.4 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling cargo-lock v9.0.0 [INFO] [stderr] Compiling lawyer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../spdx-licenses/json/licenses.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/license.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | const LICENSE_LIST_JSON: &[u8] = include_bytes!("../spdx-licenses/json/licenses.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/cargo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dependency::Tree` [INFO] [stdout] --> src/cargo.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | dependency::Tree, Checksum, Dependency, Lockfile, Name, Package, SourceId, Version, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pkg_source` [INFO] [stdout] --> src/cargo.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | let Some(ref pkg_source) = package.source else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lawyer` (lib) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "09816ca2431eab391aa73ac126b15a65bcddcbb31ed81b1d1a7e191e4514a46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09816ca2431eab391aa73ac126b15a65bcddcbb31ed81b1d1a7e191e4514a46d", kill_on_drop: false }` [INFO] [stdout] 09816ca2431eab391aa73ac126b15a65bcddcbb31ed81b1d1a7e191e4514a46d