[INFO] fetching crate ilog2 0.2.2... [INFO] checking ilog2-0.2.2 against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] extracting crate ilog2 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ilog2 0.2.2 [INFO] finished tweaking crates.io crate ilog2 0.2.2 [INFO] tweaked toml for crates.io crate ilog2 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ilog2 0.2.2 on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba9828b2bb76c57b2a5ad9479d874dd6f15e95e8797a7525dbfae5333edd8354 [INFO] running `Command { std: "docker" "start" "-a" "ba9828b2bb76c57b2a5ad9479d874dd6f15e95e8797a7525dbfae5333edd8354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba9828b2bb76c57b2a5ad9479d874dd6f15e95e8797a7525dbfae5333edd8354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba9828b2bb76c57b2a5ad9479d874dd6f15e95e8797a7525dbfae5333edd8354", kill_on_drop: false }` [INFO] [stdout] ba9828b2bb76c57b2a5ad9479d874dd6f15e95e8797a7525dbfae5333edd8354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb9d5c7a02f0af346c8500be0ad43e4f1cd61e107f0cad30fffef65e5064b3ac [INFO] running `Command { std: "docker" "start" "-a" "cb9d5c7a02f0af346c8500be0ad43e4f1cd61e107f0cad30fffef65e5064b3ac", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ilog2 v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ffs.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | (x.trailing_zeros() as i8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - (x.trailing_zeros() as i8) [INFO] [stdout] 9 + x.trailing_zeros() as i8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ffs.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | (x.trailing_zeros() as i8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - (x.trailing_zeros() as i8) [INFO] [stdout] 9 + x.trailing_zeros() as i8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/fls.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | (bits -1i8 - (x.leading_zeros() as i8)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - (bits -1i8 - (x.leading_zeros() as i8)) [INFO] [stdout] 10 + bits -1i8 - (x.leading_zeros() as i8) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/fls.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | (bits -1i8 - (x.leading_zeros() as i8)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - (bits -1i8 - (x.leading_zeros() as i8)) [INFO] [stdout] 10 + bits -1i8 - (x.leading_zeros() as i8) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ffz.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | (x.trailing_ones() as i8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - (x.trailing_ones() as i8) [INFO] [stdout] 9 + x.trailing_ones() as i8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/flz.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | (bits -1i8 - (x.leading_ones() as i8)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - (bits -1i8 - (x.leading_ones() as i8)) [INFO] [stdout] 10 + bits -1i8 - (x.leading_ones() as i8) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ffz.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | (x.trailing_ones() as i8) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - (x.trailing_ones() as i8) [INFO] [stdout] 9 + x.trailing_ones() as i8 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/flz.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | (bits -1i8 - (x.leading_ones() as i8)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - (bits -1i8 - (x.leading_ones() as i8)) [INFO] [stdout] 10 + bits -1i8 - (x.leading_ones() as i8) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/ffz.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | (x.trailing_ones() as i8) [INFO] [stdout] | ^^^^^^^^^^^^^ multiple `trailing_ones` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `PrimInt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/int.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | fn trailing_ones(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `future::Future` [INFO] [stdout] --> src/future.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn trailing_ones(self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 9 - (x.trailing_ones() as i8) [INFO] [stdout] 9 + (PrimInt::trailing_ones(x) as i8) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 9 - (x.trailing_ones() as i8) [INFO] [stdout] 9 + (future::Future::trailing_ones(x) as i8) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/flz.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | (bits -1i8 - (x.leading_ones() as i8)) [INFO] [stdout] | ^^^^^^^^^^^^ multiple `leading_ones` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `PrimInt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/int.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | fn leading_ones(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `future::Future` [INFO] [stdout] --> src/future.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fn leading_ones(self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 10 - (bits -1i8 - (x.leading_ones() as i8)) [INFO] [stdout] 10 + (bits -1i8 - (PrimInt::leading_ones(x) as i8)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 10 - (bits -1i8 - (x.leading_ones() as i8)) [INFO] [stdout] 10 + (bits -1i8 - (future::Future::leading_ones(x) as i8)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/ffz.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | (x.trailing_ones() as i8) [INFO] [stdout] | ^^^^^^^^^^^^^ multiple `trailing_ones` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `PrimInt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/int.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | fn trailing_ones(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `future::Future` [INFO] [stdout] --> src/future.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn trailing_ones(self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 9 - (x.trailing_ones() as i8) [INFO] [stdout] 9 + (PrimInt::trailing_ones(x) as i8) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 9 - (x.trailing_ones() as i8) [INFO] [stdout] 9 + (future::Future::trailing_ones(x) as i8) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/flz.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | (bits -1i8 - (x.leading_ones() as i8)) [INFO] [stdout] | ^^^^^^^^^^^^ multiple `leading_ones` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `PrimInt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/int.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | fn leading_ones(self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `future::Future` [INFO] [stdout] --> src/future.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fn leading_ones(self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 10 - (bits -1i8 - (x.leading_ones() as i8)) [INFO] [stdout] 10 + (bits -1i8 - (PrimInt::leading_ones(x) as i8)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 10 - (bits -1i8 - (x.leading_ones() as i8)) [INFO] [stdout] 10 + (bits -1i8 - (future::Future::leading_ones(x) as i8)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ilog2` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ilog2` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cb9d5c7a02f0af346c8500be0ad43e4f1cd61e107f0cad30fffef65e5064b3ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9d5c7a02f0af346c8500be0ad43e4f1cd61e107f0cad30fffef65e5064b3ac", kill_on_drop: false }` [INFO] [stdout] cb9d5c7a02f0af346c8500be0ad43e4f1cd61e107f0cad30fffef65e5064b3ac