[INFO] cloning repository https://github.com/rsookram/xml-requirements [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rsookram/xml-requirements" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsookram%2Fxml-requirements", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsookram%2Fxml-requirements'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4261ea7884131267a8307150aafb946f349fe19d [INFO] checking rsookram/xml-requirements against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsookram%2Fxml-requirements" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rsookram/xml-requirements 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/rsookram/xml-requirements [INFO] finished tweaking git repo https://github.com/rsookram/xml-requirements [INFO] tweaked toml for git repo https://github.com/rsookram/xml-requirements written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rsookram/xml-requirements 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cfa5f12b335ead615536ee14e903b781c8f9ee0fb5e8880d5cb962fa8f44d46e [INFO] running `Command { std: "docker" "start" "-a" "cfa5f12b335ead615536ee14e903b781c8f9ee0fb5e8880d5cb962fa8f44d46e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfa5f12b335ead615536ee14e903b781c8f9ee0fb5e8880d5cb962fa8f44d46e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa5f12b335ead615536ee14e903b781c8f9ee0fb5e8880d5cb962fa8f44d46e", kill_on_drop: false }` [INFO] [stdout] cfa5f12b335ead615536ee14e903b781c8f9ee0fb5e8880d5cb962fa8f44d46e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d60c7d23fde7ce8a0fc0b4a56d6dbaabd456c422de2fb39188daddf75bcd0385 [INFO] running `Command { std: "docker" "start" "-a" "d60c7d23fde7ce8a0fc0b4a56d6dbaabd456c422de2fb39188daddf75bcd0385", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking xmlparser v0.13.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking pico-args v0.3.3 [INFO] [stderr] Checking predicates v1.0.5 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking roxmltree v0.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking assert_cmd v1.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking xml-requirements v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `conf_str` does not live long enough [INFO] [stdout] --> src/main.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 37 | let conf_str = fs::read_to_string(&opt.config) [INFO] [stdout] | -------- binding `conf_str` declared here [INFO] [stdout] 38 | .map_err(|err| Error::ReadConfig(opt.config.clone(), Box::new(err)))?; [INFO] [stdout] 39 | let config = config::from_str(&conf_str) [INFO] [stdout] | ^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 40 | .map_err(|err| Error::ParseConfig(opt.config.clone(), Box::new(err)))?; [INFO] [stdout] | ------------- cast requires that `conf_str` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 75 | } [INFO] [stdout] | - `conf_str` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xml-requirements` (bin "xml-requirements") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0597]: `conf_str` does not live long enough [INFO] [stdout] --> src/main.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 37 | let conf_str = fs::read_to_string(&opt.config) [INFO] [stdout] | -------- binding `conf_str` declared here [INFO] [stdout] 38 | .map_err(|err| Error::ReadConfig(opt.config.clone(), Box::new(err)))?; [INFO] [stdout] 39 | let config = config::from_str(&conf_str) [INFO] [stdout] | ^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 40 | .map_err(|err| Error::ParseConfig(opt.config.clone(), Box::new(err)))?; [INFO] [stdout] | ------------- cast requires that `conf_str` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 75 | } [INFO] [stdout] | - `conf_str` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xml-requirements` (bin "xml-requirements" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d60c7d23fde7ce8a0fc0b4a56d6dbaabd456c422de2fb39188daddf75bcd0385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60c7d23fde7ce8a0fc0b4a56d6dbaabd456c422de2fb39188daddf75bcd0385", kill_on_drop: false }` [INFO] [stdout] d60c7d23fde7ce8a0fc0b4a56d6dbaabd456c422de2fb39188daddf75bcd0385