[INFO] cloning repository https://github.com/Metaswitch/floki [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Metaswitch/floki" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetaswitch%2Ffloki", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetaswitch%2Ffloki'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 064319042639363883f5cf8eefd63f6bb7658ab9 [INFO] checking Metaswitch/floki against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetaswitch%2Ffloki" "/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/Metaswitch/floki on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Metaswitch/floki [INFO] finished tweaking git repo https://github.com/Metaswitch/floki [INFO] tweaked toml for git repo https://github.com/Metaswitch/floki written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Metaswitch/floki 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3c9655b154836ea7f2648bdf6552a5e7fb6a8b4d101767e43a7cbfe756f5260 [INFO] running `Command { std: "docker" "start" "-a" "b3c9655b154836ea7f2648bdf6552a5e7fb6a8b4d101767e43a7cbfe756f5260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3c9655b154836ea7f2648bdf6552a5e7fb6a8b4d101767e43a7cbfe756f5260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3c9655b154836ea7f2648bdf6552a5e7fb6a8b4d101767e43a7cbfe756f5260", kill_on_drop: false }` [INFO] [stdout] b3c9655b154836ea7f2648bdf6552a5e7fb6a8b4d101767e43a7cbfe756f5260 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1e4401938664d6ab28af650e3b6f99b4c90e8090de9a7a5d9f12f5c4efda530 [INFO] running `Command { std: "docker" "start" "-a" "d1e4401938664d6ab28af650e3b6f99b4c90e8090de9a7a5d9f12f5c4efda530", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.167 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling regex-syntax v0.7.3 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking ryu v1.0.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking winnow v0.5.15 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unsafe-libyaml v0.2.8 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking shlex v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.3.0 [INFO] [stderr] Checking time v0.3.22 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking simplelog v0.12.1 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.167 [INFO] [stderr] Checking regex v1.9.0 [INFO] [stderr] Checking globset v0.4.10 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Compiling pest v2.7.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.0 [INFO] [stderr] Compiling chrono-tz v0.8.3 [INFO] [stderr] Compiling pest_meta v2.7.0 [INFO] [stderr] Compiling pest_generator v2.7.0 [INFO] [stderr] Compiling pest_derive v2.7.0 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking tera v1.19.1 [INFO] [stderr] Checking toml v0.7.7 [INFO] [stderr] Checking floki v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `canonical_path` does not live long enough [INFO] [stdout] --> src/config.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 148 | let canonical_path = std::fs::canonicalize(source_filename).map_err(|err| { [INFO] [stdout] | -------------- binding `canonical_path` declared here [INFO] [stdout] ... [INFO] [stdout] 160 | tera.register_function("yaml", makeloader(&canonical_path, LoaderType::Yaml)); [INFO] [stdout] | -----------^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `canonical_path` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `canonical_path` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `canonical_path` does not live long enough [INFO] [stdout] --> src/config.rs:161:47 [INFO] [stdout] | [INFO] [stdout] 148 | let canonical_path = std::fs::canonicalize(source_filename).map_err(|err| { [INFO] [stdout] | -------------- binding `canonical_path` declared here [INFO] [stdout] ... [INFO] [stdout] 161 | tera.register_function("json", makeloader(&canonical_path, LoaderType::Json)); [INFO] [stdout] | -----------^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `canonical_path` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `canonical_path` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `canonical_path` does not live long enough [INFO] [stdout] --> src/config.rs:162:47 [INFO] [stdout] | [INFO] [stdout] 148 | let canonical_path = std::fs::canonicalize(source_filename).map_err(|err| { [INFO] [stdout] | -------------- binding `canonical_path` declared here [INFO] [stdout] ... [INFO] [stdout] 162 | tera.register_function("toml", makeloader(&canonical_path, LoaderType::Toml)); [INFO] [stdout] | -----------^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `canonical_path` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `canonical_path` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `canonical_path` does not live long enough [INFO] [stdout] --> src/config.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 148 | let canonical_path = std::fs::canonicalize(source_filename).map_err(|err| { [INFO] [stdout] | -------------- binding `canonical_path` declared here [INFO] [stdout] ... [INFO] [stdout] 160 | tera.register_function("yaml", makeloader(&canonical_path, LoaderType::Yaml)); [INFO] [stdout] | -----------^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `canonical_path` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `canonical_path` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `canonical_path` does not live long enough [INFO] [stdout] --> src/config.rs:161:47 [INFO] [stdout] | [INFO] [stdout] 148 | let canonical_path = std::fs::canonicalize(source_filename).map_err(|err| { [INFO] [stdout] | -------------- binding `canonical_path` declared here [INFO] [stdout] ... [INFO] [stdout] 161 | tera.register_function("json", makeloader(&canonical_path, LoaderType::Json)); [INFO] [stdout] | -----------^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `canonical_path` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `canonical_path` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `canonical_path` does not live long enough [INFO] [stdout] --> src/config.rs:162:47 [INFO] [stdout] | [INFO] [stdout] 148 | let canonical_path = std::fs::canonicalize(source_filename).map_err(|err| { [INFO] [stdout] | -------------- binding `canonical_path` declared here [INFO] [stdout] ... [INFO] [stdout] 162 | tera.register_function("toml", makeloader(&canonical_path, LoaderType::Toml)); [INFO] [stdout] | -----------^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `canonical_path` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 182 | } [INFO] [stdout] | - `canonical_path` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `floki` (bin "floki") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `floki` (bin "floki" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d1e4401938664d6ab28af650e3b6f99b4c90e8090de9a7a5d9f12f5c4efda530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e4401938664d6ab28af650e3b6f99b4c90e8090de9a7a5d9f12f5c4efda530", kill_on_drop: false }` [INFO] [stdout] d1e4401938664d6ab28af650e3b6f99b4c90e8090de9a7a5d9f12f5c4efda530