[INFO] fetching crate uniswap-v2-sdk 0.6.0... [INFO] checking uniswap-v2-sdk-0.6.0 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] extracting crate uniswap-v2-sdk 0.6.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate uniswap-v2-sdk 0.6.0 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uniswap-v2-sdk 0.6.0 [INFO] finished tweaking crates.io crate uniswap-v2-sdk 0.6.0 [INFO] tweaked toml for crates.io crate uniswap-v2-sdk 0.6.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "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 168 packages to latest compatible versions [INFO] [stderr] Adding ark-ff v0.3.0 (available: v0.4.2) [INFO] [stderr] Adding ark-ff-asm v0.3.0 (available: v0.4.2) [INFO] [stderr] Adding ark-ff-macros v0.3.0 (available: v0.4.2) [INFO] [stderr] Adding ark-serialize v0.3.0 (available: v0.4.2) [INFO] [stderr] Adding ark-std v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding fastrlp v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding impl-codec v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding primitive-types v0.12.2 (available: v0.13.1) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding rlp v0.5.2 (available: v0.6.1) [INFO] [stderr] Adding rustc_version v0.3.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.11.0 (available: v1.0.23) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding uint v0.9.5 (available: v0.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uniswap-sdk-core v2.3.0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e37983edae1929f29bfeb3f77f711dfdc22d991fa20c40723991a4dbb3235a5 [INFO] running `Command { std: "docker" "start" "-a" "1e37983edae1929f29bfeb3f77f711dfdc22d991fa20c40723991a4dbb3235a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e37983edae1929f29bfeb3f77f711dfdc22d991fa20c40723991a4dbb3235a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e37983edae1929f29bfeb3f77f711dfdc22d991fa20c40723991a4dbb3235a5", kill_on_drop: false }` [INFO] [stdout] 1e37983edae1929f29bfeb3f77f711dfdc22d991fa20c40723991a4dbb3235a5 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62302a5aa701b70f5e29cbef3df85610c949b435dddb32fbe40e7a6475e5a584 [INFO] running `Command { std: "docker" "start" "-a" "62302a5aa701b70f5e29cbef3df85610c949b435dddb32fbe40e7a6475e5a584", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking const-hex v1.12.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ruint v1.12.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling syn-solidity v0.8.5 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling alloy-sol-macro-input v0.8.5 [INFO] [stderr] Compiling alloy-sol-macro-expander v0.8.5 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking alloy-primitives v0.8.5 [INFO] [stderr] Checking uniswap-sdk-core v2.3.0 [INFO] [stderr] Compiling alloy-sol-macro v0.8.5 [INFO] [stderr] Checking alloy-sol-types v0.8.5 [INFO] [stderr] Checking uniswap-v2-sdk v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/entities/trade.rs:99:55 [INFO] [stdout] | [INFO] [stdout] 99 | let mut token_amount: CurrencyAmount = amount.wrapped()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `FractionLike>>` to `FractionLike>>` [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/entities/trade.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 268 | let amount_in = match next_amount_in { [INFO] [stdout] | _________________________- [INFO] [stdout] 269 | | Some(amount_in) => { [INFO] [stdout] 270 | | assert!(!current_pairs.is_empty(), "INVALID_RECURSION"); [INFO] [stdout] 271 | | amount_in [INFO] [stdout] | | --------- this is found to be of type `FractionLike>>` [INFO] [stdout] 272 | | } [INFO] [stdout] 273 | | None => currency_amount_in.wrapped()?, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] 274 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/entities/trade.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 380 | let amount_out = match next_amount_out { [INFO] [stdout] | __________________________- [INFO] [stdout] 381 | | Some(amount_out) => { [INFO] [stdout] 382 | | assert!(!current_pairs.is_empty(), "INVALID_RECURSION"); [INFO] [stdout] 383 | | amount_out [INFO] [stdout] | | ---------- this is found to be of type `FractionLike>>` [INFO] [stdout] 384 | | } [INFO] [stdout] 385 | | None => currency_amount_out.wrapped()?, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] 386 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uniswap-v2-sdk` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/entities/trade.rs:99:55 [INFO] [stdout] | [INFO] [stdout] 99 | let mut token_amount: CurrencyAmount = amount.wrapped()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `FractionLike>>` to `FractionLike>>` [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/entities/trade.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 268 | let amount_in = match next_amount_in { [INFO] [stdout] | _________________________- [INFO] [stdout] 269 | | Some(amount_in) => { [INFO] [stdout] 270 | | assert!(!current_pairs.is_empty(), "INVALID_RECURSION"); [INFO] [stdout] 271 | | amount_in [INFO] [stdout] | | --------- this is found to be of type `FractionLike>>` [INFO] [stdout] 272 | | } [INFO] [stdout] 273 | | None => currency_amount_in.wrapped()?, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] 274 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/entities/trade.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 380 | let amount_out = match next_amount_out { [INFO] [stdout] | __________________________- [INFO] [stdout] 381 | | Some(amount_out) => { [INFO] [stdout] 382 | | assert!(!current_pairs.is_empty(), "INVALID_RECURSION"); [INFO] [stdout] 383 | | amount_out [INFO] [stdout] | | ---------- this is found to be of type `FractionLike>>` [INFO] [stdout] 384 | | } [INFO] [stdout] 385 | | None => currency_amount_out.wrapped()?, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `FractionLike>`, found `FractionLike>` [INFO] [stdout] 386 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected struct `FractionLike>>` [INFO] [stdout] found struct `FractionLike>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uniswap-v2-sdk` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "62302a5aa701b70f5e29cbef3df85610c949b435dddb32fbe40e7a6475e5a584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62302a5aa701b70f5e29cbef3df85610c949b435dddb32fbe40e7a6475e5a584", kill_on_drop: false }` [INFO] [stdout] 62302a5aa701b70f5e29cbef3df85610c949b435dddb32fbe40e7a6475e5a584