[INFO] fetching crate ramp 0.7.0... [INFO] testing ramp-0.7.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate ramp 0.7.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ramp 0.7.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-cfg v0.4.0 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded hamming v0.1.3 [INFO] [stderr] Downloaded backtrace v0.3.65 [INFO] [stderr] Downloaded ieee754 v0.2.6 [INFO] [stderr] Downloaded rust-gmp v0.5.0 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded quickcheck v0.6.2 [INFO] [stderr] Downloaded object v0.28.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 518d0d1217480030dafb5cfbad481ab0e2e3bb8446d311f77251d9411002e703 [INFO] running `Command { std: "docker" "start" "-a" "518d0d1217480030dafb5cfbad481ab0e2e3bb8446d311f77251d9411002e703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "518d0d1217480030dafb5cfbad481ab0e2e3bb8446d311f77251d9411002e703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518d0d1217480030dafb5cfbad481ab0e2e3bb8446d311f77251d9411002e703", kill_on_drop: false }` [INFO] [stdout] 518d0d1217480030dafb5cfbad481ab0e2e3bb8446d311f77251d9411002e703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2d7e931bf65c61c4ba7d8b9e5dfdcd3cc59f7a22d612db2656da95606ce691d [INFO] running `Command { std: "docker" "start" "-a" "f2d7e931bf65c61c4ba7d8b9e5dfdcd3cc59f7a22d612db2656da95606ce691d", 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 proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling num-traits v0.2.14 [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 miniz_oxide v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling addr2line v0.17.0 [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) -> (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] 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] running `Command { std: "docker" "inspect" "f2d7e931bf65c61c4ba7d8b9e5dfdcd3cc59f7a22d612db2656da95606ce691d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d7e931bf65c61c4ba7d8b9e5dfdcd3cc59f7a22d612db2656da95606ce691d", kill_on_drop: false }` [INFO] [stdout] f2d7e931bf65c61c4ba7d8b9e5dfdcd3cc59f7a22d612db2656da95606ce691d