[INFO] fetching crate dark 0.1.0...
[INFO] testing dark-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate dark 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate dark 0.1.0
[INFO] finished tweaking crates.io crate dark 0.1.0
[INFO] tweaked toml for crates.io crate dark 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate dark 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 78 packages to latest compatible versions
[INFO] [stderr]       Adding compress v0.1.2 (available: v0.2.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
[INFO] [stderr] (in the `dark` package)
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff414dc0f66e5ad8e292f1148445b551d28c6f49ee5c7f05b3635cb2a12d3c72
[INFO] running `Command { std: "docker" "start" "-a" "ff414dc0f66e5ad8e292f1148445b551d28c6f49ee5c7f05b3635cb2a12d3c72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff414dc0f66e5ad8e292f1148445b551d28c6f49ee5c7f05b3635cb2a12d3c72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff414dc0f66e5ad8e292f1148445b551d28c6f49ee5c7f05b3635cb2a12d3c72", kill_on_drop: false }`
[INFO] [stdout] ff414dc0f66e5ad8e292f1148445b551d28c6f49ee5c7f05b3635cb2a12d3c72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 092b4a465f1b7863c897e54f1459b52b55ef0daeafbf700e8fd8be45774c7fd5
[INFO] running `Command { std: "docker" "start" "-a" "092b4a465f1b7863c897e54f1459b52b55ef0daeafbf700e8fd8be45774c7fd5", kill_on_drop: false }`
[INFO] [stderr] warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition
[INFO] [stderr] (in the `dark` package)
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-bigint v0.1.45
[INFO] [stderr]    Compiling num-complex v0.1.44
[INFO] [stderr]    Compiling num-rational v0.1.43
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling byteorder v0.4.2
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling getopts v0.2.24
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num v0.1.43
[INFO] [stderr]    Compiling compress v0.1.2
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling dark v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `log::LogLevel`
[INFO] [stdout]   --> src/saca.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use log::LogLevel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ no `LogLevel` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `tune`
[INFO] [stdout]   --> src/block.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[cfg(tune)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tune)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tune)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `tune`
[INFO] [stdout]   --> src/block.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[cfg(not(tune))]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tune)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tune)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             0...2   => du << FIXED_BASE,
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |             3...4   => (3 << FIXED_BASE) + (du&1)*(FIXED_BASE>>1),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |             5...7   => (4 << FIXED_BASE) + ((du-5)%3)*(FIXED_BASE/3),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/model/exp.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |             8...12  => (5 << FIXED_BASE) + (du&3)*(FIXED_BASE>>2),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:40
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                        ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Distance`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:50
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                                  ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:36:60
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn encode<W: io::Write>(&mut self, Distance, &Context, &mut ari::Encoder<W>);
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ari::Encoder<W>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn decode<R: io::Read>(&mut self, &Context, &mut ari::Decoder<R>) -> Distance;
[INFO] [stdout]    |                                       ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn decode<R: io::Read>(&mut self, &Context, &mut ari::Decoder<R>) -> Distance;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ari::Decoder<R>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/saca.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn saca<T: Eq + Ord + ToPrimitive>(input: &[T], alphabet_size: usize, storage: &mut [Suffix]) {
[INFO] [stdout]     |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 333 |         if log_enabled!(LogLevel::Debug) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `LevelFilter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type parameter `T`
[INFO] [stdout]                          found enum `LevelFilter`
[INFO] [stdout]     = note: this error originates in the macro `$crate::__log_enabled` which comes from the expansion of the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/saca.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn saca<T: Eq + Ord + ToPrimitive>(input: &[T], alphabet_size: usize, storage: &mut [Suffix]) {
[INFO] [stdout]     |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 333 |         if log_enabled!(LogLevel::Debug) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `LevelFilter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type parameter `T`
[INFO] [stdout]                          found enum `LevelFilter`
[INFO] [stdout]     = note: this error originates in the macro `$crate::__log_enabled` which comes from the expansion of the macro `log_enabled` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope
[INFO] [stdout]   --> src/main.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     env_logger::init().unwrap();
[INFO] [stdout]    |                        ^^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::DistanceModel`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use model::DistanceModel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dark` (bin "dark") due to 4 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "092b4a465f1b7863c897e54f1459b52b55ef0daeafbf700e8fd8be45774c7fd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "092b4a465f1b7863c897e54f1459b52b55ef0daeafbf700e8fd8be45774c7fd5", kill_on_drop: false }`
[INFO] [stdout] 092b4a465f1b7863c897e54f1459b52b55ef0daeafbf700e8fd8be45774c7fd5
