[INFO] cloning repository https://github.com/cultural-technology/sunzi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cultural-technology/sunzi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcultural-technology%2Fsunzi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcultural-technology%2Fsunzi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c63d1d2e9a1eb18160a9ef16db10ed80cd6fd98 [INFO] checking cultural-technology/sunzi against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcultural-technology%2Fsunzi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cultural-technology/sunzi [INFO] finished tweaking git repo https://github.com/cultural-technology/sunzi [INFO] tweaked toml for git repo https://github.com/cultural-technology/sunzi written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cultural-technology/sunzi on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cultural-technology/sunzi 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" "+1383df06117fd218068d1f39fd5326256dd4a348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.113 [INFO] [stderr] Downloaded serde v1.0.113 [INFO] [stderr] Downloaded unroll v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d153fd1ff10952a6745217b0cf1adf65ddec103a216f799b7911396802dbbd58 [INFO] running `Command { std: "docker" "start" "-a" "d153fd1ff10952a6745217b0cf1adf65ddec103a216f799b7911396802dbbd58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d153fd1ff10952a6745217b0cf1adf65ddec103a216f799b7911396802dbbd58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d153fd1ff10952a6745217b0cf1adf65ddec103a216f799b7911396802dbbd58", kill_on_drop: false }` [INFO] [stdout] d153fd1ff10952a6745217b0cf1adf65ddec103a216f799b7911396802dbbd58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31c71e34feea92bcc5a50470bd7cb6eca6bc85c5eb5a88585f5e3ef2f26c86c5 [INFO] running `Command { std: "docker" "start" "-a" "31c71e34feea92bcc5a50470bd7cb6eca6bc85c5eb5a88585f5e3ef2f26c86c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ff_derive v0.1.0 (/opt/rustwide/workdir/ff_derive) [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling unroll v0.1.4 [INFO] [stderr] Checking rcmath v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `use_asm` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(use_asm, feature(llvm_asm))] [INFO] [stdout] | ^^^^^^^ [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(use_asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(use_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: `use_asm` [INFO] [stdout] --> src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(not(use_asm), forbid(unsafe_code))] [INFO] [stdout] | ^^^^^^^ [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(use_asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(use_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: `use_asm` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(use_asm, deny(unsafe_code))] [INFO] [stdout] | ^^^^^^^ [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(use_asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(use_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: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/uint/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `use_asm` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(use_asm, feature(llvm_asm))] [INFO] [stdout] | ^^^^^^^ [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(use_asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(use_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: `use_asm` [INFO] [stdout] --> src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(not(use_asm), forbid(unsafe_code))] [INFO] [stdout] | ^^^^^^^ [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(use_asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(use_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: `use_asm` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(use_asm, deny(unsafe_code))] [INFO] [stdout] | ^^^^^^^ [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(use_asm)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(use_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: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `adc` is never used [INFO] [stdout] --> src/uint/mod.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn adc(a: u64, b: u64, carry: &mut u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sbb` is never used [INFO] [stdout] --> src/uint/mod.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn sbb(a: u64, b: u64, borrow: &mut u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mac_with_carry` is never used [INFO] [stdout] --> src/uint/mod.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) fn mac_with_carry(a: u64, b: u64, c: u64, carry: &mut u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mac` is never used [INFO] [stdout] --> src/uint/mod.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) fn mac(a: u64, b: u64, c: u64, carry: &mut u64) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mac_discard` is never used [INFO] [stdout] --> src/uint/mod.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | pub(crate) fn mac_discard(a: u64, b: u64, c: u64, carry: &mut u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitIterator` is never constructed [INFO] [stdout] --> src/utils.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct BitIterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl> BitIterator { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 8 | pub fn new(t: E) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rcmath` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "31c71e34feea92bcc5a50470bd7cb6eca6bc85c5eb5a88585f5e3ef2f26c86c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31c71e34feea92bcc5a50470bd7cb6eca6bc85c5eb5a88585f5e3ef2f26c86c5", kill_on_drop: false }` [INFO] [stdout] 31c71e34feea92bcc5a50470bd7cb6eca6bc85c5eb5a88585f5e3ef2f26c86c5