[INFO] cloning repository https://github.com/jbaber/edhex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jbaber/edhex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbaber%2Fedhex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbaber%2Fedhex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28bec24bcc97752ab23697c27a78049547343b7c [INFO] checking jbaber/edhex against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbaber%2Fedhex" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jbaber/edhex on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jbaber/edhex [INFO] finished tweaking git repo https://github.com/jbaber/edhex [INFO] tweaked toml for git repo https://github.com/jbaber/edhex written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/jbaber/edhex already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dee245e713cc860ba7da34b332bf2d19e405091dde3cd48de2fa893925fe6c3c [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" "dee245e713cc860ba7da34b332bf2d19e405091dde3cd48de2fa893925fe6c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dee245e713cc860ba7da34b332bf2d19e405091dde3cd48de2fa893925fe6c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee245e713cc860ba7da34b332bf2d19e405091dde3cd48de2fa893925fe6c3c", kill_on_drop: false }` [INFO] [stdout] dee245e713cc860ba7da34b332bf2d19e405091dde3cd48de2fa893925fe6c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed3b14bc6dde4619f362cbbe88e638b36ed8431620bd4f2f2162cf620a92a909 [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" "ed3b14bc6dde4619f362cbbe88e638b36ed8431620bd4f2f2162cf620a92a909", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking edhex v0.2.11 (/opt/rustwide/workdir) [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/lib.rs:722:62 [INFO] [stdout] | [INFO] [stdout] 722 | assert_eq!(index_of_bytes(&vec![], &haystack), None, true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 722 | assert_eq!(index_of_bytes(&vec![], &haystack), None, "{}", true); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/lib.rs:723:75 [INFO] [stdout] | [INFO] [stdout] 723 | assert_eq!(index_of_bytes(&vec![0xad, 0xbe], &haystack), Some(1), true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 723 | assert_eq!(index_of_bytes(&vec![0xad, 0xbe], &haystack), Some(1), "{}", true); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/lib.rs:724:81 [INFO] [stdout] | [INFO] [stdout] 724 | assert_eq!(index_of_bytes(&vec![0xad, 0xbe, 0xef], &haystack), Some(1), true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 724 | assert_eq!(index_of_bytes(&vec![0xad, 0xbe, 0xef], &haystack), Some(1), "{}", true); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/lib.rs:725:84 [INFO] [stdout] | [INFO] [stdout] 725 | assert_eq!(index_of_bytes(&vec![0xad, 0xbe, 0xef, 0xef], &haystack), None, true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 725 | assert_eq!(index_of_bytes(&vec![0xad, 0xbe, 0xef, 0xef], &haystack), None, "{}", true); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/lib.rs:726:70 [INFO] [stdout] | [INFO] [stdout] 726 | assert_eq!(index_of_bytes(&vec![0xde,], &haystack), Some(0), true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 726 | assert_eq!(index_of_bytes(&vec![0xde,], &haystack), Some(0), "{}", true); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:722:20 [INFO] [stdout] | [INFO] [stdout] 722 | assert_eq!(index_of_bytes(&vec![], &haystack), None, true); [INFO] [stdout] | ^^^^^^^^^^^^^^ ------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn index_of_bytes(needle:&[u8], haystack:&[u8], forward:bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ -------------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | assert_eq!(index_of_bytes(&vec![0xad, 0xbe], &haystack), Some(1), true); [INFO] [stdout] | ^^^^^^^^^^^^^^ ----------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn index_of_bytes(needle:&[u8], haystack:&[u8], forward:bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ -------------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:724:20 [INFO] [stdout] | [INFO] [stdout] 724 | assert_eq!(index_of_bytes(&vec![0xad, 0xbe, 0xef], &haystack), Some(1), true); [INFO] [stdout] | ^^^^^^^^^^^^^^ ----------------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn index_of_bytes(needle:&[u8], haystack:&[u8], forward:bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ -------------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:725:20 [INFO] [stdout] | [INFO] [stdout] 725 | assert_eq!(index_of_bytes(&vec![0xad, 0xbe, 0xef, 0xef], &haystack), None, true); [INFO] [stdout] | ^^^^^^^^^^^^^^ ----------------------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn index_of_bytes(needle:&[u8], haystack:&[u8], forward:bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ -------------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:726:20 [INFO] [stdout] | [INFO] [stdout] 726 | assert_eq!(index_of_bytes(&vec![0xde,], &haystack), Some(0), true); [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn index_of_bytes(needle:&[u8], haystack:&[u8], forward:bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ -------------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `edhex` [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] warning: unreachable expression [INFO] [stdout] --> src/bin/edhex.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | return std::process::exit(edhex::actual_runtime(&filename, quiet, color)); [INFO] [stdout] | ^^^^^^^------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/edhex.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | return std::process::exit(1); [INFO] [stdout] | ^^^^^^^--------------------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/edhex.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | return std::process::exit(edhex::actual_runtime(&filename, quiet, color)); [INFO] [stdout] | ^^^^^^^------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/edhex.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | return std::process::exit(1); [INFO] [stdout] | ^^^^^^^--------------------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ed3b14bc6dde4619f362cbbe88e638b36ed8431620bd4f2f2162cf620a92a909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed3b14bc6dde4619f362cbbe88e638b36ed8431620bd4f2f2162cf620a92a909", kill_on_drop: false }` [INFO] [stdout] ed3b14bc6dde4619f362cbbe88e638b36ed8431620bd4f2f2162cf620a92a909