[INFO] fetching crate license-fetcher 0.8.4...
[INFO] testing license-fetcher-0.8.4 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate license-fetcher 0.8.4 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate license-fetcher 0.8.4
[INFO] finished tweaking crates.io crate license-fetcher 0.8.4
[INFO] tweaked toml for crates.io crate license-fetcher 0.8.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate license-fetcher 0.8.4 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 crates.io crate license-fetcher 0.8.4 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] 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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b6073fab431e3187bc71678a96aabf28eb17b12405977ae736711c87dc2c45e
[INFO] running `Command { std: "docker" "start" "-a" "6b6073fab431e3187bc71678a96aabf28eb17b12405977ae736711c87dc2c45e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b6073fab431e3187bc71678a96aabf28eb17b12405977ae736711c87dc2c45e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b6073fab431e3187bc71678a96aabf28eb17b12405977ae736711c87dc2c45e", kill_on_drop: false }`
[INFO] [stdout] 6b6073fab431e3187bc71678a96aabf28eb17b12405977ae736711c87dc2c45e
[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" "-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] 8be5fa7a5df60a32551e2e53536a6ede0ff5c948aedb953df7c6d66495d01ccb
[INFO] running `Command { std: "docker" "start" "-a" "8be5fa7a5df60a32551e2e53536a6ede0ff5c948aedb953df7c6d66495d01ccb", kill_on_drop: false }`
[INFO] [stderr]    Compiling virtue v0.0.18
[INFO] [stderr]    Compiling unty v0.0.4
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling bincode_derive v2.0.1
[INFO] [stderr]    Compiling bincode v2.0.1
[INFO] [stderr]    Compiling license-fetcher v0.8.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.09s
[INFO] running `Command { std: "docker" "inspect" "8be5fa7a5df60a32551e2e53536a6ede0ff5c948aedb953df7c6d66495d01ccb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8be5fa7a5df60a32551e2e53536a6ede0ff5c948aedb953df7c6d66495d01ccb", kill_on_drop: false }`
[INFO] [stdout] 8be5fa7a5df60a32551e2e53536a6ede0ff5c948aedb953df7c6d66495d01ccb
[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" "-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fce1c786b50a63aed85b05cb4914109ca994725f500aadcc53353edb2084b952
[INFO] running `Command { std: "docker" "start" "-a" "fce1c786b50a63aed85b05cb4914109ca994725f500aadcc53353edb2084b952", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling clap_builder v4.5.37
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling is_ci v1.2.0
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling supports-color v3.0.2
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling clap v4.5.37
[INFO] [stderr]    Compiling simplelog v0.12.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling license-fetcher v0.8.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 25.98s
[INFO] running `Command { std: "docker" "inspect" "fce1c786b50a63aed85b05cb4914109ca994725f500aadcc53353edb2084b952", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fce1c786b50a63aed85b05cb4914109ca994725f500aadcc53353edb2084b952", kill_on_drop: false }`
[INFO] [stdout] fce1c786b50a63aed85b05cb4914109ca994725f500aadcc53353edb2084b952
[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" "-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" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8cd49a084385c2168639ceaa887f9b562c203cae69940bfc313d4eaa73024f33
[INFO] running `Command { std: "docker" "start" "-a" "8cd49a084385c2168639ceaa887f9b562c203cae69940bfc313d4eaa73024f33", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/license_fetcher-339363cd32793446)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test::test_package_macro ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests license_fetcher
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - PackageList::from_encoded (line 306) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 66) ... FAILED
[INFO] [stdout] test src/lib.rs - read_package_list_from_out_dir (line 336) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 35) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 25) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - PackageList::from_encoded (line 306) stdout ----
[INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time
[INFO] [stdout]    --> src/lib.rs:311:8
[INFO] [stdout]     |
[INFO] [stdout] 311 |        env!("OUT_DIR"),
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 66) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: could not find `build` in `license_fetcher`
[INFO] [stdout]    --> src/lib.rs:71:22
[INFO] [stdout]     |
[INFO] [stdout]  71 | use license_fetcher::build::config::{ConfigBuilder, Config};
[INFO] [stdout]     |                      ^^^^^ could not find `build` in `license_fetcher`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[cfg(feature = "build")]
[INFO] [stdout]     |       ----------------- the item is gated behind the `build` feature
[INFO] [stdout] 126 | pub mod build;
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `build` in `license_fetcher`
[INFO] [stdout]    --> src/lib.rs:72:22
[INFO] [stdout]     |
[INFO] [stdout]  72 | use license_fetcher::build::metadata::package_list;
[INFO] [stdout]     |                      ^^^^^ could not find `build` in `license_fetcher`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[cfg(feature = "build")]
[INFO] [stdout]     |       ----------------- the item is gated behind the `build` feature
[INFO] [stdout] 126 | pub mod build;
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - read_package_list_from_out_dir (line 336) stdout ----
[INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time
[INFO] [stdout]    --> src/lib.rs:340:24
[INFO] [stdout]     |
[INFO] [stdout] 340 |     let package_list = read_package_list_from_out_dir!().expect("Failed to decode the embedded package list.");
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
[INFO] [stdout]     = note: this error originates in the macro `env` which comes from the expansion of the macro `read_package_list_from_out_dir` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 35) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: could not find `build` in `license_fetcher`
[INFO] [stdout]    --> src/lib.rs:37:22
[INFO] [stdout]     |
[INFO] [stdout]  37 | use license_fetcher::build::config::{ConfigBuilder, Config};
[INFO] [stdout]     |                      ^^^^^ could not find `build` in `license_fetcher`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[cfg(feature = "build")]
[INFO] [stdout]     |       ----------------- the item is gated behind the `build` feature
[INFO] [stdout] 126 | pub mod build;
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `license_fetcher::build`
[INFO] [stdout]    --> src/lib.rs:38:22
[INFO] [stdout]     |
[INFO] [stdout]  38 | use license_fetcher::build::package_list_with_licenses;
[INFO] [stdout]     |                      ^^^^^ could not find `build` in `license_fetcher`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[cfg(feature = "build")]
[INFO] [stdout]     |       ----------------- the item is gated behind the `build` feature
[INFO] [stdout] 126 | pub mod build;
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 25) stdout ----
[INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time
[INFO] [stdout]   --> src/lib.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let package_list = read_package_list_from_out_dir!().unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
[INFO] [stdout]    = note: this error originates in the macro `env` which comes from the expansion of the macro `read_package_list_from_out_dir` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 25)
[INFO] [stdout]     src/lib.rs - (line 35)
[INFO] [stdout]     src/lib.rs - (line 66)
[INFO] [stdout]     src/lib.rs - PackageList::from_encoded (line 306)
[INFO] [stdout]     src/lib.rs - read_package_list_from_out_dir (line 336)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8cd49a084385c2168639ceaa887f9b562c203cae69940bfc313d4eaa73024f33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cd49a084385c2168639ceaa887f9b562c203cae69940bfc313d4eaa73024f33", kill_on_drop: false }`
[INFO] [stdout] 8cd49a084385c2168639ceaa887f9b562c203cae69940bfc313d4eaa73024f33
