[INFO] fetching crate aoba 0.0.15... [INFO] testing aoba-0.0.15 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] extracting crate aoba 0.0.15 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate aoba 0.0.15 [INFO] finished tweaking crates.io crate aoba 0.0.15 [INFO] tweaked toml for crates.io crate aoba 0.0.15 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aoba 0.0.15 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate aoba 0.0.15 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5b0b5b2a7c4a39679c801b2a341020271ed429893d76caddbe86e0f949fe24f [INFO] running `Command { std: "docker" "start" "-a" "d5b0b5b2a7c4a39679c801b2a341020271ed429893d76caddbe86e0f949fe24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5b0b5b2a7c4a39679c801b2a341020271ed429893d76caddbe86e0f949fe24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b0b5b2a7c4a39679c801b2a341020271ed429893d76caddbe86e0f949fe24f", kill_on_drop: false }` [INFO] [stdout] d5b0b5b2a7c4a39679c801b2a341020271ed429893d76caddbe86e0f949fe24f [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] b65f3a0e7177535922a3202d9ae3f7175493a2386543cbc58005376679204a57 [INFO] running `Command { std: "docker" "start" "-a" "b65f3a0e7177535922a3202d9ae3f7175493a2386543cbc58005376679204a57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling toml_edit v0.23.9 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling base64ct v1.8.1 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling instability v0.3.10 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling serde_json_path_core v0.2.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive_more-impl v2.1.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling serde_json_path_macros_internal v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling aoba v0.0.15 (/opt/rustwide/workdir) [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling ureq-proto v0.5.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling derive_more v2.1.0 [INFO] [stderr] Compiling webpki-root-certs v1.0.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_json_path_macros v0.1.6 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde_arrays v0.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling unescaper v0.1.8 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling uuid-macro-internal v1.19.0 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling pure-rust-locales v0.8.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling jiff v0.2.16 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling doctest-file v1.0.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling interprocess v2.2.3 [INFO] [stderr] Compiling axum v0.8.7 [INFO] [stderr] Compiling ureq v3.1.4 [INFO] [stderr] Compiling rmodbus v0.12.2 [INFO] [stderr] Compiling rumqttc v0.25.1 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling yuuka v0.6.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serialport v4.7.3 [INFO] [stderr] Compiling tracing-appender v0.2.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling sqids v0.4.2 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling ctrlc v3.5.1 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling serde_json_path v0.7.2 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] warning: aoba@0.0.15: Could not write to project res/: Read-only file system (os error 30). Wrote about_cache.toml to OUT_DIR instead. [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "b65f3a0e7177535922a3202d9ae3f7175493a2386543cbc58005376679204a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b65f3a0e7177535922a3202d9ae3f7175493a2386543cbc58005376679204a57", kill_on_drop: false }` [INFO] [stdout] b65f3a0e7177535922a3202d9ae3f7175493a2386543cbc58005376679204a57 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 950944a0995c077857318c58db118ea438ce319659794f97bc9c4f5c77dbd0ae [INFO] running `Command { std: "docker" "start" "-a" "950944a0995c077857318c58db118ea438ce319659794f97bc9c4f5c77dbd0ae", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] warning: aoba@0.0.15: Could not write to project res/: Read-only file system (os error 30). Wrote about_cache.toml to OUT_DIR instead. [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling rumqttc v0.25.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling axum v0.8.7 [INFO] [stderr] Compiling aoba v0.0.15 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "950944a0995c077857318c58db118ea438ce319659794f97bc9c4f5c77dbd0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950944a0995c077857318c58db118ea438ce319659794f97bc9c4f5c77dbd0ae", kill_on_drop: false }` [INFO] [stdout] 950944a0995c077857318c58db118ea438ce319659794f97bc9c4f5c77dbd0ae [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] a18acf73f0a47dafda7bbccaab94057931c7a34a87bbb1ac4efba89c621c70a6 [INFO] running `Command { std: "docker" "start" "-a" "a18acf73f0a47dafda7bbccaab94057931c7a34a87bbb1ac4efba89c621c70a6", kill_on_drop: false }` [INFO] [stderr] warning: aoba@0.0.15: Could not write to project res/: Read-only file system (os error 30). Wrote about_cache.toml to OUT_DIR instead. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/aoba/2d0a3ff110db1168/deps/aoba-2d0a3ff110db1168) [INFO] [stdout] running 6 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/aoba/8b8968bd59b63b59/deps/aoba-8b8968bd59b63b59) [INFO] [stdout] test cli::modbus::handlers::tests::test_handler_control ... ok [INFO] [stdout] test cli::config::tests::test_config_serialization ... ok [INFO] [stdout] test protocol::config_convert::tests::test_register_items_to_stations ... ok [INFO] [stdout] test protocol::config_convert::tests::test_stations_to_register_items ... ok [INFO] [stdout] test protocol::tty::tty_unix::tests::unix_priority_and_annotation ... ok [INFO] [stdout] test cli::modbus::handlers::tests::test_flume_slave_handler ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests aoba [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] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/api/modbus/core.rs - api::modbus::core::master_poll_once_and_stop (line 964) - compile ... FAILED [INFO] [stdout] test src/api/modbus/mod.rs - api::modbus::ModbusBuilder::build_master (line 360) - compile ... FAILED [INFO] [stdout] test src/api/modbus/core.rs - api::modbus::core::MasterPollParams (line 643) - compile ... FAILED [INFO] [stdout] test src/api/modbus/mod.rs - api::modbus::ModbusBuilder::build_master_manual (line 419) - compile ... ok [INFO] [stdout] test src/api/modbus/slave.rs - api::modbus::slave::ModbusSlaveIterator (line 90) - compile ... ok [INFO] [stdout] test src/api/modbus/mod.rs - api::modbus::ModbusBuilder::add_register_poll (line 171) - compile ... ok [INFO] [stdout] test src/core/persistence.rs - core::persistence::set_config_path (line 60) ... ignored [INFO] [stdout] test src/core/persistence.rs - core::persistence::set_no_cache (line 42) ... ignored [INFO] [stdout] test src/api/modbus/mod.rs - api::modbus::ModbusBuilder::with_poll_interval (line 228) - compile ... ok [INFO] [stdout] test src/api/modbus/mod.rs - api::modbus::ModbusBuilder::add_hook (line 251) - compile ... FAILED [INFO] [stdout] test src/api/modbus/mod.rs - api::modbus::ModbusBuilder::add_data_source (line 274) - compile ... FAILED [INFO] [stdout] test src/api/modbus/master.rs - api::modbus::master::ModbusMaster::new_simple (line 41) - compile ... FAILED [INFO] [stdout] test src/api/modbus/slave.rs - api::modbus::slave::ModbusSlaveIterator::try_iter (line 497) - compile ... ok [INFO] [stdout] test src/api/modbus/slave.rs - api::modbus::slave::ModbusSlaveIterator::init_coils (line 425) - compile ... ok [INFO] [stdout] test src/api/modbus/mod.rs - api::modbus::ModbusBuilder::build_slave (line 315) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 43) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/api/modbus/core.rs - api::modbus::core::master_poll_once_and_stop (line 964) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/api/modbus/core.rs:967:1 [INFO] [stdout] | [INFO] [stdout] 967 | let port = /* open serial port */; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/modbus/mod.rs - api::modbus::ModbusBuilder::build_master (line 360) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `LoggingHandler: ModbusHook` is not satisfied [INFO] [stdout] --> src/api/modbus/mod.rs:370:15 [INFO] [stdout] | [INFO] [stdout] 370 | .add_hook(Arc::new(LoggingHandler)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ModbusHook` is not implemented for `LoggingHandler` [INFO] [stdout] | [INFO] [stdout] help: the trait `ModbusHook` is implemented for `CliModbusHook` [INFO] [stdout] --> src/cli/modbus/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | impl ModbusHook for CliModbusHook { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for the cast from `Arc` to `Arc<(dyn ModbusHook + 'static)>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/modbus/core.rs - api::modbus::core::MasterPollParams (line 643) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/api/modbus/core.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | let (response_tx, response_rx) = unbounded(); [INFO] [stdout] | ^^^ `let` cannot be used for global variables [INFO] [stdout] | [INFO] [stdout] = help: consider using `static` or `const` instead of `let` [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/modbus/mod.rs - api::modbus::ModbusBuilder::add_hook (line 251) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `CustomHook` in this scope [INFO] [stdout] --> src/api/modbus/mod.rs:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | .add_hook(Arc::new(CustomHook)) // Second hook [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LoggingHandler: ModbusHook` is not satisfied [INFO] [stdout] --> src/api/modbus/mod.rs:258:15 [INFO] [stdout] | [INFO] [stdout] 258 | .add_hook(Arc::new(LoggingHandler)) // First hook [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ModbusHook` is not implemented for `LoggingHandler` [INFO] [stdout] | [INFO] [stdout] help: the trait `ModbusHook` is implemented for `CliModbusHook` [INFO] [stdout] --> src/cli/modbus/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | impl ModbusHook for CliModbusHook { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for the cast from `Arc` to `Arc<(dyn ModbusHook + 'static)>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/modbus/mod.rs - api::modbus::ModbusBuilder::add_data_source (line 274) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileDataSource` [INFO] [stdout] --> src/api/modbus/mod.rs:281:42 [INFO] [stdout] | [INFO] [stdout] 281 | .add_data_source(Arc::new(Mutex::new(FileDataSource::new("data.csv")?))) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FileDataSource` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DefaultDataSource` [INFO] [stdout] --> src/api/modbus/mod.rs:282:42 [INFO] [stdout] | [INFO] [stdout] 282 | .add_data_source(Arc::new(Mutex::new(DefaultDataSource::new()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DefaultDataSource` [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/api/modbus/master.rs - api::modbus::master::ModbusMaster::new_simple (line 41) stdout ---- [INFO] [stdout] error[E0063]: missing field `poll_interval_ms` in initializer of `ModbusPortConfig` [INFO] [stdout] --> src/api/modbus/master.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | let config = ModbusPortConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `poll_interval_ms` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api/modbus/master.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_modbus_master_rs_41_0() { [INFO] [stdout] | ------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 56 | let master = ModbusMaster::new_simple(config, 1000)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 42 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_modbus_master_rs_41_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/modbus/master.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | error_recovery_delay_ms: 1000, [INFO] [stdout] | ^^^^ expected `Option`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 53 | error_recovery_delay_ms: Some(1000), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/modbus/mod.rs - api::modbus::ModbusBuilder::build_slave (line 315) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RegisterMode` [INFO] [stdout] --> src/api/modbus/mod.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | .with_register(RegisterMode::Holding, 0x10, 33) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RegisterMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 314 + use aoba::RegisterMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LoggingHandler: ModbusHook` is not satisfied [INFO] [stdout] --> src/api/modbus/mod.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | .add_hook(Arc::new(LoggingHandler)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ModbusHook` is not implemented for `LoggingHandler` [INFO] [stdout] | [INFO] [stdout] help: the trait `ModbusHook` is implemented for `CliModbusHook` [INFO] [stdout] --> src/cli/modbus/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | impl ModbusHook for CliModbusHook { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for the cast from `Arc` to `Arc<(dyn ModbusHook + 'static)>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 43) stdout ---- [INFO] [stdout] error[E0599]: no method named `start_slave` found for struct `ModbusBuilder` in the current scope [INFO] [stdout] --> src/lib.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 50 | let slave = ModbusBuilder::new_slave(1) [INFO] [stdout] | _________________- [INFO] [stdout] 51 | | .with_port("/dev/ttyUSB0") [INFO] [stdout] 52 | | .with_register(RegisterMode::Holding, 0, 10) [INFO] [stdout] 53 | | .start_slave(None)?; [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `ModbusBuilder` [INFO] [stdout] | |_________| [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error[E0599]: no method named `start_master` found for struct `ModbusBuilder` in the current scope [INFO] [stdout] --> src/lib.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 29 | let master = ModbusBuilder::new_master(1) [INFO] [stdout] | __________________- [INFO] [stdout] 30 | | .with_port("/dev/ttyUSB0") [INFO] [stdout] 31 | | .with_register(RegisterMode::Holding, 0, 10) [INFO] [stdout] 32 | | .start_master(None, None)?; [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `ModbusBuilder` [INFO] [stdout] | |_________| [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/api/modbus/core.rs - api::modbus::core::MasterPollParams (line 643) [INFO] [stdout] src/api/modbus/core.rs - api::modbus::core::master_poll_once_and_stop (line 964) [INFO] [stdout] src/api/modbus/master.rs - api::modbus::master::ModbusMaster::new_simple (line 41) [INFO] [stdout] src/api/modbus/mod.rs - api::modbus::ModbusBuilder::add_data_source (line 274) [INFO] [stdout] src/api/modbus/mod.rs - api::modbus::ModbusBuilder::add_hook (line 251) [INFO] [stdout] src/api/modbus/mod.rs - api::modbus::ModbusBuilder::build_master (line 360) [INFO] [stdout] src/api/modbus/mod.rs - api::modbus::ModbusBuilder::build_slave (line 315) [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] src/lib.rs - (line 43) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 9 failed; 2 ignored; 0 measured; 0 filtered out; finished in 1.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a18acf73f0a47dafda7bbccaab94057931c7a34a87bbb1ac4efba89c621c70a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a18acf73f0a47dafda7bbccaab94057931c7a34a87bbb1ac4efba89c621c70a6", kill_on_drop: false }` [INFO] [stdout] a18acf73f0a47dafda7bbccaab94057931c7a34a87bbb1ac4efba89c621c70a6