[INFO] updating cached repository https://github.com/richardbrodie/fitsdk-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 82c961458dabcfe7f271463602f73c0da900a978 [INFO] testing richardbrodie/fitsdk-rs against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardbrodie%2Ffitsdk-rs" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richardbrodie/fitsdk-rs on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/richardbrodie/fitsdk-rs [INFO] finished tweaking git repo https://github.com/richardbrodie/fitsdk-rs [INFO] tweaked toml for git repo https://github.com/richardbrodie/fitsdk-rs written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/richardbrodie/fitsdk-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4a96ba1deb594127489cdbcf4ba8c5fadea79d0bab24f2e1ba9e896deebe7942 [INFO] running `"docker" "start" "-a" "4a96ba1deb594127489cdbcf4ba8c5fadea79d0bab24f2e1ba9e896deebe7942"` [INFO] [stderr] Compiling fitsdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.32s [INFO] running `"docker" "inspect" "4a96ba1deb594127489cdbcf4ba8c5fadea79d0bab24f2e1ba9e896deebe7942"` [INFO] running `"docker" "rm" "-f" "4a96ba1deb594127489cdbcf4ba8c5fadea79d0bab24f2e1ba9e896deebe7942"` [INFO] [stdout] 4a96ba1deb594127489cdbcf4ba8c5fadea79d0bab24f2e1ba9e896deebe7942 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a11fba9c6d0364bb4f217ac7e94ad8440019c330c1eb90a3229340f12cf514e6 [INFO] running `"docker" "start" "-a" "a11fba9c6d0364bb4f217ac7e94ad8440019c330c1eb90a3229340f12cf514e6"` [INFO] [stderr] Compiling fitsdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `"docker" "inspect" "a11fba9c6d0364bb4f217ac7e94ad8440019c330c1eb90a3229340f12cf514e6"` [INFO] running `"docker" "rm" "-f" "a11fba9c6d0364bb4f217ac7e94ad8440019c330c1eb90a3229340f12cf514e6"` [INFO] [stdout] a11fba9c6d0364bb4f217ac7e94ad8440019c330c1eb90a3229340f12cf514e6 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stdout] 8a2f3282d2fc46c79150b8993d626471394a53e94e69fa0f8f7e14b527dba2c2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "8a2f3282d2fc46c79150b8993d626471394a53e94e69fa0f8f7e14b527dba2c2"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/fitsdk-b083262ec7dad7a6 [INFO] [stderr] Doc-tests fitsdk [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/match_messagetype_offset.rs - match_messagetype_offset::match_message_offset (line 464) ... FAILED [INFO] [stdout] test src/match_messagetype_field.rs - match_messagetype_field::match_message_field (line 1510) ... FAILED [INFO] [stdout] test src/match_messagetype_scale.rs - match_messagetype_scale::match_message_scale (line 732) ... FAILED [INFO] [stdout] test src/match_predefined_field_value.rs - match_predefined_field_value::match_predefined_field_value (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/match_messagetype_offset.rs - match_messagetype_offset::match_message_offset (line 464) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MessageType` [INFO] [stdout] --> src/match_messagetype_offset.rs:465:20 [INFO] [stdout] | [INFO] [stdout] 3 | let message_type = MessageType::Session; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `MessageType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `match_message_offset` in this scope [INFO] [stdout] --> src/match_messagetype_offset.rs:467: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] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use fitsdk::match_message_offset; [INFO] [stdout] | [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/match_messagetype_field.rs - match_messagetype_field::match_message_field (line 1510) stdout ---- [INFO] [stdout] error: expected identifier, found keyword `type` [INFO] [stdout] --> src/match_messagetype_field.rs:1515:25 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(field, Field:type::Uint16); [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(field, Field:r#type::Uint16); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error: expected type, found keyword `type` [INFO] [stdout] --> src/match_messagetype_field.rs:1515:25 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(field, Field:type::Uint16); [INFO] [stdout] | -^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | help: maybe write a path separator here: `::` [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] = note: see issue #23416 for more information [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MessageType` [INFO] [stdout] --> src/match_messagetype_field.rs:1511:20 [INFO] [stdout] | [INFO] [stdout] 3 | let message_type = MessageType::WorkoutSession; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `MessageType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `match_message_field` in this scope [INFO] [stdout] --> src/match_messagetype_field.rs:1513: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] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use fitsdk::match_message_field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/match_messagetype_scale.rs - match_messagetype_scale::match_message_scale (line 732) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MessageType` [INFO] [stdout] --> src/match_messagetype_scale.rs:733:20 [INFO] [stdout] | [INFO] [stdout] 3 | let message_type = MessageType::Workout; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `MessageType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `match_message_scale` in this scope [INFO] [stdout] --> src/match_messagetype_scale.rs:735: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] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use fitsdk::match_message_scale; [INFO] [stdout] | [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/match_predefined_field_value.rs - match_predefined_field_value::match_predefined_field_value (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FieldType` [INFO] [stdout] --> src/match_predefined_field_value.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 3 | let field_type = FieldType::BodyLocation; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `FieldType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `match_predefined_field_value` in this scope [INFO] [stdout] --> src/match_predefined_field_value.rs:11: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] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use fitsdk::match_predefined_field_value; [INFO] [stdout] | [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/match_messagetype_field.rs - match_messagetype_field::match_message_field (line 1510) [INFO] [stdout] src/match_messagetype_offset.rs - match_messagetype_offset::match_message_offset (line 464) [INFO] [stdout] src/match_messagetype_scale.rs - match_messagetype_scale::match_message_scale (line 732) [INFO] [stdout] src/match_predefined_field_value.rs - match_predefined_field_value::match_predefined_field_value (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "8a2f3282d2fc46c79150b8993d626471394a53e94e69fa0f8f7e14b527dba2c2"` [INFO] running `"docker" "rm" "-f" "8a2f3282d2fc46c79150b8993d626471394a53e94e69fa0f8f7e14b527dba2c2"` [INFO] [stdout] 8a2f3282d2fc46c79150b8993d626471394a53e94e69fa0f8f7e14b527dba2c2