[INFO] fetching crate iron-middlefiddle 0.1.1... [INFO] testing iron-middlefiddle-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate iron-middlefiddle 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate iron-middlefiddle 0.1.1 [INFO] finished tweaking crates.io crate iron-middlefiddle 0.1.1 [INFO] tweaked toml for crates.io crate iron-middlefiddle 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate iron-middlefiddle 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding iron v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typeable v0.1.2 [INFO] [stderr] Downloaded language-tags v0.2.2 [INFO] [stderr] Downloaded hyper v0.10.16 [INFO] [stderr] Downloaded conduit-mime-types v0.7.3 [INFO] [stderr] Downloaded error v0.1.9 [INFO] [stderr] Downloaded iron v0.5.1 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f01eef195762c920d26e23decbd67a168727ba9c01ac2336928a4fe4a271d92 [INFO] running `Command { std: "docker" "start" "-a" "6f01eef195762c920d26e23decbd67a168727ba9c01ac2336928a4fe4a271d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f01eef195762c920d26e23decbd67a168727ba9c01ac2336928a4fe4a271d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f01eef195762c920d26e23decbd67a168727ba9c01ac2336928a4fe4a271d92", kill_on_drop: false }` [INFO] [stdout] 6f01eef195762c920d26e23decbd67a168727ba9c01ac2336928a4fe4a271d92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bd2ddfa5b98806a7c45b64a5bbf336bbf2da5558b35000a55e546131e68fece [INFO] running `Command { std: "docker" "start" "-a" "6bd2ddfa5b98806a7c45b64a5bbf336bbf2da5558b35000a55e546131e68fece", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling error v0.1.9 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling conduit-mime-types v0.7.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling iron v0.5.1 [INFO] [stderr] Compiling iron-middlefiddle v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | BeforeMiddleware(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | BeforeMiddleware(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | AfterMiddleware(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | AfterMiddleware(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | pub handler: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | pub handler: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "6bd2ddfa5b98806a7c45b64a5bbf336bbf2da5558b35000a55e546131e68fece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd2ddfa5b98806a7c45b64a5bbf336bbf2da5558b35000a55e546131e68fece", kill_on_drop: false }` [INFO] [stdout] 6bd2ddfa5b98806a7c45b64a5bbf336bbf2da5558b35000a55e546131e68fece [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3745aedbf564f1e0d2041df1b2de0adf11524d58b5902ef4cd11892174610b10 [INFO] running `Command { std: "docker" "start" "-a" "3745aedbf564f1e0d2041df1b2de0adf11524d58b5902ef4cd11892174610b10", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | BeforeMiddleware(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | BeforeMiddleware(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | AfterMiddleware(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | AfterMiddleware(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | pub handler: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | pub handler: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling iron-middlefiddle v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | BeforeMiddleware(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | BeforeMiddleware(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | AfterMiddleware(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | AfterMiddleware(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | pub handler: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | pub handler: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3745aedbf564f1e0d2041df1b2de0adf11524d58b5902ef4cd11892174610b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3745aedbf564f1e0d2041df1b2de0adf11524d58b5902ef4cd11892174610b10", kill_on_drop: false }` [INFO] [stdout] 3745aedbf564f1e0d2041df1b2de0adf11524d58b5902ef4cd11892174610b10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 320570a11615307cfea007a0e992137cb1a63b473d0b2749b903837d2022c9d7 [INFO] running `Command { std: "docker" "start" "-a" "320570a11615307cfea007a0e992137cb1a63b473d0b2749b903837d2022c9d7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:89:26 [INFO] [stderr] | [INFO] [stderr] 89 | BeforeMiddleware(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 | BeforeMiddleware(Box), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:103:25 [INFO] [stderr] | [INFO] [stderr] 103 | AfterMiddleware(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 103 | AfterMiddleware(Box), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:116:29 [INFO] [stderr] | [INFO] [stderr] 116 | pub handler: Option>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 116 | pub handler: Option>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `iron-middlefiddle` (lib) generated 3 warnings (run `cargo fix --lib -p iron-middlefiddle` to apply 3 suggestions) [INFO] [stderr] warning: `iron-middlefiddle` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/iron_middlefiddle-f6b5a14098f81f04) [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 iron_middlefiddle [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - Middleware (line 62) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Middleware::BeforeMiddleware (line 77) - compile ... FAILED [INFO] [stdout] test src/lib.rs - middlefiddle (line 149) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Middleware::AfterMiddleware (line 91) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Middleware (line 62) stdout ---- [INFO] [stdout] error: cannot find macro `middlefiddle` in this scope [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 3 | middlefiddle! { [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/lib.rs - (line 12) stdout ---- [INFO] [stdout] error: expected `;`, found `Iron` [INFO] [stdout] --> src/lib.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 38 | mount.mount("/", frontend_router) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 39 | [INFO] [stdout] 40 | Iron::new(mount).http("127.0.0.1:8888").unwrap(); [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `controllers` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod controllers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `controllers`, create file "src/controllers.rs" or "src/controllers/mod.rs" [INFO] [stdout] = note: if there is a `mod controllers` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `middleware` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `middleware`, create file "src/middleware.rs" or "src/middleware/mod.rs" [INFO] [stdout] = note: if there is a `mod middleware` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `mount` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate mount; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `router` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate router; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Iron` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 40 | Iron::new(mount).http("127.0.0.1:8888").unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Iron` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use iron::Iron; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0583. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Middleware::BeforeMiddleware (line 77) stdout ---- [INFO] [stdout] error: cannot find macro `middlefiddle` in this scope [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 3 | middlefiddle! { [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/lib.rs - middlefiddle (line 149) stdout ---- [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] error: cannot find macro `middlefiddle` in this scope [INFO] [stdout] --> src/lib.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 3 | middlefiddle! { [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/lib.rs - Middleware::AfterMiddleware (line 91) stdout ---- [INFO] [stdout] error: cannot find macro `middlefiddle` in this scope [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 3 | middlefiddle! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/lib.rs - Middleware (line 62) [INFO] [stdout] src/lib.rs - Middleware::AfterMiddleware (line 91) [INFO] [stdout] src/lib.rs - Middleware::BeforeMiddleware (line 77) [INFO] [stdout] src/lib.rs - middlefiddle (line 149) [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] running `Command { std: "docker" "inspect" "320570a11615307cfea007a0e992137cb1a63b473d0b2749b903837d2022c9d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "320570a11615307cfea007a0e992137cb1a63b473d0b2749b903837d2022c9d7", kill_on_drop: false }` [INFO] [stdout] 320570a11615307cfea007a0e992137cb1a63b473d0b2749b903837d2022c9d7