[INFO] cloning repository https://github.com/zzyandzzy/fit-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zzyandzzy/fit-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzyandzzy%2Ffit-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzyandzzy%2Ffit-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b04fd1290bb7c347652a69af1e4ee0c38070374 [INFO] testing zzyandzzy/fit-rust against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzyandzzy%2Ffit-rust" "/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/zzyandzzy/fit-rust [INFO] finished tweaking git repo https://github.com/zzyandzzy/fit-rust [INFO] tweaked toml for git repo https://github.com/zzyandzzy/fit-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zzyandzzy/fit-rust on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding binrw v0.13.3 (available: v0.15.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded binrw_derive v0.13.3 [INFO] [stderr] Downloaded binrw v0.13.3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fed58954a62b118777859304f9a03396a634e03e0eef983ec8732502c1f0379b [INFO] running `Command { std: "docker" "start" "-a" "fed58954a62b118777859304f9a03396a634e03e0eef983ec8732502c1f0379b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed58954a62b118777859304f9a03396a634e03e0eef983ec8732502c1f0379b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed58954a62b118777859304f9a03396a634e03e0eef983ec8732502c1f0379b", kill_on_drop: false }` [INFO] [stdout] fed58954a62b118777859304f9a03396a634e03e0eef983ec8732502c1f0379b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285bde7deeaa930e21339d299f3c267922d3163e2ed812d46907e7c1847559f6 [INFO] running `Command { std: "docker" "start" "-a" "285bde7deeaa930e21339d299f3c267922d3163e2ed812d46907e7c1847559f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling binrw_derive v0.13.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling binrw v0.13.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling quote v1.0.42 [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 14.24s [INFO] running `Command { std: "docker" "inspect" "285bde7deeaa930e21339d299f3c267922d3163e2ed812d46907e7c1847559f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285bde7deeaa930e21339d299f3c267922d3163e2ed812d46907e7c1847559f6", kill_on_drop: false }` [INFO] [stdout] 285bde7deeaa930e21339d299f3c267922d3163e2ed812d46907e7c1847559f6 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 787419451b3ef212a575595a80744419f4fa3d315459e090fffb766d2d6cfabf [INFO] running `Command { std: "docker" "start" "-a" "787419451b3ef212a575595a80744419f4fa3d315459e090fffb766d2d6cfabf", 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.09s [INFO] running `Command { std: "docker" "inspect" "787419451b3ef212a575595a80744419f4fa3d315459e090fffb766d2d6cfabf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "787419451b3ef212a575595a80744419f4fa3d315459e090fffb766d2d6cfabf", kill_on_drop: false }` [INFO] [stdout] 787419451b3ef212a575595a80744419f4fa3d315459e090fffb766d2d6cfabf [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 04bcfafe719415fbf63f4b4d2663b3ca7130f21192255159c7c01bca0cc1091f [INFO] running `Command { std: "docker" "start" "-a" "04bcfafe719415fbf63f4b4d2663b3ca7130f21192255159c7c01bca0cc1091f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fit_rust-34859f890ae26f5d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test protocol::tests::fit_crc_get16_test ... ok [INFO] [stderr] Doc-tests fit_rust [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_type.rs - protocol::get_field_type::get_field_type_fn (line 1568) ... FAILED [INFO] [stdout] test src/protocol/get_field_offset.rs - protocol::get_field_offset::get_field_offset_fn (line 313) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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] [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] 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]: failed to resolve: use of undeclared type `FieldType` [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] ---- 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] 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_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] 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]: failed to resolve: use of undeclared type `MessageType` [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] [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.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "04bcfafe719415fbf63f4b4d2663b3ca7130f21192255159c7c01bca0cc1091f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04bcfafe719415fbf63f4b4d2663b3ca7130f21192255159c7c01bca0cc1091f", kill_on_drop: false }` [INFO] [stdout] 04bcfafe719415fbf63f4b4d2663b3ca7130f21192255159c7c01bca0cc1091f