[INFO] cloning repository https://github.com/hollowness-inside/phyphox-rust-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hollowness-inside/phyphox-rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhollowness-inside%2Fphyphox-rust-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhollowness-inside%2Fphyphox-rust-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc1b885fd175a7b9777a06977b494989cb6bf6c2 [INFO] testing hollowness-inside/phyphox-rust-api against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhollowness-inside%2Fphyphox-rust-api" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hollowness-inside/phyphox-rust-api on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hollowness-inside/phyphox-rust-api [INFO] finished tweaking git repo https://github.com/hollowness-inside/phyphox-rust-api [INFO] tweaked toml for git repo https://github.com/hollowness-inside/phyphox-rust-api written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hollowness-inside/phyphox-rust-api 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 818ff422519c27f29ae90cc75033a2d0f9c96a3f0f81a148bb04825878ca8049 [INFO] running `Command { std: "docker" "start" "-a" "818ff422519c27f29ae90cc75033a2d0f9c96a3f0f81a148bb04825878ca8049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "818ff422519c27f29ae90cc75033a2d0f9c96a3f0f81a148bb04825878ca8049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "818ff422519c27f29ae90cc75033a2d0f9c96a3f0f81a148bb04825878ca8049", kill_on_drop: false }` [INFO] [stdout] 818ff422519c27f29ae90cc75033a2d0f9c96a3f0f81a148bb04825878ca8049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00b27ba8c5f710e5b96d0f6fe0bc73fc4ddfc901d62b0215dc823432037ca2f6 [INFO] running `Command { std: "docker" "start" "-a" "00b27ba8c5f710e5b96d0f6fe0bc73fc4ddfc901d62b0215dc823432037ca2f6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling serde v1.0.176 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling phyphox_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.63s [INFO] running `Command { std: "docker" "inspect" "00b27ba8c5f710e5b96d0f6fe0bc73fc4ddfc901d62b0215dc823432037ca2f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b27ba8c5f710e5b96d0f6fe0bc73fc4ddfc901d62b0215dc823432037ca2f6", kill_on_drop: false }` [INFO] [stdout] 00b27ba8c5f710e5b96d0f6fe0bc73fc4ddfc901d62b0215dc823432037ca2f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9ae1026920da0c01ab801485540c1629ab16fa5ae43515d21d3f8e5a098abe6 [INFO] running `Command { std: "docker" "start" "-a" "b9ae1026920da0c01ab801485540c1629ab16fa5ae43515d21d3f8e5a098abe6", kill_on_drop: false }` [INFO] [stderr] Compiling phyphox_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "b9ae1026920da0c01ab801485540c1629ab16fa5ae43515d21d3f8e5a098abe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ae1026920da0c01ab801485540c1629ab16fa5ae43515d21d3f8e5a098abe6", kill_on_drop: false }` [INFO] [stdout] b9ae1026920da0c01ab801485540c1629ab16fa5ae43515d21d3f8e5a098abe6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae947869fc9fa4a8f0f859efa749804b00426366bcacb08021f0c719ca940b10 [INFO] running `Command { std: "docker" "start" "-a" "ae947869fc9fa4a8f0f859efa749804b00426366bcacb08021f0c719ca940b10", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/phyphox_api-211821bd325af778) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests phyphox_api [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/client.rs - client::PhyphoxClient::register (line 27) ... FAILED [INFO] [stdout] test src/phyphox.rs - phyphox::Phyphox::retrieve (line 46) ... FAILED [INFO] [stdout] test src/phyphox.rs - phyphox::Phyphox::control (line 123) ... FAILED [INFO] [stdout] test src/client.rs - client::PhyphoxClient::control (line 112) ... FAILED [INFO] [stdout] test src/client.rs - client::PhyphoxClient::get (line 95) ... FAILED [INFO] [stdout] test src/client.rs - client::PhyphoxClient::retrieve (line 47) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::PhyphoxClient::register (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhyphoxClient` [INFO] [stdout] --> src/client.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut phyphox = PhyphoxClient::new("127.0.0.1:8080"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PhyphoxClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::PhyphoxClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Variables` [INFO] [stdout] --> src/client.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 4 | phyphox.register(Variables::AccelerationX); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Variables` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::Variables; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Variables` [INFO] [stdout] --> src/client.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 5 | phyphox.register(Variables::AccelerationY); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Variables` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::Variables; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/phyphox.rs - phyphox::Phyphox::retrieve (line 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Phyphox` [INFO] [stdout] --> src/phyphox.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut phyphox = Phyphox::new("127.0.0.1:8080"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Phyphox` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::Phyphox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XYZSensorName` [INFO] [stdout] --> src/phyphox.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mag = phyphox.xyz_sensor(XYZSensorName::Magnetometer); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `XYZSensorName` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::sensors::XYZSensorName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/phyphox.rs - phyphox::Phyphox::control (line 123) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Phyphox` [INFO] [stdout] --> src/phyphox.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut phyphox = Phyphox::new("127.0.0.1:8080"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Phyphox` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::Phyphox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::PhyphoxClient::control (line 112) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhyphoxClient` [INFO] [stdout] --> src/client.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut phyphox = PhyphoxClient::new("127.0.0.1:8080"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PhyphoxClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::PhyphoxClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::PhyphoxClient::get (line 95) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhyphoxClient` [INFO] [stdout] --> src/client.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut phyphox = PhyphoxClient::new("127.0.0.1:8080"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PhyphoxClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::PhyphoxClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Variables` [INFO] [stdout] --> src/client.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 4 | phyphox.register(Variables::Light); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Variables` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::Variables; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Variables` [INFO] [stdout] --> src/client.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 7 | let light = phyphox.get(Variables::Light)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Variables` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::Variables; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::PhyphoxClient::retrieve (line 47) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PhyphoxClient` [INFO] [stdout] --> src/client.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut phyphox = PhyphoxClient::new("127.0.0.1:8080"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PhyphoxClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::PhyphoxClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Variables` [INFO] [stdout] --> src/client.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 4 | phyphox.register(Variables::AccelerationX); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Variables` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::Variables; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Variables` [INFO] [stdout] --> src/client.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 5 | phyphox.register(Variables::AccelerationY); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Variables` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::Variables; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Variables` [INFO] [stdout] --> src/client.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 11 | let x = phyphox.get(Variables::AccelerationX)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Variables` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::Variables; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Variables` [INFO] [stdout] --> src/client.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 12 | let y = phyphox.get(Variables::AccelerationY)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Variables` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use phyphox_api::Variables; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client::PhyphoxClient::control (line 112) [INFO] [stdout] src/client.rs - client::PhyphoxClient::get (line 95) [INFO] [stdout] src/client.rs - client::PhyphoxClient::register (line 27) [INFO] [stdout] src/client.rs - client::PhyphoxClient::retrieve (line 47) [INFO] [stdout] src/phyphox.rs - phyphox::Phyphox::control (line 123) [INFO] [stdout] src/phyphox.rs - phyphox::Phyphox::retrieve (line 46) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ae947869fc9fa4a8f0f859efa749804b00426366bcacb08021f0c719ca940b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae947869fc9fa4a8f0f859efa749804b00426366bcacb08021f0c719ca940b10", kill_on_drop: false }` [INFO] [stdout] ae947869fc9fa4a8f0f859efa749804b00426366bcacb08021f0c719ca940b10