[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#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegamsys%2Fmegam_rustyprint" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megamsys/megam_rustyprint on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-8/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-8/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-8/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-8/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] Downloading crates ... [INFO] [stderr] Downloaded term-painter v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ffa19cdefad901458aff12bb051f79d051d42ffd92f9c8fce134091f1964aef [INFO] running `Command { std: "docker" "start" "-a" "8ffa19cdefad901458aff12bb051f79d051d42ffd92f9c8fce134091f1964aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ffa19cdefad901458aff12bb051f79d051d42ffd92f9c8fce134091f1964aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ffa19cdefad901458aff12bb051f79d051d42ffd92f9c8fce134091f1964aef", kill_on_drop: false }` [INFO] [stdout] 8ffa19cdefad901458aff12bb051f79d051d42ffd92f9c8fce134091f1964aef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1d84ef9c00a2cc731117c34cbe49215c561254ac263069348f5186c18793512 [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" "c1d84ef9c00a2cc731117c34cbe49215c561254ac263069348f5186c18793512", 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 libc v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [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 `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 `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 `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 `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 `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 `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 `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" "c1d84ef9c00a2cc731117c34cbe49215c561254ac263069348f5186c18793512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d84ef9c00a2cc731117c34cbe49215c561254ac263069348f5186c18793512", kill_on_drop: false }` [INFO] [stdout] c1d84ef9c00a2cc731117c34cbe49215c561254ac263069348f5186c18793512