[INFO] cloning repository https://github.com/aos/btc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aos/btc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faos%2Fbtc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faos%2Fbtc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 034888c7d437ab95ac90e6cb77bc33a696a6cac6 [INFO] checking aos/btc against try#8b72f65b805cbe4c261de45030d663f524f27376 for pr-78991 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faos%2Fbtc" "/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/aos/btc on toolchain 8b72f65b805cbe4c261de45030d663f524f27376 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aos/btc [INFO] finished tweaking git repo https://github.com/aos/btc [INFO] tweaked toml for git repo https://github.com/aos/btc written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/aos/btc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41eadbdf9e9287afbe6615a25fe957284d38ca7921be44eeb0dfe148aa28a562 [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" "41eadbdf9e9287afbe6615a25fe957284d38ca7921be44eeb0dfe148aa28a562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41eadbdf9e9287afbe6615a25fe957284d38ca7921be44eeb0dfe148aa28a562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41eadbdf9e9287afbe6615a25fe957284d38ca7921be44eeb0dfe148aa28a562", kill_on_drop: false }` [INFO] [stdout] 41eadbdf9e9287afbe6615a25fe957284d38ca7921be44eeb0dfe148aa28a562 [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c504edb1f0ad9e2a404fe65b0eae609da6e59fbe01648dc803cec974ce0b186f [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" "c504edb1f0ad9e2a404fe65b0eae609da6e59fbe01648dc803cec974ce0b186f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking btc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | self.advance(); [INFO] [stdout] | ^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn advance(&mut self, n: usize) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^ --------- -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | self.advance(); [INFO] [stdout] | ^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn advance(&mut self, n: usize) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^ --------- -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | self.advance(); [INFO] [stdout] | ^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn advance(&mut self, n: usize) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^ --------- -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | self.advance(); [INFO] [stdout] | ^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn advance(&mut self, n: usize) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^ --------- -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | self.advance(); [INFO] [stdout] | ^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn advance(&mut self, n: usize) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^ --------- -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | self.advance(); [INFO] [stdout] | ^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn advance(&mut self, n: usize) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^^^^ --------- -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 122 | / if self.current_pos + n > self.total_len { [INFO] [stdout] 123 | | Err("Out of bounds") [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] 124 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result<_, &str>` [INFO] [stdout] help: try adding a semicolon [INFO] [stdout] | [INFO] [stdout] 123 | Err("Out of bounds"); [INFO] [stdout] | ^ [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 124 | }; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | fn advance(&mut self, n: usize) -> Result<(), io::Error> { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `btc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 122 | / if self.current_pos + n > self.total_len { [INFO] [stdout] 123 | | Err("Out of bounds") [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] 124 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result<_, &str>` [INFO] [stdout] help: try adding a semicolon [INFO] [stdout] | [INFO] [stdout] 123 | Err("Out of bounds"); [INFO] [stdout] | ^ [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 124 | }; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | fn advance(&mut self, n: usize) -> Result<(), io::Error> { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c504edb1f0ad9e2a404fe65b0eae609da6e59fbe01648dc803cec974ce0b186f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c504edb1f0ad9e2a404fe65b0eae609da6e59fbe01648dc803cec974ce0b186f", kill_on_drop: false }` [INFO] [stdout] c504edb1f0ad9e2a404fe65b0eae609da6e59fbe01648dc803cec974ce0b186f