[INFO] cloning repository https://github.com/megamsys/megam_rustyprint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/megamsys/megam_rustyprint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegamsys%2Fmegam_rustyprint", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegamsys%2Fmegam_rustyprint'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6cd07a95b5442d1a948cbb1f9230740f75ee5ef [INFO] checking megamsys/megam_rustyprint against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegamsys%2Fmegam_rustyprint" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megamsys/megam_rustyprint on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/megamsys/megam_rustyprint [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/megamsys/megam_rustyprint [INFO] tweaked toml for git repo https://github.com/megamsys/megam_rustyprint written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/megamsys/megam_rustyprint already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-2/source/tests/test_print.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-2/source/tests/test_print.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded getrandom v0.1.15 [INFO] [stderr] Downloaded base64 v0.12.3 [INFO] [stderr] Downloaded rust-argon2 v0.8.2 [INFO] [stderr] Downloaded dirs-sys v0.3.5 [INFO] [stderr] Downloaded term-painter v0.1.1 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab386eb3a0c371ab69af3982a9ee157a8e205ae6f8c8cf0becf81a77619edf4f [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" "ab386eb3a0c371ab69af3982a9ee157a8e205ae6f8c8cf0becf81a77619edf4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab386eb3a0c371ab69af3982a9ee157a8e205ae6f8c8cf0becf81a77619edf4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab386eb3a0c371ab69af3982a9ee157a8e205ae6f8c8cf0becf81a77619edf4f", kill_on_drop: false }` [INFO] [stdout] ab386eb3a0c371ab69af3982a9ee157a8e205ae6f8c8cf0becf81a77619edf4f [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=forbid" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e984de74fa1fcf58045d5e838a5b6cb90fc36f4d80ca6ca4ae5a701429b7bc0 [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" "0e984de74fa1fcf58045d5e838a5b6cb90fc36f4d80ca6ca4ae5a701429b7bc0", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/tests/test_print.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking term-painter v0.1.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/term-painter-0.1.1/src/lib.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 405 | Ok(true) => {}, [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] ... [INFO] [stdout] 420 | Some(c) => { try_term!(t.fg(c)); }, [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `std::result::Result<(), term::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/term-painter-0.1.1/src/lib.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 405 | Ok(true) => {}, [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] ... [INFO] [stdout] 424 | Some(c) => { try_term!(t.bg(c)); }, [INFO] [stdout] | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `std::result::Result<(), term::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/term-painter-0.1.1/src/lib.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 405 | Ok(true) => {}, [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] ... [INFO] [stdout] 427 | try_term!(t.attr(term::Attr::Bold)) [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `std::result::Result<(), term::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/term-painter-0.1.1/src/lib.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 405 | Ok(true) => {}, [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] ... [INFO] [stdout] 430 | Some(u) => try_term!(t.attr(term::Attr::Underline(u))), [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `std::result::Result<(), term::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/term-painter-0.1.1/src/lib.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 405 | Ok(true) => {}, [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] ... [INFO] [stdout] 434 | try_term!(t.attr(term::Attr::Blink)) [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `std::result::Result<(), term::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/term-painter-0.1.1/src/lib.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 405 | Ok(true) => {}, [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] ... [INFO] [stdout] 437 | try_term!(t.attr(term::Attr::Reverse)) [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `std::result::Result<(), term::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/term-painter-0.1.1/src/lib.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 405 | Ok(true) => {}, [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] ... [INFO] [stdout] 440 | try_term!(t.attr(term::Attr::Secure)) [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `std::result::Result<(), term::Error>` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `term-painter` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0e984de74fa1fcf58045d5e838a5b6cb90fc36f4d80ca6ca4ae5a701429b7bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e984de74fa1fcf58045d5e838a5b6cb90fc36f4d80ca6ca4ae5a701429b7bc0", kill_on_drop: false }` [INFO] [stdout] 0e984de74fa1fcf58045d5e838a5b6cb90fc36f4d80ca6ca4ae5a701429b7bc0