[INFO] cloning repository https://github.com/Henning-K/brainfuck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Henning-K/brainfuck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenning-K%2Fbrainfuck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenning-K%2Fbrainfuck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60ebc7f1880b0527f9e258a87f233a89466f19d1 [INFO] checking Henning-K/brainfuck against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenning-K%2Fbrainfuck" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Henning-K/brainfuck [INFO] finished tweaking git repo https://github.com/Henning-K/brainfuck [INFO] tweaked toml for git repo https://github.com/Henning-K/brainfuck written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Henning-K/brainfuck on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Henning-K/brainfuck already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f47ac16f671418360d5c0a48de39048a137de108332c4a07367922c9b219ae3 [INFO] running `Command { std: "docker" "start" "-a" "7f47ac16f671418360d5c0a48de39048a137de108332c4a07367922c9b219ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f47ac16f671418360d5c0a48de39048a137de108332c4a07367922c9b219ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f47ac16f671418360d5c0a48de39048a137de108332c4a07367922c9b219ae3", kill_on_drop: false }` [INFO] [stdout] 7f47ac16f671418360d5c0a48de39048a137de108332c4a07367922c9b219ae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78b2227d48e72ba1df571281ddc5ebf3e77e08cd873da0272ec35d59fd89d2c7 [INFO] running `Command { std: "docker" "start" "-a" "78b2227d48e72ba1df571281ddc5ebf3e77e08cd873da0272ec35d59fd89d2c7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.30 [INFO] [stderr] Compiling cc v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking serde v1.0.11 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Compiling backtrace-sys v0.1.14 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling serde_derive v1.0.11 [INFO] [stderr] Checking docopt v0.8.1 [INFO] [stderr] Checking backtrace v0.3.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking bflib v0.2.0 (/opt/rustwide/workdir/bflib) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> bflib/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | Io(::std::io::Error); [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> bflib/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / error_chain! { [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | Io(::std::io::Error); [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> bflib/src/tokenize.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | for (i, ch) in self.chars().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking brainfuck v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut f = try!(File::open(inp)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut f = try!(File::open(inp)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / error_chain! { [INFO] [stdout] 27 | | links { [INFO] [stdout] 28 | | BFLib(::bflib::Error, ::bflib::ErrorKind); [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / error_chain! { [INFO] [stdout] 27 | | links { [INFO] [stdout] 28 | | BFLib(::bflib::Error, ::bflib::ErrorKind); [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / error_chain! { [INFO] [stdout] 27 | | links { [INFO] [stdout] 28 | | BFLib(::bflib::Error, ::bflib::ErrorKind); [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / error_chain! { [INFO] [stdout] 27 | | links { [INFO] [stdout] 28 | | BFLib(::bflib::Error, ::bflib::ErrorKind); [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | buf.tokenize().chain_err(|| "Tokenization failed.") [INFO] [stdout] | ^^^^^^^^^ multiple `chain_err` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `ResultExt` for the type `std::result::Result` [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / error_chain! { [INFO] [stdout] 27 | | links { [INFO] [stdout] 28 | | BFLib(::bflib::Error, ::bflib::ErrorKind); [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `bflib::ResultExt` for the type `std::result::Result` [INFO] [stdout] = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 48 - buf.tokenize().chain_err(|| "Tokenization failed.") [INFO] [stdout] 48 + ResultExt::chain_err(buf.tokenize(), || "Tokenization failed.") [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 48 - buf.tokenize().chain_err(|| "Tokenization failed.") [INFO] [stdout] 48 + bflib::ResultExt::chain_err(buf.tokenize(), || "Tokenization failed.") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | interpret(&tokens).chain_err(|| "Interpretation failed.") [INFO] [stdout] | ^^^^^^^^^ multiple `chain_err` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `ResultExt` for the type `std::result::Result` [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / error_chain! { [INFO] [stdout] 27 | | links { [INFO] [stdout] 28 | | BFLib(::bflib::Error, ::bflib::ErrorKind); [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `bflib::ResultExt` for the type `std::result::Result` [INFO] [stdout] = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 60 - interpret(&tokens).chain_err(|| "Interpretation failed.") [INFO] [stdout] 60 + ResultExt::chain_err(interpret(&tokens), || "Interpretation failed.") [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 60 - interpret(&tokens).chain_err(|| "Interpretation failed.") [INFO] [stdout] 60 + bflib::ResultExt::chain_err(interpret(&tokens), || "Interpretation failed.") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | buf.tokenize().chain_err(|| "Tokenization failed.") [INFO] [stdout] | ^^^^^^^^^ multiple `chain_err` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `ResultExt` for the type `std::result::Result` [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / error_chain! { [INFO] [stdout] 27 | | links { [INFO] [stdout] 28 | | BFLib(::bflib::Error, ::bflib::ErrorKind); [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `bflib::ResultExt` for the type `std::result::Result` [INFO] [stdout] = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 48 - buf.tokenize().chain_err(|| "Tokenization failed.") [INFO] [stdout] 48 + ResultExt::chain_err(buf.tokenize(), || "Tokenization failed.") [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 48 - buf.tokenize().chain_err(|| "Tokenization failed.") [INFO] [stdout] 48 + bflib::ResultExt::chain_err(buf.tokenize(), || "Tokenization failed.") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | interpret(&tokens).chain_err(|| "Interpretation failed.") [INFO] [stdout] | ^^^^^^^^^ multiple `chain_err` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `ResultExt` for the type `std::result::Result` [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / error_chain! { [INFO] [stdout] 27 | | links { [INFO] [stdout] 28 | | BFLib(::bflib::Error, ::bflib::ErrorKind); [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `bflib::ResultExt` for the type `std::result::Result` [INFO] [stdout] = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 60 - interpret(&tokens).chain_err(|| "Interpretation failed.") [INFO] [stdout] 60 + ResultExt::chain_err(interpret(&tokens), || "Interpretation failed.") [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 60 - interpret(&tokens).chain_err(|| "Interpretation failed.") [INFO] [stdout] 60 + bflib::ResultExt::chain_err(interpret(&tokens), || "Interpretation failed.") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brainfuck` (bin "brainfuck") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `brainfuck` (bin "brainfuck" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78b2227d48e72ba1df571281ddc5ebf3e77e08cd873da0272ec35d59fd89d2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78b2227d48e72ba1df571281ddc5ebf3e77e08cd873da0272ec35d59fd89d2c7", kill_on_drop: false }` [INFO] [stdout] 78b2227d48e72ba1df571281ddc5ebf3e77e08cd873da0272ec35d59fd89d2c7