[INFO] crate blarf 1.0.8 is already in cache [INFO] extracting crate blarf 1.0.8 into work/ex/beta-1.38-1/sources/1.37.0/reg/blarf/1.0.8 [INFO] extracting crate blarf 1.0.8 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/blarf/1.0.8 [INFO] validating manifest of blarf-1.0.8 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 blarf-1.0.8 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 blarf-1.0.8 [INFO] finished frobbing blarf-1.0.8 [INFO] frobbed toml for blarf-1.0.8 written to work/ex/beta-1.38-1/sources/1.37.0/reg/blarf/1.0.8/Cargo.toml [INFO] started frobbing blarf-1.0.8 [INFO] finished frobbing blarf-1.0.8 [INFO] frobbed toml for blarf-1.0.8 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/blarf/1.0.8/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 blarf-1.0.8 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-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/blarf/1.0.8:/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] bf0e0e4a6b57ceb5f9f5e98fb75d6b520876aaefc9410107a37b51dacf86b04f [INFO] running `"docker" "start" "-a" "bf0e0e4a6b57ceb5f9f5e98fb75d6b520876aaefc9410107a37b51dacf86b04f"` [INFO] [stderr] Compiling blarf v1.0.8 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.13s [INFO] running `"docker" "inspect" "bf0e0e4a6b57ceb5f9f5e98fb75d6b520876aaefc9410107a37b51dacf86b04f"` [INFO] running `"docker" "rm" "-f" "bf0e0e4a6b57ceb5f9f5e98fb75d6b520876aaefc9410107a37b51dacf86b04f"` [INFO] [stdout] bf0e0e4a6b57ceb5f9f5e98fb75d6b520876aaefc9410107a37b51dacf86b04f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/blarf/1.0.8:/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] 61e3e74ea38c8d449181519685ae3a4407aca4a3e97aad5e50512913f04e4541 [INFO] running `"docker" "start" "-a" "61e3e74ea38c8d449181519685ae3a4407aca4a3e97aad5e50512913f04e4541"` [INFO] [stderr] Compiling blarf v1.0.8 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `"docker" "inspect" "61e3e74ea38c8d449181519685ae3a4407aca4a3e97aad5e50512913f04e4541"` [INFO] running `"docker" "rm" "-f" "61e3e74ea38c8d449181519685ae3a4407aca4a3e97aad5e50512913f04e4541"` [INFO] [stdout] 61e3e74ea38c8d449181519685ae3a4407aca4a3e97aad5e50512913f04e4541 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/blarf/1.0.8:/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] d95ea148c01a68dfd25667db3591f0126e519aaa9be4c8bd320fc38d5594435f [INFO] running `"docker" "start" "-a" "d95ea148c01a68dfd25667db3591f0126e519aaa9be4c8bd320fc38d5594435f"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/crater/target/debug/deps/blarf-c513ada18bb5a284 [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 [INFO] [stdout] [INFO] [stderr] Running /opt/crater/target/debug/deps/blarf-e563e8c8be45f6d2 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests blarf [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/article.rs - article::Article::new (line 26) ... FAILED [INFO] [stdout] test src/util.rs - util::copy_dir (line 10) ... FAILED [INFO] [stdout] test src/util.rs - util::get_args (line 39) ... FAILED [INFO] [stdout] test src/article.rs - article::Article::render (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/article.rs - article::Article::new (line 26) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `let` [INFO] [stdout] --> src/article.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 4 | let slug = "1-my-first-post" [INFO] [stdout] | - help: a semicolon may be missing here [INFO] [stdout] 5 | let article = Article::new(markdown, slug); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Article` [INFO] [stdout] --> src/article.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 5 | let article = Article::new(markdown, slug); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Article` [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/util.rs - util::copy_dir (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `copy_dir` in this scope [INFO] [stdout] --> src/util.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 7 | copy_dir(from_dir, to_dir)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use blarf::util::copy_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/util.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 7 | copy_dir(from_dir, to_dir)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::get_args (line 39) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_args` in this scope [INFO] [stdout] --> src/util.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 3 | let args = get_args(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use blarf::util::get_args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/article.rs - article::Article::render (line 49) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `article` in this scope [INFO] [stdout] --> src/article.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 3 | let html = article.render("styles.css", "
copyright 2019
"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `me` [INFO] [stdout] --> src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 4 | blarf -e me@example.com -a articles -s public [INFO] [stdout] | ^^ expected one of 8 possible tokens here [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `blarf` [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 4 | blarf -e me@example.com -a articles -s public [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `e` in this scope [INFO] [stdout] --> src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 4 | blarf -e me@example.com -a articles -s public [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/article.rs - article::Article::new (line 26) [INFO] [stdout] src/article.rs - article::Article::render (line 49) [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/util.rs - util::copy_dir (line 10) [INFO] [stdout] src/util.rs - util::get_args (line 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "d95ea148c01a68dfd25667db3591f0126e519aaa9be4c8bd320fc38d5594435f"` [INFO] running `"docker" "rm" "-f" "d95ea148c01a68dfd25667db3591f0126e519aaa9be4c8bd320fc38d5594435f"` [INFO] [stdout] d95ea148c01a68dfd25667db3591f0126e519aaa9be4c8bd320fc38d5594435f