[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] checking satanya-zero/btcodec against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsatanya-zero%2Fbtcodec" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/satanya-zero/btcodec on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8dd48237bfc1fce6e44e3c68aa40fd314579068fa7d2693b412273df400a0d7 [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" "d8dd48237bfc1fce6e44e3c68aa40fd314579068fa7d2693b412273df400a0d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8dd48237bfc1fce6e44e3c68aa40fd314579068fa7d2693b412273df400a0d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8dd48237bfc1fce6e44e3c68aa40fd314579068fa7d2693b412273df400a0d7", kill_on_drop: false }` [INFO] [stdout] d8dd48237bfc1fce6e44e3c68aa40fd314579068fa7d2693b412273df400a0d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c7d102862d7bd6027e03248b1fab212337ef2eb0c878fbdb88d250b990258ec [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" "4c7d102862d7bd6027e03248b1fab212337ef2eb0c878fbdb88d250b990258ec", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking btcodec v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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[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 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0317, E0425, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `btcodec` due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0317, E0425, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4c7d102862d7bd6027e03248b1fab212337ef2eb0c878fbdb88d250b990258ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c7d102862d7bd6027e03248b1fab212337ef2eb0c878fbdb88d250b990258ec", kill_on_drop: false }` [INFO] [stdout] 4c7d102862d7bd6027e03248b1fab212337ef2eb0c878fbdb88d250b990258ec