[INFO] updating cached repository anmonteiro/now-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/anmonteiro/now-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/anmonteiro/now-rust" "work/ex/beta-1.38-1/sources/1.37.0/gh/anmonteiro/now-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/anmonteiro/now-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/anmonteiro/now-rust" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/anmonteiro/now-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/anmonteiro/now-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ba3280b1e477ee2f2b8ef16cd7622ba983f4d19d [INFO] sha for GitHub repo anmonteiro/now-rust: ba3280b1e477ee2f2b8ef16cd7622ba983f4d19d [INFO] validating manifest of anmonteiro/now-rust on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of anmonteiro/now-rust on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing anmonteiro/now-rust [INFO] finished frobbing anmonteiro/now-rust [INFO] frobbed toml for anmonteiro/now-rust written to work/ex/beta-1.38-1/sources/1.37.0/gh/anmonteiro/now-rust/Cargo.toml [INFO] started frobbing anmonteiro/now-rust [INFO] finished frobbing anmonteiro/now-rust [INFO] frobbed toml for anmonteiro/now-rust written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/anmonteiro/now-rust/Cargo.toml [INFO] crate anmonteiro/now-rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing anmonteiro/now-rust against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/anmonteiro/now-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] b05d4ffcf652a603033e69301708a85deb1640a5c0b7abc1f65a2b418212ed56 [INFO] running `"docker" "start" "-a" "b05d4ffcf652a603033e69301708a85deb1640a5c0b7abc1f65a2b418212ed56"` [INFO] [stderr] Compiling tokio-sync v0.1.0 [INFO] [stderr] Compiling lambda_runtime_core v0.1.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling h2 v0.1.16 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling lambda_runtime_errors v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.11 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-fs v0.1.5 [INFO] [stderr] Compiling tokio v0.1.15 [INFO] [stderr] Compiling hyper v0.12.23 [INFO] [stderr] Compiling lambda_runtime_client v0.2.0 [INFO] [stderr] Compiling lambda_runtime v0.2.0 [INFO] [stderr] Compiling now_rust v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.55s [INFO] running `"docker" "inspect" "b05d4ffcf652a603033e69301708a85deb1640a5c0b7abc1f65a2b418212ed56"` [INFO] running `"docker" "rm" "-f" "b05d4ffcf652a603033e69301708a85deb1640a5c0b7abc1f65a2b418212ed56"` [INFO] [stdout] b05d4ffcf652a603033e69301708a85deb1640a5c0b7abc1f65a2b418212ed56 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/anmonteiro/now-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] a26bc2f13433c48450f827def769b27ef23035ecb412f24fb1bddfcb76ba34ff [INFO] running `"docker" "start" "-a" "a26bc2f13433c48450f827def769b27ef23035ecb412f24fb1bddfcb76ba34ff"` [INFO] [stderr] Compiling simple_logger v1.0.1 [INFO] [stderr] Compiling now_rust v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.32s [INFO] running `"docker" "inspect" "a26bc2f13433c48450f827def769b27ef23035ecb412f24fb1bddfcb76ba34ff"` [INFO] running `"docker" "rm" "-f" "a26bc2f13433c48450f827def769b27ef23035ecb412f24fb1bddfcb76ba34ff"` [INFO] [stdout] a26bc2f13433c48450f827def769b27ef23035ecb412f24fb1bddfcb76ba34ff [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/anmonteiro/now-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 899f1b775b6b483a96f4ba464bfde5d6f2ddad8caf8e614496101302e7b47536 [INFO] running `"docker" "start" "-a" "899f1b775b6b483a96f4ba464bfde5d6f2ddad8caf8e614496101302e7b47536"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/crater/target/debug/deps/now_rust-771c7ae747ed7017 [INFO] [stdout] [INFO] [stderr] Doc-tests now_rust [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/body.rs - body::Body (line 51) ... FAILED [INFO] [stdout] test src/body.rs - body::Body (line 38) ... FAILED [INFO] [stdout] test src/body.rs - body::Body (line 27) ... FAILED [INFO] [stdout] test src/response.rs - response::IntoResponse (line 82) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/body.rs - body::Body (line 51) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `lambda_http` [INFO] [stdout] --> src/body.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 3 | assert!(match lambda_http::Body::from(()) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `lambda_http` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `lambda_http` [INFO] [stdout] --> src/body.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 4 | lambda_http::Body::Empty => true, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `lambda_http` [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/body.rs - body::Body (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `lambda_http` [INFO] [stdout] --> src/body.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 3 | assert!(match lambda_http::Body::from("text".as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `lambda_http` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `lambda_http` [INFO] [stdout] --> src/body.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 4 | lambda_http::Body::Binary(_) => true, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `lambda_http` [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/body.rs - body::Body (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `lambda_http` [INFO] [stdout] --> src/body.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 3 | assert!(match lambda_http::Body::from("text") { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `lambda_http` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `lambda_http` [INFO] [stdout] --> src/body.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 4 | lambda_http::Body::Text(_) => true, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `lambda_http` [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/response.rs - response::IntoResponse (line 82) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lambda_http` [INFO] [stdout] --> src/response.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda_http::{Body, IntoResponse, Response}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `lambda_http` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_response` found for type `&'static str` in the current scope [INFO] [stdout] --> src/response.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 6 | "hello".into_response().body(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use now_rust::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [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/body.rs - body::Body (line 27) [INFO] [stdout] src/body.rs - body::Body (line 38) [INFO] [stdout] src/body.rs - body::Body (line 51) [INFO] [stdout] src/response.rs - response::IntoResponse (line 82) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "899f1b775b6b483a96f4ba464bfde5d6f2ddad8caf8e614496101302e7b47536"` [INFO] running `"docker" "rm" "-f" "899f1b775b6b483a96f4ba464bfde5d6f2ddad8caf8e614496101302e7b47536"` [INFO] [stdout] 899f1b775b6b483a96f4ba464bfde5d6f2ddad8caf8e614496101302e7b47536