[INFO] fetching crate fit-rust 0.1.8... [INFO] testing fit-rust-0.1.8 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate fit-rust 0.1.8 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate fit-rust 0.1.8 [INFO] finished tweaking crates.io crate fit-rust 0.1.8 [INFO] tweaked toml for crates.io crate fit-rust 0.1.8 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fit-rust 0.1.8 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fit-rust 0.1.8 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2686b17ce64ae282038af2dc90b612237aacc44d246954798b5abf9058381af7 [INFO] running `Command { std: "docker" "start" "-a" "2686b17ce64ae282038af2dc90b612237aacc44d246954798b5abf9058381af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2686b17ce64ae282038af2dc90b612237aacc44d246954798b5abf9058381af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2686b17ce64ae282038af2dc90b612237aacc44d246954798b5abf9058381af7", kill_on_drop: false }` [INFO] [stdout] 2686b17ce64ae282038af2dc90b612237aacc44d246954798b5abf9058381af7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfea7503b00b9020d8b7a7633ce61fe3b3ecef992866d326d9b877d42d7321a0 [INFO] running `Command { std: "docker" "start" "-a" "dfea7503b00b9020d8b7a7633ce61fe3b3ecef992866d326d9b877d42d7321a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling binrw_derive v0.13.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling binrw v0.13.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling fit-rust v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.62s [INFO] running `Command { std: "docker" "inspect" "dfea7503b00b9020d8b7a7633ce61fe3b3ecef992866d326d9b877d42d7321a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfea7503b00b9020d8b7a7633ce61fe3b3ecef992866d326d9b877d42d7321a0", kill_on_drop: false }` [INFO] [stdout] dfea7503b00b9020d8b7a7633ce61fe3b3ecef992866d326d9b877d42d7321a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c53945870653e300c16a690fcfdb01ff6bf7f3e8c9b95ef4767d59b8ff4a8987 [INFO] running `Command { std: "docker" "start" "-a" "c53945870653e300c16a690fcfdb01ff6bf7f3e8c9b95ef4767d59b8ff4a8987", kill_on_drop: false }` [INFO] [stderr] Compiling fit-rust v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "c53945870653e300c16a690fcfdb01ff6bf7f3e8c9b95ef4767d59b8ff4a8987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53945870653e300c16a690fcfdb01ff6bf7f3e8c9b95ef4767d59b8ff4a8987", kill_on_drop: false }` [INFO] [stdout] c53945870653e300c16a690fcfdb01ff6bf7f3e8c9b95ef4767d59b8ff4a8987 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5689a8d347166f1f2c562b0efc88c8f3241219cd08358b5d8428c747ea5826f3 [INFO] running `Command { std: "docker" "start" "-a" "5689a8d347166f1f2c562b0efc88c8f3241219cd08358b5d8428c747ea5826f3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fit_rust-ae3711fe885e70b6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests fit_rust [INFO] [stdout] test protocol::tests::fit_crc_get16_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/protocol/get_field_string_value.rs - protocol::get_field_string_value::define_field_mappings (line 126) ... FAILED [INFO] [stdout] test src/protocol/get_field_scale.rs - protocol::get_field_scale::get_field_scale_fn (line 667) ... FAILED [INFO] [stdout] test src/protocol/get_field_offset.rs - protocol::get_field_offset::get_field_offset_fn (line 313) ... FAILED [INFO] [stdout] test src/protocol/get_field_type.rs - protocol::get_field_type::get_field_type_fn (line 1568) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/protocol/get_field_string_value.rs - protocol::get_field_string_value::define_field_mappings (line 126) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `FieldType` in this scope [INFO] [stdout] --> src/protocol/get_field_string_value.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | let field_type = FieldType::BodyLocation; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FieldType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `match_predefined_field_value` in this scope [INFO] [stdout] --> src/protocol/get_field_string_value.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let predefined_text = match_predefined_field_value(field_type, parsed_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/protocol/get_field_scale.rs - protocol::get_field_scale::get_field_scale_fn (line 667) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope [INFO] [stdout] --> src/protocol/get_field_scale.rs:668:20 [INFO] [stdout] | [INFO] [stdout] 668 | let message_type = MessageType::Workout; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 667 + use fit_rust::protocol::message_type::MessageType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `match_message_scale` in this scope [INFO] [stdout] --> src/protocol/get_field_scale.rs:670:16 [INFO] [stdout] | [INFO] [stdout] 670 | let scale_fn = match_message_scale(message_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/protocol/get_field_offset.rs - protocol::get_field_offset::get_field_offset_fn (line 313) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope [INFO] [stdout] --> src/protocol/get_field_offset.rs:314:20 [INFO] [stdout] | [INFO] [stdout] 314 | let message_type = MessageType::Session; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 313 + use fit_rust::protocol::message_type::MessageType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `match_message_offset` in this scope [INFO] [stdout] --> src/protocol/get_field_offset.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | let offset_fn = match_message_offset(message_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/protocol/get_field_type.rs - protocol::get_field_type::get_field_type_fn (line 1568) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope [INFO] [stdout] --> src/protocol/get_field_type.rs:1569:20 [INFO] [stdout] | [INFO] [stdout] 1569 | let message_type = MessageType::WorkoutSession; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1568 + use fit_rust::protocol::message_type::MessageType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `match_message_field` in this scope [INFO] [stdout] --> src/protocol/get_field_type.rs:1571:16 [INFO] [stdout] | [INFO] [stdout] 1571 | let field_fn = match_message_field(message_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `FieldType` in this scope [INFO] [stdout] --> src/protocol/get_field_type.rs:1573:19 [INFO] [stdout] | [INFO] [stdout] 1573 | assert_eq!(field, FieldType::Uint16); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FieldType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/protocol/get_field_offset.rs - protocol::get_field_offset::get_field_offset_fn (line 313) [INFO] [stdout] src/protocol/get_field_scale.rs - protocol::get_field_scale::get_field_scale_fn (line 667) [INFO] [stdout] src/protocol/get_field_string_value.rs - protocol::get_field_string_value::define_field_mappings (line 126) [INFO] [stdout] src/protocol/get_field_type.rs - protocol::get_field_type::get_field_type_fn (line 1568) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5689a8d347166f1f2c562b0efc88c8f3241219cd08358b5d8428c747ea5826f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5689a8d347166f1f2c562b0efc88c8f3241219cd08358b5d8428c747ea5826f3", kill_on_drop: false }` [INFO] [stdout] 5689a8d347166f1f2c562b0efc88c8f3241219cd08358b5d8428c747ea5826f3