[INFO] fetching crate dart-bindgen 0.1.9-deprecated... [INFO] checking dart-bindgen-0.1.9-deprecated against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate dart-bindgen 0.1.9-deprecated into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate dart-bindgen 0.1.9-deprecated 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 crates.io crate dart-bindgen 0.1.9-deprecated [INFO] finished tweaking crates.io crate dart-bindgen 0.1.9-deprecated [INFO] tweaked toml for crates.io crate dart-bindgen 0.1.9-deprecated written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate dart-bindgen 0.1.9-deprecated 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 172b611b6d4f6409cca7b926657cdd39b177ad469da3660ba8221ce326187c56 [INFO] running `Command { std: "docker" "start" "-a" "172b611b6d4f6409cca7b926657cdd39b177ad469da3660ba8221ce326187c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "172b611b6d4f6409cca7b926657cdd39b177ad469da3660ba8221ce326187c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "172b611b6d4f6409cca7b926657cdd39b177ad469da3660ba8221ce326187c56", kill_on_drop: false }` [INFO] [stdout] 172b611b6d4f6409cca7b926657cdd39b177ad469da3660ba8221ce326187c56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0f1e3a18687654b6b02b6ed75de70221fc6385ce9f3e80d6b704c44908499716 [INFO] running `Command { std: "docker" "start" "-a" "0f1e3a18687654b6b02b6ed75de70221fc6385ce9f3e80d6b704c44908499716", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking clang v1.0.3 [INFO] [stderr] Checking simplelog v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking dart-bindgen v0.1.9-deprecated (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `clang` does not live long enough [INFO] [stdout] --> src/lib.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 97 | let clang = Clang::new()?; [INFO] [stdout] | ----- binding `clang` declared here [INFO] [stdout] 98 | let index = Index::new(&clang, true, false); [INFO] [stdout] | ^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 133 | .insert(s.name().to_owned(), Box::new(s)); [INFO] [stdout] | ----------- cast requires that `clang` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 210 | } [INFO] [stdout] | - `clang` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `index` does not live long enough [INFO] [stdout] --> src/lib.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 98 | let index = Index::new(&clang, true, false); [INFO] [stdout] | ----- binding `index` declared here [INFO] [stdout] 99 | debug!("start parsing the C header file at {:?}.", self.src_header); [INFO] [stdout] 100 | let parser = index.parser(self.src_header); [INFO] [stdout] | ^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 133 | .insert(s.name().to_owned(), Box::new(s)); [INFO] [stdout] | ----------- cast requires that `index` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 210 | } [INFO] [stdout] | - `index` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `tu` does not live long enough [INFO] [stdout] --> src/lib.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 101 | let tu = parser.parse()?; [INFO] [stdout] | -- binding `tu` declared here [INFO] [stdout] 102 | debug!("Done Parsed the header file"); [INFO] [stdout] 103 | let entity = tu.get_entity(); [INFO] [stdout] | ^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 133 | .insert(s.name().to_owned(), Box::new(s)); [INFO] [stdout] | ----------- cast requires that `tu` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 210 | } [INFO] [stdout] | - `tu` 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 `dart-bindgen` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0f1e3a18687654b6b02b6ed75de70221fc6385ce9f3e80d6b704c44908499716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1e3a18687654b6b02b6ed75de70221fc6385ce9f3e80d6b704c44908499716", kill_on_drop: false }` [INFO] [stdout] 0f1e3a18687654b6b02b6ed75de70221fc6385ce9f3e80d6b704c44908499716