[INFO] fetching crate ramp 0.7.0... [INFO] checking ramp-0.7.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ramp 0.7.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ramp 0.7.0 [INFO] finished tweaking crates.io crate ramp 0.7.0 [INFO] tweaked toml for crates.io crate ramp 0.7.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ramp 0.7.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ramp 0.7.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] [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] Downloading crates ... [INFO] [stderr] Downloaded rustc-cfg v0.4.0 [INFO] [stderr] Downloaded rust-gmp v0.5.0 [INFO] [stderr] Downloaded ieee754 v0.2.6 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded cc v1.0.73 [INFO] [stderr] Downloaded backtrace v0.3.65 [INFO] [stderr] Downloaded num-bigint v0.4.3 [INFO] [stderr] Downloaded object v0.28.3 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded quickcheck v0.6.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded libc v0.2.124 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3850e2ca77ac6110eae2ff3cd4cfe80bc7e8964f9d1b721e81500364cc861070 [INFO] running `Command { std: "docker" "start" "-a" "3850e2ca77ac6110eae2ff3cd4cfe80bc7e8964f9d1b721e81500364cc861070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3850e2ca77ac6110eae2ff3cd4cfe80bc7e8964f9d1b721e81500364cc861070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3850e2ca77ac6110eae2ff3cd4cfe80bc7e8964f9d1b721e81500364cc861070", kill_on_drop: false }` [INFO] [stdout] 3850e2ca77ac6110eae2ff3cd4cfe80bc7e8964f9d1b721e81500364cc861070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b2aa14130bfc7045a15cff0d6d1578ceeaa31ac1503291b7a26ce365db171c9 [INFO] running `Command { std: "docker" "start" "-a" "4b2aa14130bfc7045a15cff0d6d1578ceeaa31ac1503291b7a26ce365db171c9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Checking hamming v0.1.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rustc-cfg v0.4.0 [INFO] [stderr] Compiling ramp v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | #![feature(core_intrinsics, allocator_api)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | #![feature(step_trait, ptr_internals, try_reserve_kind, raw_vec_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `raw_vec_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | #![feature(step_trait, ptr_internals, try_reserve_kind, raw_vec_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/addsub.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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: `asm` [INFO] [stdout] --> src/ll/addsub.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(feature="fallbacks",not(asm)))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/addsub.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/addsub.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:174:7 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `steps_between` has an incompatible type for trait [INFO] [stdout] --> src/int.rs:3702:49 [INFO] [stdout] | [INFO] [stdout] 3702 | fn steps_between(start: &Int, end: &Int) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `(usize, Option)`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&int::Int, &int::Int) -> (usize, Option)` [INFO] [stdout] found signature `fn(&int::Int, &int::Int) -> Option` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 3702 - fn steps_between(start: &Int, end: &Int) -> Option { [INFO] [stdout] 3702 + fn steps_between(start: &Int, end: &Int) -> (usize, Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | #![feature(core_intrinsics, allocator_api)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | #![feature(step_trait, ptr_internals, try_reserve_kind, raw_vec_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `raw_vec_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | #![feature(step_trait, ptr_internals, try_reserve_kind, raw_vec_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/addsub.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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: `asm` [INFO] [stdout] --> src/ll/addsub.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(feature="fallbacks",not(asm)))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/addsub.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/addsub.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(not(asm))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `asm` [INFO] [stdout] --> src/ll/mul.rs:174:7 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(asm)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "asm"` [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(asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `steps_between` has an incompatible type for trait [INFO] [stdout] --> src/int.rs:3702:49 [INFO] [stdout] | [INFO] [stdout] 3702 | fn steps_between(start: &Int, end: &Int) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `(usize, Option)`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Int, &Int) -> (usize, Option)` [INFO] [stdout] found signature `fn(&Int, &Int) -> Option` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 3702 - fn steps_between(start: &Int, end: &Int) -> Option { [INFO] [stdout] 3702 + fn steps_between(start: &Int, end: &Int) -> (usize, Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/int.rs:4973:48 [INFO] [stdout] | [INFO] [stdout] 4973 | assert_eq!(Int::steps_between(&a, &b), Some(897136687)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `(usize, Option)`, found `Option<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, Option)` [INFO] [stdout] found enum `Option<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ramp` (lib) due to 1 previous error; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ramp` (lib test) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4b2aa14130bfc7045a15cff0d6d1578ceeaa31ac1503291b7a26ce365db171c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b2aa14130bfc7045a15cff0d6d1578ceeaa31ac1503291b7a26ce365db171c9", kill_on_drop: false }` [INFO] [stdout] 4b2aa14130bfc7045a15cff0d6d1578ceeaa31ac1503291b7a26ce365db171c9