[INFO] fetching crate sortery 1.4.2... [INFO] checking sortery-1.4.2 against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] extracting crate sortery 1.4.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sortery 1.4.2 on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sortery 1.4.2 [INFO] finished tweaking crates.io crate sortery 1.4.2 [INFO] tweaked toml for crates.io crate sortery 1.4.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate sortery 1.4.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41128c24602a0620f4d2a2bd9b76a6b6905cc5e9dba0040ce419601bd6e352b8 [INFO] running `Command { std: "docker" "start" "-a" "41128c24602a0620f4d2a2bd9b76a6b6905cc5e9dba0040ce419601bd6e352b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41128c24602a0620f4d2a2bd9b76a6b6905cc5e9dba0040ce419601bd6e352b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41128c24602a0620f4d2a2bd9b76a6b6905cc5e9dba0040ce419601bd6e352b8", kill_on_drop: false }` [INFO] [stdout] 41128c24602a0620f4d2a2bd9b76a6b6905cc5e9dba0040ce419601bd6e352b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b56e7dffbc36733d05f35cc1004bec458f3c7a325331a48f4ebe3075fc00f30 [INFO] running `Command { std: "docker" "start" "-a" "0b56e7dffbc36733d05f35cc1004bec458f3c7a325331a48f4ebe3075fc00f30", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sortery v1.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/tools.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(is_sortable(&path, &(&"", false), &(&"txt", true))); [INFO] [stdout] | ^^^^^^^^^^^ ------------- --------------- expected `str`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, bool)` [INFO] [stdout] found reference `&(&&'static str, bool)` [INFO] [stdout] = note: expected reference `&(&str, bool)` [INFO] [stdout] found reference `&(&&'static str, bool)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/tools.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | fn is_sortable(path: &File, exclude_type: &(&str, bool), only_type: &(&str, bool)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ ----------- --------------------------- ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/tools.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | assert!(is_sortable(&path, &(&"txt", true), &(&"txt", true))); [INFO] [stdout] | ^^^^^^^^^^^ --------------- --------------- expected `str`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, bool)` [INFO] [stdout] found reference `&(&&'static str, bool)` [INFO] [stdout] = note: expected reference `&(&str, bool)` [INFO] [stdout] found reference `&(&&'static str, bool)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/tools.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | fn is_sortable(path: &File, exclude_type: &(&str, bool), only_type: &(&str, bool)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ ----------- --------------------------- ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/tools.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(is_sortable(&path, &(&"", false), &(&"", false))); [INFO] [stdout] | ^^^^^^^^^^^ ------------- ------------- expected `str`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, bool)` [INFO] [stdout] found reference `&(&&'static str, bool)` [INFO] [stdout] = note: expected reference `&(&str, bool)` [INFO] [stdout] found reference `&(&&'static str, bool)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/tools.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | fn is_sortable(path: &File, exclude_type: &(&str, bool), only_type: &(&str, bool)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ ----------- --------------------------- ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/tools.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(!is_sortable(&path, &(&"txt", true), &(&"", false))); [INFO] [stdout] | ^^^^^^^^^^^ --------------- ------------- expected `str`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected `str`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(&str, bool)` [INFO] [stdout] found reference `&(&&'static str, bool)` [INFO] [stdout] = note: expected reference `&(&str, bool)` [INFO] [stdout] found reference `&(&&'static str, bool)` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/tools.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | fn is_sortable(path: &File, exclude_type: &(&str, bool), only_type: &(&str, bool)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ ----------- --------------------------- ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sortery` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0b56e7dffbc36733d05f35cc1004bec458f3c7a325331a48f4ebe3075fc00f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b56e7dffbc36733d05f35cc1004bec458f3c7a325331a48f4ebe3075fc00f30", kill_on_drop: false }` [INFO] [stdout] 0b56e7dffbc36733d05f35cc1004bec458f3c7a325331a48f4ebe3075fc00f30