[INFO] fetching crate milter-callback 0.2.4... [INFO] testing milter-callback-0.2.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate milter-callback 0.2.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate milter-callback 0.2.4 [INFO] finished tweaking crates.io crate milter-callback 0.2.4 [INFO] tweaked toml for crates.io crate milter-callback 0.2.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate milter-callback 0.2.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2442a33afa7c38ab70965d030a5427b039ef81bafb54688bbce3d594d0ac4d11 [INFO] running `Command { std: "docker" "start" "-a" "2442a33afa7c38ab70965d030a5427b039ef81bafb54688bbce3d594d0ac4d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2442a33afa7c38ab70965d030a5427b039ef81bafb54688bbce3d594d0ac4d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2442a33afa7c38ab70965d030a5427b039ef81bafb54688bbce3d594d0ac4d11", kill_on_drop: false }` [INFO] [stdout] 2442a33afa7c38ab70965d030a5427b039ef81bafb54688bbce3d594d0ac4d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52b4aef4599a9c42c08a2e6468eb4e12f8a84d28033bdbdf56d98e3d1e7f8448 [INFO] running `Command { std: "docker" "start" "-a" "52b4aef4599a9c42c08a2e6468eb4e12f8a84d28033bdbdf56d98e3d1e7f8448", kill_on_drop: false }` [INFO] [stderr] Compiling milter-callback v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "52b4aef4599a9c42c08a2e6468eb4e12f8a84d28033bdbdf56d98e3d1e7f8448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52b4aef4599a9c42c08a2e6468eb4e12f8a84d28033bdbdf56d98e3d1e7f8448", kill_on_drop: false }` [INFO] [stdout] 52b4aef4599a9c42c08a2e6468eb4e12f8a84d28033bdbdf56d98e3d1e7f8448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a0a05f94413f38f6be90429d92431a207c725585e0e8adaa4a7aa48283aeef1 [INFO] running `Command { std: "docker" "start" "-a" "2a0a05f94413f38f6be90429d92431a207c725585e0e8adaa4a7aa48283aeef1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling milter-callback v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "2a0a05f94413f38f6be90429d92431a207c725585e0e8adaa4a7aa48283aeef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a0a05f94413f38f6be90429d92431a207c725585e0e8adaa4a7aa48283aeef1", kill_on_drop: false }` [INFO] [stdout] 2a0a05f94413f38f6be90429d92431a207c725585e0e8adaa4a7aa48283aeef1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e3f99efdecb89a314483193993724a3d34ac80597d3b5e0c937004f051629eb [INFO] running `Command { std: "docker" "start" "-a" "0e3f99efdecb89a314483193993724a3d34ac80597d3b5e0c937004f051629eb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/milter_callback-8a1afb94b4531769) [INFO] [stderr] Doc-tests milter_callback [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 16 tests [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - on_abort (line 664) ... FAILED [INFO] [stdout] test src/lib.rs - on_body (line 569) ... FAILED [INFO] [stdout] test src/lib.rs - on_data (line 427) ... FAILED [INFO] [stdout] test src/lib.rs - on_close (line 712) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - on_header (line 475) ... FAILED [INFO] [stdout] test src/lib.rs - on_connect (line 230) ... FAILED [INFO] [stdout] test src/lib.rs - on_eoh (line 521) ... FAILED [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - on_helo (line 285) ... FAILED [INFO] [stdout] test src/lib.rs - on_negotiate (line 157) ... FAILED [INFO] [stdout] test src/lib.rs - on_rcpt (line 381) ... FAILED [INFO] [stdout] test src/lib.rs - on_eom (line 618) ... FAILED [INFO] [stdout] test src/lib.rs - on_mail (line 333) ... FAILED [INFO] [stdout] test src/lib.rs - on_unknown (line 757) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use milter::{on_connect, on_close, Milter, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_abort (line 664) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:666:5 [INFO] [stdout] | [INFO] [stdout] 666 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:669:1 [INFO] [stdout] | [INFO] [stdout] 669 | #[on_abort(abort_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_abort` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:669:1 [INFO] [stdout] | [INFO] [stdout] 669 | #[on_abort(abort_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_abort` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 664 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_body (line 569) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:574:1 [INFO] [stdout] | [INFO] [stdout] 574 | #[on_body(body_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:574:1 [INFO] [stdout] | [INFO] [stdout] 574 | #[on_body(body_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 569 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_data (line 427) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:432:1 [INFO] [stdout] | [INFO] [stdout] 432 | #[on_data(data_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:432:1 [INFO] [stdout] | [INFO] [stdout] 432 | #[on_data(data_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 427 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_close (line 712) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:717:1 [INFO] [stdout] | [INFO] [stdout] 717 | #[on_close(close_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_close` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:717:1 [INFO] [stdout] | [INFO] [stdout] 717 | #[on_close(close_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_close` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 712 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 63) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | #[on_eom(eom_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_eom` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | #[on_eom(eom_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_eom` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 63 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `milter` [INFO] [stdout] --> src/lib.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | fn handle_eom(context: Context<()>) -> milter::Result { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_header (line 475) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:480:1 [INFO] [stdout] | [INFO] [stdout] 480 | #[on_header(header_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:480:1 [INFO] [stdout] | [INFO] [stdout] 480 | #[on_header(header_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 475 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_connect (line 230) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | #[on_connect(connect_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_connect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | #[on_connect(connect_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_connect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 230 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_eoh (line 521) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:526:1 [INFO] [stdout] | [INFO] [stdout] 526 | #[on_eoh(eoh_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_eoh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:526:1 [INFO] [stdout] | [INFO] [stdout] 526 | #[on_eoh(eoh_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_eoh` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 521 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 37) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[on_header(header_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[on_header(header_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 37 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_helo (line 285) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | #[on_helo(helo_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_helo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | #[on_helo(helo_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_helo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 285 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_negotiate (line 157) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | use milter::{Actions, Context, ProtocolOpts, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | #[on_negotiate(negotiate_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_negotiate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | #[on_negotiate(negotiate_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_negotiate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 157 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | #[on_negotiate(negotiate_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_negotiate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_rcpt (line 381) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:386:1 [INFO] [stdout] | [INFO] [stdout] 386 | #[on_rcpt(rcpt_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_rcpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:386:1 [INFO] [stdout] | [INFO] [stdout] 386 | #[on_rcpt(rcpt_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_rcpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 381 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_eom (line 618) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 620 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:623:1 [INFO] [stdout] | [INFO] [stdout] 623 | #[on_eom(eom_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_eom` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:623:1 [INFO] [stdout] | [INFO] [stdout] 623 | #[on_eom(eom_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_eom` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 618 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_mail (line 333) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | #[on_mail(mail_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_mail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | #[on_mail(mail_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_mail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 333 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - on_unknown (line 757) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `milter` [INFO] [stdout] --> src/lib.rs:759:5 [INFO] [stdout] | [INFO] [stdout] 759 | use milter::{Context, Status}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `milter` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `milter`, use `cargo add milter` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | #[on_unknown(unknown_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `milter` in the list of imported crates [INFO] [stdout] --> src/lib.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | #[on_unknown(unknown_callback)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `milter` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `on_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 757 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 37) [INFO] [stdout] src/lib.rs - (line 63) [INFO] [stdout] src/lib.rs - on_abort (line 664) [INFO] [stdout] src/lib.rs - on_body (line 569) [INFO] [stdout] src/lib.rs - on_close (line 712) [INFO] [stdout] src/lib.rs - on_connect (line 230) [INFO] [stdout] src/lib.rs - on_data (line 427) [INFO] [stdout] src/lib.rs - on_eoh (line 521) [INFO] [stdout] src/lib.rs - on_eom (line 618) [INFO] [stdout] src/lib.rs - on_header (line 475) [INFO] [stdout] src/lib.rs - on_helo (line 285) [INFO] [stdout] src/lib.rs - on_mail (line 333) [INFO] [stdout] src/lib.rs - on_negotiate (line 157) [INFO] [stdout] src/lib.rs - on_rcpt (line 381) [INFO] [stdout] src/lib.rs - on_unknown (line 757) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.90s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0e3f99efdecb89a314483193993724a3d34ac80597d3b5e0c937004f051629eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e3f99efdecb89a314483193993724a3d34ac80597d3b5e0c937004f051629eb", kill_on_drop: false }` [INFO] [stdout] 0e3f99efdecb89a314483193993724a3d34ac80597d3b5e0c937004f051629eb