[INFO] updating cached repository https://github.com/Bietola/rwh-ch10-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/Bietola/rwh-ch10-rust [INFO] [stderr] + 041f9c3...ffc8bc1 master -> master (forced update) [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffc8bc1d5c602d19d1b095258ed28119a8ecab97 [INFO] checking Bietola/rwh-ch10-rust against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBietola%2Frwh-ch10-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bietola/rwh-ch10-rust on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bietola/rwh-ch10-rust [INFO] finished tweaking git repo https://github.com/Bietola/rwh-ch10-rust [INFO] tweaked toml for git repo https://github.com/Bietola/rwh-ch10-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Bietola/rwh-ch10-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d63032b76de90866f21de5ca98ca37513562be5428318c543a01be7afa697560 [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" "d63032b76de90866f21de5ca98ca37513562be5428318c543a01be7afa697560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d63032b76de90866f21de5ca98ca37513562be5428318c543a01be7afa697560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d63032b76de90866f21de5ca98ca37513562be5428318c543a01be7afa697560", kill_on_drop: false }` [INFO] [stdout] d63032b76de90866f21de5ca98ca37513562be5428318c543a01be7afa697560 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd4a46060d813699b7f26caa37bb277377caa5df5f1d8063368b5c2afd6c5a51 [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" "bd4a46060d813699b7f26caa37bb277377caa5df5f1d8063368b5c2afd6c5a51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling unindent v0.1.6 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling derive-newtype v0.2.3 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking newtype v0.2.1 [INFO] [stderr] Checking rwh-ch10-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::result::Result<((), &bstr::bstr::BStr), (ParseErr, &bstr::bstr::BStr)>` [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | / assert_eq!( [INFO] [stdout] 143 | | match match_header_version(mock_header) { [INFO] [stdout] 144 | | Ok(((), s)) => Ok(((), s.as_bstr())), [INFO] [stdout] 145 | | Err((er, s)) => Err((er, s.as_bstr())), [INFO] [stdout] 146 | | }, [INFO] [stdout] 147 | | Ok(((), "120 32".as_bytes().as_bstr())), [INFO] [stdout] 148 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________std::result::Result<((), &bstr::bstr::BStr), (ParseErr, &bstr::bstr::BStr)> [INFO] [stdout] | std::result::Result<((), &bstr::bstr::BStr), _> [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[E0369]: binary operation `==` cannot be applied to type `std::result::Result<(i32, &[u8]), (ParseErr, &[u8])>` [INFO] [stdout] --> src/main.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(get_num("12".as_bytes()), Ok((12, "".as_bytes()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | std::result::Result<(i32, &[u8]), (ParseErr, &[u8])> [INFO] [stdout] | std::result::Result<({integer}, &[u8]), _> [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[E0369]: binary operation `==` cannot be applied to type `std::result::Result<(i32, &[u8]), (ParseErr, &[u8])>` [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(get_num("12 24".as_bytes()), Ok((12, "24".as_bytes()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | std::result::Result<(i32, &[u8]), (ParseErr, &[u8])> [INFO] [stdout] | std::result::Result<({integer}, &[u8]), _> [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rwh-ch10-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "bd4a46060d813699b7f26caa37bb277377caa5df5f1d8063368b5c2afd6c5a51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd4a46060d813699b7f26caa37bb277377caa5df5f1d8063368b5c2afd6c5a51", kill_on_drop: false }` [INFO] [stdout] bd4a46060d813699b7f26caa37bb277377caa5df5f1d8063368b5c2afd6c5a51