[INFO] fetching crate secop-derive 0.1.3... [INFO] testing secop-derive-0.1.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate secop-derive 0.1.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate secop-derive 0.1.3 [INFO] finished tweaking crates.io crate secop-derive 0.1.3 [INFO] tweaked toml for crates.io crate secop-derive 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate secop-derive 0.1.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding darling v0.13.4 (available: v0.20.11) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_core v0.13.4 [INFO] [stderr] Downloaded darling_macro v0.13.4 [INFO] [stderr] Downloaded darling v0.13.4 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded unicode-xid v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 145db14f86af239990108d5de79d85137ec12a066c467521abd4f8ee3583e6bd [INFO] running `Command { std: "docker" "start" "-a" "145db14f86af239990108d5de79d85137ec12a066c467521abd4f8ee3583e6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "145db14f86af239990108d5de79d85137ec12a066c467521abd4f8ee3583e6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145db14f86af239990108d5de79d85137ec12a066c467521abd4f8ee3583e6bd", kill_on_drop: false }` [INFO] [stdout] 145db14f86af239990108d5de79d85137ec12a066c467521abd4f8ee3583e6bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c0f5720a68ba821f9336b4995aec7295d633c43303048af15df833f9eab80ef6 [INFO] running `Command { std: "docker" "start" "-a" "c0f5720a68ba821f9336b4995aec7295d633c43303048af15df833f9eab80ef6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling secop-derive v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.06s [INFO] running `Command { std: "docker" "inspect" "c0f5720a68ba821f9336b4995aec7295d633c43303048af15df833f9eab80ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0f5720a68ba821f9336b4995aec7295d633c43303048af15df833f9eab80ef6", kill_on_drop: false }` [INFO] [stdout] c0f5720a68ba821f9336b4995aec7295d633c43303048af15df833f9eab80ef6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1354967b7f7e7bf72d6360703328854bceeeaf8dc9edd2b38b052a315d2b1e3c [INFO] running `Command { std: "docker" "start" "-a" "1354967b7f7e7bf72d6360703328854bceeeaf8dc9edd2b38b052a315d2b1e3c", kill_on_drop: false }` [INFO] [stderr] Compiling secop-derive v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "1354967b7f7e7bf72d6360703328854bceeeaf8dc9edd2b38b052a315d2b1e3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1354967b7f7e7bf72d6360703328854bceeeaf8dc9edd2b38b052a315d2b1e3c", kill_on_drop: false }` [INFO] [stdout] 1354967b7f7e7bf72d6360703328854bceeeaf8dc9edd2b38b052a315d2b1e3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f803d3fd04fd85bc45ed7c3eaef4ecb402ead9764988aa1b5f87d296f4688999 [INFO] running `Command { std: "docker" "start" "-a" "f803d3fd04fd85bc45ed7c3eaef4ecb402ead9764988aa1b5f87d296f4688999", 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/secop_derive-c77f6084f100b89e) [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 secop_derive [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/module.rs - module (line 60) ... FAILED [INFO] [stdout] test src/typedesc.rs - typedesc (line 41) ... FAILED [INFO] [stdout] test src/typedesc.rs - typedesc (line 54) ... FAILED [INFO] [stdout] test src/typedesc.rs - typedesc (line 72) ... FAILED [INFO] [stdout] test src/module.rs - module (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/module.rs - module (line 60) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/module.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 7 | let connection = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let connection = ...; [INFO] [stdout] 7 + let connection = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let connection = ...; [INFO] [stdout] 7 + let connection = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/module.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 7 | let connection = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 7 - let connection = ...; [INFO] [stdout] 7 + let connection = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/module.rs:74:47 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_value(&mut self) -> Result { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 16 - fn read_value(&mut self) -> Result { ... } [INFO] [stdout] 16 + fn read_value(&mut self) -> Result { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 16 - fn read_value(&mut self) -> Result { ... } [INFO] [stdout] 16 + fn read_value(&mut self) -> Result { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/module.rs:74:47 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_value(&mut self) -> Result { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 16 - fn read_value(&mut self) -> Result { ... } [INFO] [stdout] 16 + fn read_value(&mut self) -> Result { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/module.rs:75:58 [INFO] [stdout] | [INFO] [stdout] 17 | fn write_target(&mut self, tgt: f64) -> Result<()> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 17 - fn write_target(&mut self, tgt: f64) -> Result<()> { ... } [INFO] [stdout] 17 + fn write_target(&mut self, tgt: f64) -> Result<()> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 17 - fn write_target(&mut self, tgt: f64) -> Result<()> { ... } [INFO] [stdout] 17 + fn write_target(&mut self, tgt: f64) -> Result<()> { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/module.rs:75:58 [INFO] [stdout] | [INFO] [stdout] 17 | fn write_target(&mut self, tgt: f64) -> Result<()> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 17 - fn write_target(&mut self, tgt: f64) -> Result<()> { ... } [INFO] [stdout] 17 + fn write_target(&mut self, tgt: f64) -> Result<()> { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/module.rs:76:52 [INFO] [stdout] | [INFO] [stdout] 18 | fn do_stop(&mut self, arg: ()) -> Result<()> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 18 - fn do_stop(&mut self, arg: ()) -> Result<()> { ... } [INFO] [stdout] 18 + fn do_stop(&mut self, arg: ()) -> Result<()> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 18 - fn do_stop(&mut self, arg: ()) -> Result<()> { ... } [INFO] [stdout] 18 + fn do_stop(&mut self, arg: ()) -> Result<()> { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/module.rs:76:52 [INFO] [stdout] | [INFO] [stdout] 18 | fn do_stop(&mut self, arg: ()) -> Result<()> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 18 - fn do_stop(&mut self, arg: ()) -> Result<()> { ... } [INFO] [stdout] 18 + fn do_stop(&mut self, arg: ()) -> Result<()> { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Module` in this scope [INFO] [stdout] --> src/module.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl Module for Motor { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Motor` in this scope [INFO] [stdout] --> src/module.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 3 | impl Module for Motor { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ModInternals` in this scope [INFO] [stdout] --> src/module.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 4 | fn create(internals: ModInternals) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Motor` in this scope [INFO] [stdout] --> src/module.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 8 | Motor { internals, connection } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Motor` in this scope [INFO] [stdout] --> src/module.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl Motor { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typedesc.rs - typedesc (line 41) stdout ---- [INFO] [stdout] error: cannot find derive macro `TypeDesc` in this scope [INFO] [stdout] --> src/typedesc.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(TypeDesc, Clone, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use secop_derive::TypeDesc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typedesc.rs - typedesc (line 54) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/typedesc.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 4 | struct Controller { ... } [INFO] [stdout] | ---------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/typedesc.rs:59:47 [INFO] [stdout] | [INFO] [stdout] 7 | fn read_mode(&mut self) -> Result { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 - fn read_mode(&mut self) -> Result { ... } [INFO] [stdout] 7 + fn read_mode(&mut self) -> Result { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 - fn read_mode(&mut self) -> Result { ... } [INFO] [stdout] 7 + fn read_mode(&mut self) -> Result { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/typedesc.rs:59:47 [INFO] [stdout] | [INFO] [stdout] 7 | fn read_mode(&mut self) -> Result { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 7 - fn read_mode(&mut self) -> Result { ... } [INFO] [stdout] 7 + fn read_mode(&mut self) -> Result { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/typedesc.rs:60:58 [INFO] [stdout] | [INFO] [stdout] 8 | fn write_mode(&mut self, mode: Mode) -> Result<()> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 8 - fn write_mode(&mut self, mode: Mode) -> Result<()> { ... } [INFO] [stdout] 8 + fn write_mode(&mut self, mode: Mode) -> Result<()> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 8 - fn write_mode(&mut self, mode: Mode) -> Result<()> { ... } [INFO] [stdout] 8 + fn write_mode(&mut self, mode: Mode) -> Result<()> { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/typedesc.rs:60:58 [INFO] [stdout] | [INFO] [stdout] 8 | fn write_mode(&mut self, mode: Mode) -> Result<()> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 8 - fn write_mode(&mut self, mode: Mode) -> Result<()> { ... } [INFO] [stdout] 8 + fn write_mode(&mut self, mode: Mode) -> Result<()> { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> src/typedesc.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[param(name="mode", datatype="ModeType", default="Mode::PID")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mode` in this scope [INFO] [stdout] --> src/typedesc.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 7 | fn read_mode(&mut self) -> Result { ... } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | impl Controller { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mode` in this scope [INFO] [stdout] --> src/typedesc.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 8 | fn write_mode(&mut self, mode: Mode) -> Result<()> { ... } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/typedesc.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 7 | fn read_mode(&mut self) -> Result { ... } [INFO] [stdout] | ^^^^^^ ---- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 7 | fn read_mode(&mut self) -> Result { ... } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/typedesc.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 8 | fn write_mode(&mut self, mode: Mode) -> Result<()> { ... } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 8 | fn write_mode(&mut self, mode: Mode) -> Result<(), E> { ... } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/typedesc.rs - typedesc (line 72) stdout ---- [INFO] [stdout] error: cannot find derive macro `TypeDesc` in this scope [INFO] [stdout] --> src/typedesc.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(TypeDesc, Clone, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use secop_derive::TypeDesc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `datatype` in this scope [INFO] [stdout] --> src/typedesc.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[datatype="DoubleFrom(0.0)"] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `datatype` in this scope [INFO] [stdout] --> src/typedesc.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[datatype="DoubleFrom(0.0)"] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `datatype` in this scope [INFO] [stdout] --> src/typedesc.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[datatype="DoubleFrom(0.0)"] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/module.rs - module (line 38) stdout ---- [INFO] [stdout] error: cannot find derive macro `ModuleBase` in this scope [INFO] [stdout] --> src/module.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(ModuleBase)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use secop_derive::ModuleBase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> src/module.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[param(name="status", datatype="StatusType", readonly=True)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> src/module.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[param(name="value", datatype="Double", readonly=True)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> src/module.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[param(name="target", datatype="Double")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `param` in this scope [INFO] [stdout] --> src/module.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[param(name="speed", datatype="DoubleFrom(0.0)", default="1.0")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/module.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[command(name="stop", argtype="Null", restype="Null")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ModInternals` in this scope [INFO] [stdout] --> src/module.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 11 | internals: ModInternals, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MotorParamCache` in this scope [INFO] [stdout] --> src/module.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 12 | cache: MotorParamCache, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SerialPort` in this scope [INFO] [stdout] --> src/module.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 14 | connection: SerialPort, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/module.rs - module (line 38) [INFO] [stdout] src/module.rs - module (line 60) [INFO] [stdout] src/typedesc.rs - typedesc (line 41) [INFO] [stdout] src/typedesc.rs - typedesc (line 54) [INFO] [stdout] src/typedesc.rs - typedesc (line 72) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f803d3fd04fd85bc45ed7c3eaef4ecb402ead9764988aa1b5f87d296f4688999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f803d3fd04fd85bc45ed7c3eaef4ecb402ead9764988aa1b5f87d296f4688999", kill_on_drop: false }` [INFO] [stdout] f803d3fd04fd85bc45ed7c3eaef4ecb402ead9764988aa1b5f87d296f4688999