[INFO] cloning repository https://github.com/thinkrapido/bb2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thinkrapido/bb2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthinkrapido%2Fbb2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthinkrapido%2Fbb2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 085b6267e2aa31b27311b1796e157dcad073d54f [INFO] checking thinkrapido/bb2 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthinkrapido%2Fbb2" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thinkrapido/bb2 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thinkrapido/bb2 [INFO] finished tweaking git repo https://github.com/thinkrapido/bb2 [INFO] tweaked toml for git repo https://github.com/thinkrapido/bb2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thinkrapido/bb2 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded noisy_float v0.1.4 [INFO] [stderr] Downloaded num-traits v0.1.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18586199557d03fa1ca49481d236b1b85caf94a96f93212a26208bd412c61315 [INFO] running `Command { std: "docker" "start" "-a" "18586199557d03fa1ca49481d236b1b85caf94a96f93212a26208bd412c61315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18586199557d03fa1ca49481d236b1b85caf94a96f93212a26208bd412c61315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18586199557d03fa1ca49481d236b1b85caf94a96f93212a26208bd412c61315", kill_on_drop: false }` [INFO] [stdout] 18586199557d03fa1ca49481d236b1b85caf94a96f93212a26208bd412c61315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2057307a82fc01006a5ddbf166a089bd86ff1506042d7ee3cbd66d019f8044ca [INFO] running `Command { std: "docker" "start" "-a" "2057307a82fc01006a5ddbf166a089bd86ff1506042d7ee3cbd66d019f8044ca", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking num-traits v0.1.42 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking noisy_float v0.1.4 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir/lib/game) [INFO] [stdout] warning: unused import: `::noisy_float::*` [INFO] [stdout] --> lib/game/src/utils/tmx/tileset.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ::noisy_float::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::noisy_float::prelude::*` [INFO] [stdout] --> lib/game/src/utils/tmx/tileset.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ::noisy_float::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::property::*` [INFO] [stdout] --> lib/game/src/utils/tmx/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use self::property::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `epsilon` is never used [INFO] [stdout] --> lib/game/src/utils/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn epsilon(num1: f32, num2: f32, epsilon: f32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> lib/game/src/utils/tmx/property.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | ... name.push_str(v.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> lib/game/src/utils/tmx/property.rs:43:61 [INFO] [stdout] | [INFO] [stdout] 43 | ... type_.push_str(v.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> lib/game/src/utils/tmx/property.rs:46:61 [INFO] [stdout] | [INFO] [stdout] 46 | ... value.push_str(v.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> lib/game/src/utils/tmx/tileset.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | name.push_str(value.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&String` instead of cloning the inner type [INFO] [stdout] --> lib/game/src/utils/tmx/tileset.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ... image_file_name = v.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> lib/game/src/utils/tmx/layer.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | name.push_str(value.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> lib/game/src/utils/tmx/objectgroup.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | name.push_str(value.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> lib/game/src/utils/tmx/objectgroup.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | name.push_str(value.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bb2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "2057307a82fc01006a5ddbf166a089bd86ff1506042d7ee3cbd66d019f8044ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2057307a82fc01006a5ddbf166a089bd86ff1506042d7ee3cbd66d019f8044ca", kill_on_drop: false }` [INFO] [stdout] 2057307a82fc01006a5ddbf166a089bd86ff1506042d7ee3cbd66d019f8044ca [INFO] checking thinkrapido/bb2 against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthinkrapido%2Fbb2" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thinkrapido/bb2 on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thinkrapido/bb2 [INFO] finished tweaking git repo https://github.com/thinkrapido/bb2 [INFO] tweaked toml for git repo https://github.com/thinkrapido/bb2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thinkrapido/bb2 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c394cad5190c6a1976fd750e208fe6d58ffe85b92b8ec636107f4e2e4f6fc79d [INFO] running `Command { std: "docker" "start" "-a" "c394cad5190c6a1976fd750e208fe6d58ffe85b92b8ec636107f4e2e4f6fc79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c394cad5190c6a1976fd750e208fe6d58ffe85b92b8ec636107f4e2e4f6fc79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c394cad5190c6a1976fd750e208fe6d58ffe85b92b8ec636107f4e2e4f6fc79d", kill_on_drop: false }` [INFO] [stdout] c394cad5190c6a1976fd750e208fe6d58ffe85b92b8ec636107f4e2e4f6fc79d [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69611dd25624b85cfd1379916b512aea353d042088b95f8ac5261ef562c19b09 [INFO] running `Command { std: "docker" "start" "-a" "69611dd25624b85cfd1379916b512aea353d042088b95f8ac5261ef562c19b09", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking num-traits v0.1.42 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.1.42/src/lib.rs:320:54 [INFO] [stdout] | [INFO] [stdout] 320 | (true, Ok(exp)) => base.powi(exp as i32), [INFO] [stdout] | ^^^^ multiple `powi` found [INFO] [stdout] ... [INFO] [stdout] 333 | float_trait_impl!(Num for f32 f64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `float_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.1.42/src/lib.rs:321:60 [INFO] [stdout] | [INFO] [stdout] 321 | (false, Ok(exp)) => 1.0 / base.powi(exp as i32), [INFO] [stdout] | ^^^^ multiple `powi` found [INFO] [stdout] ... [INFO] [stdout] 333 | float_trait_impl!(Num for f32 f64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `float_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-traits` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "69611dd25624b85cfd1379916b512aea353d042088b95f8ac5261ef562c19b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69611dd25624b85cfd1379916b512aea353d042088b95f8ac5261ef562c19b09", kill_on_drop: false }` [INFO] [stdout] 69611dd25624b85cfd1379916b512aea353d042088b95f8ac5261ef562c19b09