[INFO] fetching crate ilog2 0.2.2... [INFO] checking ilog2-0.2.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate ilog2 0.2.2 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ilog2 0.2.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81ccb6f2fbd608a56cdd27faadc7e9e7dbafce53cf75598969440b58ab46f549 [INFO] running `Command { std: "docker" "start" "-a" "81ccb6f2fbd608a56cdd27faadc7e9e7dbafce53cf75598969440b58ab46f549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81ccb6f2fbd608a56cdd27faadc7e9e7dbafce53cf75598969440b58ab46f549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81ccb6f2fbd608a56cdd27faadc7e9e7dbafce53cf75598969440b58ab46f549", kill_on_drop: false }` [INFO] [stdout] 81ccb6f2fbd608a56cdd27faadc7e9e7dbafce53cf75598969440b58ab46f549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2cfb39db6b7596529fbbe15f45783e84f932c26c0a97e9bc79b6470514a3af4 [INFO] running `Command { std: "docker" "start" "-a" "c2cfb39db6b7596529fbbe15f45783e84f932c26c0a97e9bc79b6470514a3af4", 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/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/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/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] [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] [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 test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c2cfb39db6b7596529fbbe15f45783e84f932c26c0a97e9bc79b6470514a3af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2cfb39db6b7596529fbbe15f45783e84f932c26c0a97e9bc79b6470514a3af4", kill_on_drop: false }` [INFO] [stdout] c2cfb39db6b7596529fbbe15f45783e84f932c26c0a97e9bc79b6470514a3af4