[INFO] cloning repository https://github.com/untitaker/heaptrack-trim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/untitaker/heaptrack-trim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtitaker%2Fheaptrack-trim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtitaker%2Fheaptrack-trim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30aa5e996e254a51e5be3d8e30417fcb7882bae8 [INFO] checking untitaker/heaptrack-trim against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funtitaker%2Fheaptrack-trim" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/untitaker/heaptrack-trim on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/untitaker/heaptrack-trim [INFO] finished tweaking git repo https://github.com/untitaker/heaptrack-trim [INFO] tweaked toml for git repo https://github.com/untitaker/heaptrack-trim written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/untitaker/heaptrack-trim 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 867d7ada539983b0b0569d57dcf91d381d42719ef6d6b3dc1b62167811550566 [INFO] running `Command { std: "docker" "start" "-a" "867d7ada539983b0b0569d57dcf91d381d42719ef6d6b3dc1b62167811550566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "867d7ada539983b0b0569d57dcf91d381d42719ef6d6b3dc1b62167811550566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "867d7ada539983b0b0569d57dcf91d381d42719ef6d6b3dc1b62167811550566", kill_on_drop: false }` [INFO] [stdout] 867d7ada539983b0b0569d57dcf91d381d42719ef6d6b3dc1b62167811550566 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9338338d719ffc216585e11b7df593ebe5766d988c42875013793771f8197d7a [INFO] running `Command { std: "docker" "start" "-a" "9338338d719ffc216585e11b7df593ebe5766d988c42875013793771f8197d7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking heaptrack-trim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | assert_eq!(parse_hex(b"1"), 1); [INFO] [stdout] | ^ expected `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 210 | assert_eq!(parse_hex(b"1"), Ok(1)); [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:211:33 [INFO] [stdout] | [INFO] [stdout] 211 | assert_eq!(parse_hex(b"a"), 10); [INFO] [stdout] | ^^ expected `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 211 | assert_eq!(parse_hex(b"a"), Ok(10)); [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(parse_hex(b"7d0"), 2000); [INFO] [stdout] | ^^^^ expected `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(parse_hex(b"7d0"), Ok(2000)); [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:213:35 [INFO] [stdout] | [INFO] [stdout] 213 | assert_eq!(parse_hex(b"3e8"), 1000); [INFO] [stdout] | ^^^^ expected `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 213 | assert_eq!(parse_hex(b"3e8"), Ok(1000)); [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `heaptrack-trim` (bin "heaptrack-trim" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "9338338d719ffc216585e11b7df593ebe5766d988c42875013793771f8197d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9338338d719ffc216585e11b7df593ebe5766d988c42875013793771f8197d7a", kill_on_drop: false }` [INFO] [stdout] 9338338d719ffc216585e11b7df593ebe5766d988c42875013793771f8197d7a