[INFO] updating cached repository https://github.com/whalecold/leetcode [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/whalecold/leetcode [INFO] [stderr] 16b0da0..09521f9 solution -> solution [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3ce461073e8bc7ed4d7371ec265dcf0a50c72101 [INFO] checking whalecold/leetcode against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhalecold%2Fleetcode" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whalecold/leetcode on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/whalecold/leetcode [INFO] finished tweaking git repo https://github.com/whalecold/leetcode [INFO] tweaked toml for git repo https://github.com/whalecold/leetcode written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/whalecold/leetcode already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-5/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-5/source/src/main.rs` was erroneously implicitly accepted for binary `leetcode`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e5c50d0e3e29728892463468d8d1473d9cd854da23cfa00570bf56ee26ab81a0 [INFO] running `"docker" "start" "-a" "e5c50d0e3e29728892463468d8d1473d9cd854da23cfa00570bf56ee26ab81a0"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `leetcode`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking mime v0.3.14 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] error[E0606]: casting `f64` as `isize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dtoa-0.4.4/src/diyfp.rs:244:17 [INFO] [stderr] | [INFO] [stderr] 244 | let mut k = dk as isize; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dtoa-0.4.4/src/lib.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | / dtoa! { [INFO] [stderr] 70 | | floating_type: f32, [INFO] [stderr] 71 | | significand_type: u32, [INFO] [stderr] 72 | | exponent_type: i32, [INFO] [stderr] ... | [INFO] [stderr] 83 | | min_power: (-36), [INFO] [stderr] 84 | | }; [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `isize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dtoa-0.4.4/src/diyfp.rs:244:17 [INFO] [stderr] | [INFO] [stderr] 244 | let mut k = dk as isize; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dtoa-0.4.4/src/lib.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | / dtoa! { [INFO] [stderr] 92 | | floating_type: f64, [INFO] [stderr] 93 | | significand_type: u64, [INFO] [stderr] 94 | | exponent_type: isize, [INFO] [stderr] ... | [INFO] [stderr] 105 | | min_power: (-348), [INFO] [stderr] 106 | | }; [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `dtoa`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "e5c50d0e3e29728892463468d8d1473d9cd854da23cfa00570bf56ee26ab81a0"` [INFO] running `"docker" "rm" "-f" "e5c50d0e3e29728892463468d8d1473d9cd854da23cfa00570bf56ee26ab81a0"` [INFO] [stdout] e5c50d0e3e29728892463468d8d1473d9cd854da23cfa00570bf56ee26ab81a0