[INFO] cloning repository https://github.com/satanya-zero/btcodec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/satanya-zero/btcodec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatanya-zero%2Fbtcodec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatanya-zero%2Fbtcodec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4c1ef239f14deec61f54fe0ef9695281f037722 [INFO] testing satanya-zero/btcodec against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatanya-zero%2Fbtcodec" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/satanya-zero/btcodec on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/satanya-zero/btcodec [INFO] finished tweaking git repo https://github.com/satanya-zero/btcodec [INFO] tweaked toml for git repo https://github.com/satanya-zero/btcodec written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/satanya-zero/btcodec already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] 80c8ffbcd50e35f1b471530bd0cb6a99d1b72dd5a55742afd52d9a7e8a539308 [INFO] running `Command { std: "docker" "start" "-a" "80c8ffbcd50e35f1b471530bd0cb6a99d1b72dd5a55742afd52d9a7e8a539308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80c8ffbcd50e35f1b471530bd0cb6a99d1b72dd5a55742afd52d9a7e8a539308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80c8ffbcd50e35f1b471530bd0cb6a99d1b72dd5a55742afd52d9a7e8a539308", kill_on_drop: false }` [INFO] [stdout] 80c8ffbcd50e35f1b471530bd0cb6a99d1b72dd5a55742afd52d9a7e8a539308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87fb30544a7652bcaeab1bd8d9c9f29c8e60f5e0ba34c4325f225de61a5868a6 [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" "87fb30544a7652bcaeab1bd8d9c9f29c8e60f5e0ba34c4325f225de61a5868a6", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling btcodec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `bit2int` in this scope [INFO] [stdout] --> src/packet/etcs5.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | packet_map.insert(String::from("NID_C"), json!(bit2int(10))); [INFO] [stdout] | ^^^^^^^ help: a local variable with a similar name exists: `bin2int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Number` [INFO] [stdout] --> src/packet/etcs5.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::value::Value::{Number, Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/packet/etcs5.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if assert_eq!(packet_map.get("Q_NEWCOUNTRY"), json!(1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found enum `Value` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&Value>` [INFO] [stdout] found enum `Value` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> src/packet/etcs5.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if assert_eq!(packet_map.get("Q_NEWCOUNTRY"), json!(1)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/packet/etcs5.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | if assert_eq!(packet_map.get("Q_NEWCOUNTRY"), json!(1)) { [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::ser::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::ser::Serialize for i128; [INFO] [stdout] - impl serde::ser::Serialize for i16; [INFO] [stdout] - impl serde::ser::Serialize for i32; [INFO] [stdout] - impl serde::ser::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&{integer}` [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.57/src/value/mod.rs:962:8 [INFO] [stdout] | [INFO] [stdout] 962 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] = note: this error originates in the macro `json_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `u128` as `T` [INFO] [stdout] --> src/tool.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | u128::from_str_radix(&bin_str[range], 2).unwrap() as T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0308, E0317, E0425, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `btcodec` due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "87fb30544a7652bcaeab1bd8d9c9f29c8e60f5e0ba34c4325f225de61a5868a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87fb30544a7652bcaeab1bd8d9c9f29c8e60f5e0ba34c4325f225de61a5868a6", kill_on_drop: false }` [INFO] [stdout] 87fb30544a7652bcaeab1bd8d9c9f29c8e60f5e0ba34c4325f225de61a5868a6