[INFO] cloning repository https://github.com/digitalnativeinc/math256 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/digitalnativeinc/math256" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalnativeinc%2Fmath256", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalnativeinc%2Fmath256'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2cea38383a9b19b86c790c241da18ef42084366 [INFO] checking digitalnativeinc/math256 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalnativeinc%2Fmath256" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/digitalnativeinc/math256 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/digitalnativeinc/math256 [INFO] finished tweaking git repo https://github.com/digitalnativeinc/math256 [INFO] tweaked toml for git repo https://github.com/digitalnativeinc/math256 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/digitalnativeinc/math256 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fbda312bc6159349aff7923e86eb6eae2e71be401b4a4038df3d521a542905e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1fbda312bc6159349aff7923e86eb6eae2e71be401b4a4038df3d521a542905e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fbda312bc6159349aff7923e86eb6eae2e71be401b4a4038df3d521a542905e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbda312bc6159349aff7923e86eb6eae2e71be401b4a4038df3d521a542905e", kill_on_drop: false }` [INFO] [stdout] 1fbda312bc6159349aff7923e86eb6eae2e71be401b4a4038df3d521a542905e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 035a54aa3eb604ec5e69a9495fa46841f1e64ede3e9b7292e9aa13f1ce1377f2 [INFO] running `Command { std: "docker" "start" "-a" "035a54aa3eb604ec5e69a9495fa46841f1e64ede3e9b7292e9aa13f1ce1377f2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking num256 v0.3.0 [INFO] [stderr] Checking serde-json-wasm v0.2.1 [INFO] [stderr] Checking math_256 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | self.0 == Uint256::from_bytes_le([0]) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[u8]`, found array `[{integer}; 1]` [INFO] [stdout] | help: consider borrowing here: `&[0]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | self.0 == Uint256::from_bytes_le([0]) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[u8]`, found array `[{integer}; 1]` [INFO] [stdout] | help: consider borrowing here: `&[0]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | if denominator == 0 { [INFO] [stdout] | ^ expected struct `Uint256`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | Decimal(nominator * DECIMAL_FRACTIONAL / denominator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Uint256`, found `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | if denominator == 0 { [INFO] [stdout] | ^ expected struct `Uint256`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | Decimal(nominator * DECIMAL_FRACTIONAL / denominator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u128`, found struct `Uint256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | Decimal(nominator * DECIMAL_FRACTIONAL / denominator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Uint256`, found `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 `math_256` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | Decimal(nominator * DECIMAL_FRACTIONAL / denominator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u128`, found struct `Uint256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "035a54aa3eb604ec5e69a9495fa46841f1e64ede3e9b7292e9aa13f1ce1377f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "035a54aa3eb604ec5e69a9495fa46841f1e64ede3e9b7292e9aa13f1ce1377f2", kill_on_drop: false }` [INFO] [stdout] 035a54aa3eb604ec5e69a9495fa46841f1e64ede3e9b7292e9aa13f1ce1377f2