[INFO] cloning repository https://github.com/pashadia/bridge-stack-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pashadia/bridge-stack-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpashadia%2Fbridge-stack-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpashadia%2Fbridge-stack-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b72fb4a5acf9cdb66a320ce8ddd1f78daf56897f [INFO] testing pashadia/bridge-stack-backend against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpashadia%2Fbridge-stack-backend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pashadia/bridge-stack-backend [INFO] finished tweaking git repo https://github.com/pashadia/bridge-stack-backend [INFO] tweaked toml for git repo https://github.com/pashadia/bridge-stack-backend written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pashadia/bridge-stack-backend on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pashadia/bridge-stack-backend 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/droundy/bridge-cards` [INFO] [stderr] Updating git repository `https://github.com/droundy/display-as` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6045bbffbc1677a0283711f637af89832666aea6755eee9e4ec1eed9588869e2 [INFO] running `Command { std: "docker" "start" "-a" "6045bbffbc1677a0283711f637af89832666aea6755eee9e4ec1eed9588869e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6045bbffbc1677a0283711f637af89832666aea6755eee9e4ec1eed9588869e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6045bbffbc1677a0283711f637af89832666aea6755eee9e4ec1eed9588869e2", kill_on_drop: false }` [INFO] [stdout] 6045bbffbc1677a0283711f637af89832666aea6755eee9e4ec1eed9588869e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0a6e08caf3d3daf22eefadbc0f67dbcccf404579dfe943c009954ac2859cb245 [INFO] running `Command { std: "docker" "start" "-a" "0a6e08caf3d3daf22eefadbc0f67dbcccf404579dfe943c009954ac2859cb245", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling display-as-proc-macro v0.6.0 (https://github.com/droundy/display-as#41fcfb0c) [INFO] [stderr] Compiling display-as v0.6.0 (https://github.com/droundy/display-as#41fcfb0c) [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bridge-deck v0.1.1 (https://github.com/droundy/bridge-cards?branch=main#acd38fdb) [INFO] [stderr] Compiling bridge-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/contract/mod.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ContractLevel` [INFO] [stdout] 130 | pub enum ContractLevel { [INFO] [stdout] | ------------- `ContractLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.55s [INFO] running `Command { std: "docker" "inspect" "0a6e08caf3d3daf22eefadbc0f67dbcccf404579dfe943c009954ac2859cb245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a6e08caf3d3daf22eefadbc0f67dbcccf404579dfe943c009954ac2859cb245", kill_on_drop: false }` [INFO] [stdout] 0a6e08caf3d3daf22eefadbc0f67dbcccf404579dfe943c009954ac2859cb245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 288bdfd85a82b9fefa58cc132467a82d1661afd0258bbf5c716f0aae0b31384f [INFO] running `Command { std: "docker" "start" "-a" "288bdfd85a82b9fefa58cc132467a82d1661afd0258bbf5c716f0aae0b31384f", kill_on_drop: false }` [INFO] [stderr] Compiling bridge-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/contract/mod.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ContractLevel` [INFO] [stdout] 130 | pub enum ContractLevel { [INFO] [stdout] | ------------- `ContractLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContractLevel` [INFO] [stdout] --> src/auction/tests.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::contract::{ContractLevel, Strain}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/contract/mod.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ContractLevel` [INFO] [stdout] 130 | pub enum ContractLevel { [INFO] [stdout] | ------------- `ContractLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "288bdfd85a82b9fefa58cc132467a82d1661afd0258bbf5c716f0aae0b31384f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288bdfd85a82b9fefa58cc132467a82d1661afd0258bbf5c716f0aae0b31384f", kill_on_drop: false }` [INFO] [stdout] 288bdfd85a82b9fefa58cc132467a82d1661afd0258bbf5c716f0aae0b31384f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 887c508414acac39f054a023dcea4ffd165d323d3a44260f494734857ecc3142 [INFO] running `Command { std: "docker" "start" "-a" "887c508414acac39f054a023dcea4ffd165d323d3a44260f494734857ecc3142", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/contract/mod.rs:129:62 [INFO] [stderr] | [INFO] [stderr] 129 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ContractLevel` [INFO] [stderr] 130 | pub enum ContractLevel { [INFO] [stderr] | ------------- `ContractLevel` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `ContractLevel` [INFO] [stderr] --> src/auction/tests.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::contract::{ContractLevel, Strain}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `bridge-backend` (lib) generated 1 warning [INFO] [stderr] warning: `bridge-backend` (lib test) generated 2 warnings (1 duplicate) (run `cargo fix --lib -p bridge-backend --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bridge_backend-c68e77b66a1f645f) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test auction::tests::basic::comparisons ... ok [INFO] [stdout] test auction::tests::auction_finished ... ok [INFO] [stdout] test auction::tests::basic::read_strain_bid ... ok [INFO] [stdout] test auction::tests::can_bid_strain ... ok [INFO] [stdout] test auction::tests::can_pass_out ... ok [INFO] [stdout] test auction::tests::contract::declarer_did_actually_win_auction ... ok [INFO] [stdout] test auction::tests::contract::doubled_contract ... ok [INFO] [stdout] test auction::tests::contract::other_declarers ... ok [INFO] [stdout] test auction::tests::contract::declarer_is_first_to_name_contract ... ok [INFO] [stdout] test auction::tests::contract::redoubled_contract ... ok [INFO] [stdout] test auction::tests::disallow_insufficient ... ok [INFO] [stdout] test auction::tests::redoubles ... ok [INFO] [stdout] test auction::tests::doubles ... ok [INFO] [stdout] test cardplay::tests::start_new_board ... ok [INFO] [stdout] test auction::tests::contract::passout ... ok [INFO] [stdout] test auction::tests::contract::basic_contract ... ok [INFO] [stdout] test contract::tests::basic::comparisons ... ok [INFO] [stdout] test cardplay::trick::tests::new ... ok [INFO] [stdout] test contract::tests::doubled_partscores ... ok [INFO] [stdout] test contract::tests::games_undoubled ... ok [INFO] [stdout] test contract::tests::new ... ok [INFO] [stdout] test contract::tests::partscores_made_undoubled ... ok [INFO] [stdout] test contract::tests::score_doubled_down ... ok [INFO] [stdout] test contract::tests::score_redoubled_down ... ok [INFO] [stdout] test contract::tests::score_undoubled_down ... ok [INFO] [stdout] test contract::tests::slams ... ok [INFO] [stdout] test tests::all_cards_should_exist ... ok [INFO] [stdout] test tests::correct_number_of_cards ... ok [INFO] [stdout] test tests::new_board ... ok [INFO] [stdout] test contract::tests::games_doubled ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "887c508414acac39f054a023dcea4ffd165d323d3a44260f494734857ecc3142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "887c508414acac39f054a023dcea4ffd165d323d3a44260f494734857ecc3142", kill_on_drop: false }` [INFO] [stdout] 887c508414acac39f054a023dcea4ffd165d323d3a44260f494734857ecc3142