[INFO] updating cached repository https://github.com/tragle/blarf [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8fccac32da8e7d3b421f80b6399b627b8f1f8148 [INFO] testing tragle/blarf against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftragle%2Fblarf" "work/builds/worker-6/source"` [INFO] [stderr] Cloning into 'work/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tragle/blarf on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/tragle/blarf [INFO] finished tweaking git repo https://github.com/tragle/blarf [INFO] tweaked toml for git repo https://github.com/tragle/blarf written to work/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/tragle/blarf already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 0428011f1f22f322ccf2efbdb818f2eb1741eb6e1dd930c27477df821393eed7 [INFO] running `"docker" "start" "-a" "0428011f1f22f322ccf2efbdb818f2eb1741eb6e1dd930c27477df821393eed7"` [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling blarf v1.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.79s [INFO] running `"docker" "inspect" "0428011f1f22f322ccf2efbdb818f2eb1741eb6e1dd930c27477df821393eed7"` [INFO] running `"docker" "rm" "-f" "0428011f1f22f322ccf2efbdb818f2eb1741eb6e1dd930c27477df821393eed7"` [INFO] [stdout] 0428011f1f22f322ccf2efbdb818f2eb1741eb6e1dd930c27477df821393eed7 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 4d82958f28fa84e40b0caea3600486b9e424b8db8f8b57cacbb9f83ba3cf709f [INFO] running `"docker" "start" "-a" "4d82958f28fa84e40b0caea3600486b9e424b8db8f8b57cacbb9f83ba3cf709f"` [INFO] [stderr] Compiling blarf v1.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `"docker" "inspect" "4d82958f28fa84e40b0caea3600486b9e424b8db8f8b57cacbb9f83ba3cf709f"` [INFO] running `"docker" "rm" "-f" "4d82958f28fa84e40b0caea3600486b9e424b8db8f8b57cacbb9f83ba3cf709f"` [INFO] [stdout] 4d82958f28fa84e40b0caea3600486b9e424b8db8f8b57cacbb9f83ba3cf709f [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen"` [INFO] [stdout] bd5ecde7ac0a1d474bbf393334c6010e5480ba5c30c958893fe96dc8e2a432f2 [INFO] running `"docker" "start" "-a" "bd5ecde7ac0a1d474bbf393334c6010e5480ba5c30c958893fe96dc8e2a432f2"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/blarf-72136fa263e122b4 [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/rustwide/target/debug/deps/blarf-f50191fc91db047d [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/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/article.rs - article::Article::render (line 49) ... FAILED [INFO] [stdout] test src/util.rs - util::get_args (line 39) ... FAILED [INFO] [stdout] test src/util.rs - util::copy_dir (line 10) ... 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/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: aborting due to previous error [INFO] [stdout] [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/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/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] [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" "bd5ecde7ac0a1d474bbf393334c6010e5480ba5c30c958893fe96dc8e2a432f2"` [INFO] running `"docker" "rm" "-f" "bd5ecde7ac0a1d474bbf393334c6010e5480ba5c30c958893fe96dc8e2a432f2"` [INFO] [stdout] bd5ecde7ac0a1d474bbf393334c6010e5480ba5c30c958893fe96dc8e2a432f2