[INFO] fetching crate fit-rust 0.1.8... [INFO] testing fit-rust-0.1.8 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate fit-rust 0.1.8 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fit-rust 0.1.8 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5358af9596ed8b51a900969aa6e04016536fb173014c9ace4d43c0910a249b8 [INFO] running `Command { std: "docker" "start" "-a" "c5358af9596ed8b51a900969aa6e04016536fb173014c9ace4d43c0910a249b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5358af9596ed8b51a900969aa6e04016536fb173014c9ace4d43c0910a249b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5358af9596ed8b51a900969aa6e04016536fb173014c9ace4d43c0910a249b8", kill_on_drop: false }` [INFO] [stdout] c5358af9596ed8b51a900969aa6e04016536fb173014c9ace4d43c0910a249b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d13f890e726c434ac9024c074adc57e78c7a9a605ea35d96429150473f759a4 [INFO] running `Command { std: "docker" "start" "-a" "8d13f890e726c434ac9024c074adc57e78c7a9a605ea35d96429150473f759a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling binrw_derive v0.13.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling binrw v0.13.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fit-rust v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.58s [INFO] running `Command { std: "docker" "inspect" "8d13f890e726c434ac9024c074adc57e78c7a9a605ea35d96429150473f759a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d13f890e726c434ac9024c074adc57e78c7a9a605ea35d96429150473f759a4", kill_on_drop: false }` [INFO] [stdout] 8d13f890e726c434ac9024c074adc57e78c7a9a605ea35d96429150473f759a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3bdc4dd6fc53966f075ecbd9b84a6850772f255bbe8a0ddeef8636dde4cb03d [INFO] running `Command { std: "docker" "start" "-a" "a3bdc4dd6fc53966f075ecbd9b84a6850772f255bbe8a0ddeef8636dde4cb03d", 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.30s [INFO] running `Command { std: "docker" "inspect" "a3bdc4dd6fc53966f075ecbd9b84a6850772f255bbe8a0ddeef8636dde4cb03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3bdc4dd6fc53966f075ecbd9b84a6850772f255bbe8a0ddeef8636dde4cb03d", kill_on_drop: false }` [INFO] [stdout] a3bdc4dd6fc53966f075ecbd9b84a6850772f255bbe8a0ddeef8636dde4cb03d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0464c9ed69d55c84871aa813b2eccb5977644876edb200e4239f05c0eb96d26f [INFO] running `Command { std: "docker" "start" "-a" "0464c9ed69d55c84871aa813b2eccb5977644876edb200e4239f05c0eb96d26f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fit_rust-e8e3cb676161faa6) [INFO] [stdout] [INFO] [stdout] running 1 test [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] [stderr] Doc-tests fit_rust [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/protocol/get_field_type.rs - protocol::get_field_type::get_field_type_fn (line 1568) ... 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_string_value.rs - protocol::get_field_string_value::define_field_mappings (line 126) ... FAILED [INFO] [stdout] test src/protocol/get_field_offset.rs - protocol::get_field_offset::get_field_offset_fn (line 313) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/protocol/get_field_type.rs - protocol::get_field_type::get_field_type_fn (line 1568) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> src/protocol/get_field_type.rs:1569:20 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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] 5 | let field_fn = match_message_field(message_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldType` [INFO] [stdout] --> src/protocol/get_field_type.rs:1573:19 [INFO] [stdout] | [INFO] [stdout] 7 | 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] ---- src/protocol/get_field_scale.rs - protocol::get_field_scale::get_field_scale_fn (line 667) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> src/protocol/get_field_scale.rs:668:20 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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] 5 | 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_string_value.rs - protocol::get_field_string_value::define_field_mappings (line 126) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldType` [INFO] [stdout] --> src/protocol/get_field_string_value.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 5 | 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_offset.rs - protocol::get_field_offset::get_field_offset_fn (line 313) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> src/protocol/get_field_offset.rs:314:20 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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] 5 | 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] [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.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0464c9ed69d55c84871aa813b2eccb5977644876edb200e4239f05c0eb96d26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0464c9ed69d55c84871aa813b2eccb5977644876edb200e4239f05c0eb96d26f", kill_on_drop: false }` [INFO] [stdout] 0464c9ed69d55c84871aa813b2eccb5977644876edb200e4239f05c0eb96d26f