[INFO] fetching crate billboard 0.1.0... [INFO] testing billboard-0.1.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate billboard 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate billboard 0.1.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate billboard 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate billboard 0.1.0 [INFO] tweaked toml for crates.io crate billboard 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate billboard 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3318dfff8b88adfd683a740c44cd4e3002c7e3527fb324d0c13e196a92d8ade8 [INFO] running `Command { std: "docker" "start" "-a" "3318dfff8b88adfd683a740c44cd4e3002c7e3527fb324d0c13e196a92d8ade8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3318dfff8b88adfd683a740c44cd4e3002c7e3527fb324d0c13e196a92d8ade8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3318dfff8b88adfd683a740c44cd4e3002c7e3527fb324d0c13e196a92d8ade8", kill_on_drop: false }` [INFO] [stdout] 3318dfff8b88adfd683a740c44cd4e3002c7e3527fb324d0c13e196a92d8ade8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55bbfdc2e19a1f7822625faba705a7ebe0205f971988e0a5124b3831f76220b2 [INFO] running `Command { std: "docker" "start" "-a" "55bbfdc2e19a1f7822625faba705a7ebe0205f971988e0a5124b3831f76220b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling regex-syntax v0.6.16 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling console v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.11 [INFO] [stderr] Compiling billboard v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.07s [INFO] running `Command { std: "docker" "inspect" "55bbfdc2e19a1f7822625faba705a7ebe0205f971988e0a5124b3831f76220b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55bbfdc2e19a1f7822625faba705a7ebe0205f971988e0a5124b3831f76220b2", kill_on_drop: false }` [INFO] [stdout] 55bbfdc2e19a1f7822625faba705a7ebe0205f971988e0a5124b3831f76220b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66fe547abd51ac678d9752032dc59a683e053399b0ca7088e199b136fb8f5966 [INFO] running `Command { std: "docker" "start" "-a" "66fe547abd51ac678d9752032dc59a683e053399b0ca7088e199b136fb8f5966", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling pulldown-cmark v0.4.1 [INFO] [stderr] Compiling semver-parser v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling version-sync v0.8.1 [INFO] [stderr] Compiling billboard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | version_sync::assert_markdown_deps_updated!("README.md"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `version_sync::assert_markdown_deps_updated` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | version_sync::assert_html_root_url_updated!("src/lib.rs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `version_sync::assert_html_root_url_updated` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.09s [INFO] running `Command { std: "docker" "inspect" "66fe547abd51ac678d9752032dc59a683e053399b0ca7088e199b136fb8f5966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66fe547abd51ac678d9752032dc59a683e053399b0ca7088e199b136fb8f5966", kill_on_drop: false }` [INFO] [stdout] 66fe547abd51ac678d9752032dc59a683e053399b0ca7088e199b136fb8f5966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 462d8b385db648576af01ccc907e8a92a2863708a026a89a5ddd2c76e2138273 [INFO] running `Command { std: "docker" "start" "-a" "462d8b385db648576af01ccc907e8a92a2863708a026a89a5ddd2c76e2138273", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 0 tests [INFO] [stderr] --> tests/mod.rs:3:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 3 | version_sync::assert_markdown_deps_updated!("README.md"); [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 2 tests [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `version_sync::assert_markdown_deps_updated` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | version_sync::assert_html_root_url_updated!("src/lib.rs"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `version_sync::assert_html_root_url_updated` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `billboard` (test "mod") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/billboard-1ca1365a611ee40e) [INFO] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-a88a2e1984f9d0b2) [INFO] [stdout] test test_readme_deps ... ok [INFO] [stdout] test test_html_root_url ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests billboard [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - Billboard::as_str (line 95) ... FAILED [INFO] [stdout] test src/lib.rs - Billboard::default (line 34) ... ok [INFO] [stdout] test src/lib.rs - Billboard::builder (line 61) ... ok [INFO] [stdout] test src/lib.rs - Billboard::display (line 82) ... ok [INFO] [stdout] test src/lib.rs - Billboard::new (line 47) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Billboard::as_str (line 95) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/lib.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 6 | let result = Billboard::default().as_str("Hello, World!")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `String` [INFO] [stdout] note: required by `branch` [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 `FromResidual`) [INFO] [stdout] --> src/lib.rs:98:58 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_95_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use billboard::Billboard; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let result = Billboard::default().as_str("Hello, World!")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | println!("{}", result); [INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_95_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Billboard::as_str (line 95) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.44s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "462d8b385db648576af01ccc907e8a92a2863708a026a89a5ddd2c76e2138273", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "462d8b385db648576af01ccc907e8a92a2863708a026a89a5ddd2c76e2138273", kill_on_drop: false }` [INFO] [stdout] 462d8b385db648576af01ccc907e8a92a2863708a026a89a5ddd2c76e2138273