[INFO] fetching crate iron-middlefiddle 0.1.1... [INFO] testing iron-middlefiddle-0.1.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate iron-middlefiddle 0.1.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate iron-middlefiddle 0.1.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e54b116626a146025a537fb32a4d981e366761270e584792133884f9a4ab8a1b [INFO] running `Command { std: "docker" "start" "-a" "e54b116626a146025a537fb32a4d981e366761270e584792133884f9a4ab8a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e54b116626a146025a537fb32a4d981e366761270e584792133884f9a4ab8a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e54b116626a146025a537fb32a4d981e366761270e584792133884f9a4ab8a1b", kill_on_drop: false }` [INFO] [stdout] e54b116626a146025a537fb32a4d981e366761270e584792133884f9a4ab8a1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cce9674ac6ccf548df57e06c4a75a8d440abcac9825b1ffcb99722f1433ae60a [INFO] running `Command { std: "docker" "start" "-a" "cce9674ac6ccf548df57e06c4a75a8d440abcac9825b1ffcb99722f1433ae60a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - BeforeMiddleware(Box), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 - AfterMiddleware(Box), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pub handler: Option>, [INFO] [stdout] 116 + pub handler: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "cce9674ac6ccf548df57e06c4a75a8d440abcac9825b1ffcb99722f1433ae60a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce9674ac6ccf548df57e06c4a75a8d440abcac9825b1ffcb99722f1433ae60a", kill_on_drop: false }` [INFO] [stdout] cce9674ac6ccf548df57e06c4a75a8d440abcac9825b1ffcb99722f1433ae60a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0be8776b945d0f9983c3788dafe66897ff3770a6db6fba659871f224f4cd6e44 [INFO] running `Command { std: "docker" "start" "-a" "0be8776b945d0f9983c3788dafe66897ff3770a6db6fba659871f224f4cd6e44", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - BeforeMiddleware(Box), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 - AfterMiddleware(Box), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pub handler: Option>, [INFO] [stdout] 116 + pub handler: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - BeforeMiddleware(Box), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 - AfterMiddleware(Box), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pub handler: Option>, [INFO] [stdout] 116 + pub handler: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "0be8776b945d0f9983c3788dafe66897ff3770a6db6fba659871f224f4cd6e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be8776b945d0f9983c3788dafe66897ff3770a6db6fba659871f224f4cd6e44", kill_on_drop: false }` [INFO] [stdout] 0be8776b945d0f9983c3788dafe66897ff3770a6db6fba659871f224f4cd6e44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2fc73a97a263565fc41f745421bcdd79f14cb2e4401f0d0aa2ddd2ecd9765761 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2fc73a97a263565fc41f745421bcdd79f14cb2e4401f0d0aa2ddd2ecd9765761", kill_on_drop: false }` [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 - BeforeMiddleware(Box), [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 103 - AfterMiddleware(Box), [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 116 - pub handler: Option>, [INFO] [stderr] 116 + pub handler: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `iron-middlefiddle` (lib) generated 3 warnings [INFO] [stderr] warning: `iron-middlefiddle` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/iron_middlefiddle-d12dbe2c28544e2b) [INFO] [stdout] [INFO] [stderr] Doc-tests iron-middlefiddle [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 5 tests [INFO] [stdout] test src/lib.rs - Middleware::AfterMiddleware (line 91) - compile ... FAILED [INFO] [stdout] test src/lib.rs - middlefiddle (line 149) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Middleware::BeforeMiddleware (line 77) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Middleware (line 62) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - middlefiddle (line 149) stdout ---- [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 previous error [INFO] [stdout] [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 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [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 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:50:38 [INFO] [stdout] | [INFO] [stdout] 39 | mount.mount("/", frontend_router) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 40 | [INFO] [stdout] 41 | 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:23:1 [INFO] [stdout] | [INFO] [stdout] 12 | 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] [INFO] [stdout] error[E0583]: file not found for module `middleware` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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] [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 `Router` [INFO] [stdout] --> src/lib.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 16 | let mut frontend_router = Router::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lorem` in `controllers` [INFO] [stdout] --> src/lib.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 23 | lorem: get "/lorem" => controllers::lorem::index, [INFO] [stdout] | ^^^^^ could not find `lorem` in `controllers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ipsum` in `controllers` [INFO] [stdout] --> src/lib.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 24 | ipsum: get "/ipsum" => controllers::ipsum::index, [INFO] [stdout] | ^^^^^ could not find `ipsum` in `controllers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `dolor` in `controllers` [INFO] [stdout] --> src/lib.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 25 | dolor: get "/dolor" => controllers::dolor::index, [INFO] [stdout] | ^^^^^ could not find `dolor` in `controllers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `auth` in `middleware` [INFO] [stdout] --> src/lib.rs:39:57 [INFO] [stdout] | [INFO] [stdout] 28 | Middleware::BeforeMiddleware => middleware::auth::TokenValidity, [INFO] [stdout] | ^^^^ could not find `auth` in `middleware` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `amet` in `controllers` [INFO] [stdout] --> src/lib.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 34 | frontend_router.get("/amet", controllers::amet::index, "amet"); [INFO] [stdout] | ^^^^ could not find `amet` in `controllers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mount` [INFO] [stdout] --> src/lib.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut mount = Mount::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Mount` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Iron` [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 41 | Iron::new(mount).http("127.0.0.1:8888").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use iron::Iron; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 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] [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.43s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2fc73a97a263565fc41f745421bcdd79f14cb2e4401f0d0aa2ddd2ecd9765761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc73a97a263565fc41f745421bcdd79f14cb2e4401f0d0aa2ddd2ecd9765761", kill_on_drop: false }` [INFO] [stdout] 2fc73a97a263565fc41f745421bcdd79f14cb2e4401f0d0aa2ddd2ecd9765761