[INFO] fetching crate belong 0.1.0... [INFO] checking belong-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate belong 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate belong 0.1.0 [INFO] finished tweaking crates.io crate belong 0.1.0 [INFO] tweaked toml for crates.io crate belong 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate belong 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate belong 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded globset v0.4.5 [INFO] [stderr] Downloaded casual v0.1.1 [INFO] [stderr] Downloaded globwalk v0.8.0 [INFO] [stderr] Downloaded hermit-abi v0.1.10 [INFO] [stderr] Downloaded winapi-util v0.1.4 [INFO] [stderr] Downloaded structopt-derive v0.4.5 [INFO] [stderr] Downloaded structopt v0.3.12 [INFO] [stderr] Downloaded parse-zoneinfo v0.2.1 [INFO] [stderr] Downloaded crossbeam-channel v0.4.2 [INFO] [stderr] Downloaded pulldown-cmark v0.7.0 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded tera v1.2.0 [INFO] [stderr] Downloaded serde_json v1.0.51 [INFO] [stderr] Downloaded ignore v0.4.14 [INFO] [stderr] Downloaded regex v1.3.6 [INFO] [stderr] Downloaded chrono-tz v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd466994e3ad4a0f701565a9de6f4cf5cd920022484204930c26cbfe49a03c79 [INFO] running `Command { std: "docker" "start" "-a" "fd466994e3ad4a0f701565a9de6f4cf5cd920022484204930c26cbfe49a03c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd466994e3ad4a0f701565a9de6f4cf5cd920022484204930c26cbfe49a03c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd466994e3ad4a0f701565a9de6f4cf5cd920022484204930c26cbfe49a03c79", kill_on_drop: false }` [INFO] [stdout] fd466994e3ad4a0f701565a9de6f4cf5cd920022484204930c26cbfe49a03c79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3d8f5d06385af722f4156c105279b26d9bd109a8b8530d860c77237c1af7302 [INFO] running `Command { std: "docker" "start" "-a" "d3d8f5d06385af722f4156c105279b26d9bd109a8b8530d860c77237c1af7302", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling pulldown-cmark v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking casual v0.1.1 [INFO] [stderr] Checking open v1.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking ignore v0.4.14 [INFO] [stderr] Checking globwalk v0.8.0 [INFO] [stderr] Compiling parse-zoneinfo v0.2.1 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Checking structopt v0.3.12 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking tera v1.2.0 [INFO] [stderr] Checking belong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Default, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Default, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/project.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/project.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Default, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Default, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/project.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/project.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic` [INFO] [stdout] --> src/project.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | use std::panic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/project.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | .join("/") [INFO] [stdout] | ---- ^^^ expected `&OsStr`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&OsStr` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: the return type of this call is `&'static str` due to the type of the argument passed [INFO] [stdout] --> src/project.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / self.path [INFO] [stdout] 150 | | .with_extension("html") [INFO] [stdout] 151 | | .components() [INFO] [stdout] 152 | | .map(|c| c.as_os_str()) [INFO] [stdout] 153 | | .collect::>() [INFO] [stdout] 154 | | .join("/") [INFO] [stdout] | |___________________---^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `join` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/slice.rs:592:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Join` [INFO] [stdout] --> src/project.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | util::{self, FromPath, Join, TomlValueExt}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/project.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | .join("/") [INFO] [stdout] | ---- ^^^ expected `&OsStr`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&OsStr` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: the return type of this call is `&'static str` due to the type of the argument passed [INFO] [stdout] --> src/project.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / self.path [INFO] [stdout] 150 | | .with_extension("html") [INFO] [stdout] 151 | | .components() [INFO] [stdout] 152 | | .map(|c| c.as_os_str()) [INFO] [stdout] 153 | | .collect::>() [INFO] [stdout] 154 | | .join("/") [INFO] [stdout] | |___________________---^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `join` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/slice.rs:592:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Join` [INFO] [stdout] --> src/project.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | util::{self, FromPath, Join, TomlValueExt}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `belong` (lib) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `belong` (lib test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d3d8f5d06385af722f4156c105279b26d9bd109a8b8530d860c77237c1af7302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d8f5d06385af722f4156c105279b26d9bd109a8b8530d860c77237c1af7302", kill_on_drop: false }` [INFO] [stdout] d3d8f5d06385af722f4156c105279b26d9bd109a8b8530d860c77237c1af7302