[INFO] fetching crate wasm-bindgen-cli 0.2.87... [INFO] checking wasm-bindgen-cli-0.2.87 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate wasm-bindgen-cli 0.2.87 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate wasm-bindgen-cli 0.2.87 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 wasm-bindgen-cli 0.2.87 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wasm-bindgen-cli 0.2.87 [INFO] tweaked toml for crates.io crate wasm-bindgen-cli 0.2.87 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate wasm-bindgen-cli 0.2.87 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] 13bd8d6dd48b0495140de0b9714732a4d79fcfc5fab2d18cfd910c09fec3232a [INFO] running `Command { std: "docker" "start" "-a" "13bd8d6dd48b0495140de0b9714732a4d79fcfc5fab2d18cfd910c09fec3232a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13bd8d6dd48b0495140de0b9714732a4d79fcfc5fab2d18cfd910c09fec3232a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13bd8d6dd48b0495140de0b9714732a4d79fcfc5fab2d18cfd910c09fec3232a", kill_on_drop: false }` [INFO] [stdout] 13bd8d6dd48b0495140de0b9714732a4d79fcfc5fab2d18cfd910c09fec3232a [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] 57ee1f15beb7b76369efeaa38f1f861bae5f508fe7102994252f74ef2d2f7e6c [INFO] running `Command { std: "docker" "start" "-a" "57ee1f15beb7b76369efeaa38f1f861bae5f508fe7102994252f74ef2d2f7e6c", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking wasmparser v0.77.1 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling curl-sys v0.4.63+curl-8.1.2 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking time v0.3.22 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking unicode-ident v1.0.9 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking semver v1.0.17 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking wasmparser v0.107.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking wasmparser v0.102.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Compiling walrus-macro v0.19.0 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking assert_cmd v1.0.8 [INFO] [stderr] Checking walrus v0.19.0 [INFO] [stderr] Checking serde v1.0.164 [INFO] [stderr] Checking wasm-bindgen-wasm-conventions v0.2.87 [INFO] [stderr] Checking wasm-bindgen-multi-value-xform v0.2.87 [INFO] [stderr] Checking wasm-bindgen-externref-xform v0.2.87 [INFO] [stderr] Checking wasm-bindgen-threads-xform v0.2.87 [INFO] [stderr] Checking wasm-bindgen-wasm-interpreter v0.2.87 [INFO] [stderr] Checking wasmprinter v0.2.59 [INFO] [stderr] Checking serde_json v1.0.96 [INFO] [stderr] Checking docopt v1.1.1 [INFO] [stderr] Checking wasm-bindgen-cli-support v0.2.87 [INFO] [stderr] Checking rouille v3.6.2 [INFO] [stderr] Checking wasm-bindgen-cli v0.2.87 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/bin/wasm-bindgen-test-runner/main.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 204 | let srv = server::spawn( [INFO] [stdout] | ________________________- [INFO] [stdout] 205 | | &if headless { [INFO] [stdout] | | __________________^ [INFO] [stdout] 206 | || "127.0.0.1:0".parse().unwrap() [INFO] [stdout] 207 | || } else if let Ok(address) = std::env::var("WASM_BINDGEN_TEST_ADDRESS") { [INFO] [stdout] 208 | || address.parse().unwrap() [INFO] [stdout] 209 | || } else { [INFO] [stdout] 210 | || "127.0.0.1:8000".parse().unwrap() [INFO] [stdout] 211 | || }, [INFO] [stdout] | ||_________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... | [INFO] [stdout] 218 | | matches!(test_mode, TestMode::Worker { no_modules: _ }), [INFO] [stdout] 219 | | ) [INFO] [stdout] | |______________- argument requires that borrow lasts for `'static` [INFO] [stdout] 220 | .context("failed to spawn server")?; [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `tmpdir` does not live long enough [INFO] [stdout] --> src/bin/wasm-bindgen-test-runner/main.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 69 | let tmpdir = if wasm_file_to_test [INFO] [stdout] | ------ binding `tmpdir` declared here [INFO] [stdout] ... [INFO] [stdout] 204 | let srv = server::spawn( [INFO] [stdout] | _______________________- [INFO] [stdout] 205 | | &if headless { [INFO] [stdout] 206 | | "127.0.0.1:0".parse().unwrap() [INFO] [stdout] 207 | | } else if let Ok(address) = std::env::var("WASM_BINDGEN_TEST_ADDRESS") { [INFO] [stdout] ... | [INFO] [stdout] 214 | | &tmpdir, [INFO] [stdout] | | ^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... | [INFO] [stdout] 218 | | matches!(test_mode, TestMode::Worker { no_modules: _ }), [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_____________- argument requires that `tmpdir` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 244 | } [INFO] [stdout] | - `tmpdir` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `args` does not live long enough [INFO] [stdout] --> src/bin/wasm-bindgen-test-runner/main.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 198 | let args: Vec<_> = args.collect(); [INFO] [stdout] | ---- binding `args` declared here [INFO] [stdout] ... [INFO] [stdout] 204 | let srv = server::spawn( [INFO] [stdout] | _______________________- [INFO] [stdout] 205 | | &if headless { [INFO] [stdout] 206 | | "127.0.0.1:0".parse().unwrap() [INFO] [stdout] 207 | | } else if let Ok(address) = std::env::var("WASM_BINDGEN_TEST_ADDRESS") { [INFO] [stdout] ... | [INFO] [stdout] 215 | | &args, [INFO] [stdout] | | ^^^^^ borrowed value does not live long enough [INFO] [stdout] ... | [INFO] [stdout] 218 | | matches!(test_mode, TestMode::Worker { no_modules: _ }), [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_____________- argument requires that `args` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 244 | } [INFO] [stdout] | - `args` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `tests` does not live long enough [INFO] [stdout] --> src/bin/wasm-bindgen-test-runner/main.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut tests = Vec::new(); [INFO] [stdout] | --------- binding `tests` declared here [INFO] [stdout] ... [INFO] [stdout] 204 | let srv = server::spawn( [INFO] [stdout] | _______________________- [INFO] [stdout] 205 | | &if headless { [INFO] [stdout] 206 | | "127.0.0.1:0".parse().unwrap() [INFO] [stdout] 207 | | } else if let Ok(address) = std::env::var("WASM_BINDGEN_TEST_ADDRESS") { [INFO] [stdout] ... | [INFO] [stdout] 216 | | &tests, [INFO] [stdout] | | ^^^^^^ borrowed value does not live long enough [INFO] [stdout] 217 | | no_modules, [INFO] [stdout] 218 | | matches!(test_mode, TestMode::Worker { no_modules: _ }), [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_____________- argument requires that `tests` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 244 | } [INFO] [stdout] | - `tests` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bindgen-cli` (bin "wasm-bindgen-test-runner") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/bin/wasm-bindgen-test-runner/main.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 204 | let srv = server::spawn( [INFO] [stdout] | ________________________- [INFO] [stdout] 205 | | &if headless { [INFO] [stdout] | | __________________^ [INFO] [stdout] 206 | || "127.0.0.1:0".parse().unwrap() [INFO] [stdout] 207 | || } else if let Ok(address) = std::env::var("WASM_BINDGEN_TEST_ADDRESS") { [INFO] [stdout] 208 | || address.parse().unwrap() [INFO] [stdout] 209 | || } else { [INFO] [stdout] 210 | || "127.0.0.1:8000".parse().unwrap() [INFO] [stdout] 211 | || }, [INFO] [stdout] | ||_________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... | [INFO] [stdout] 218 | | matches!(test_mode, TestMode::Worker { no_modules: _ }), [INFO] [stdout] 219 | | ) [INFO] [stdout] | |______________- argument requires that borrow lasts for `'static` [INFO] [stdout] 220 | .context("failed to spawn server")?; [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `tmpdir` does not live long enough [INFO] [stdout] --> src/bin/wasm-bindgen-test-runner/main.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 69 | let tmpdir = if wasm_file_to_test [INFO] [stdout] | ------ binding `tmpdir` declared here [INFO] [stdout] ... [INFO] [stdout] 204 | let srv = server::spawn( [INFO] [stdout] | _______________________- [INFO] [stdout] 205 | | &if headless { [INFO] [stdout] 206 | | "127.0.0.1:0".parse().unwrap() [INFO] [stdout] 207 | | } else if let Ok(address) = std::env::var("WASM_BINDGEN_TEST_ADDRESS") { [INFO] [stdout] ... | [INFO] [stdout] 214 | | &tmpdir, [INFO] [stdout] | | ^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... | [INFO] [stdout] 218 | | matches!(test_mode, TestMode::Worker { no_modules: _ }), [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_____________- argument requires that `tmpdir` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 244 | } [INFO] [stdout] | - `tmpdir` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `args` does not live long enough [INFO] [stdout] --> src/bin/wasm-bindgen-test-runner/main.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 198 | let args: Vec<_> = args.collect(); [INFO] [stdout] | ---- binding `args` declared here [INFO] [stdout] ... [INFO] [stdout] 204 | let srv = server::spawn( [INFO] [stdout] | _______________________- [INFO] [stdout] 205 | | &if headless { [INFO] [stdout] 206 | | "127.0.0.1:0".parse().unwrap() [INFO] [stdout] 207 | | } else if let Ok(address) = std::env::var("WASM_BINDGEN_TEST_ADDRESS") { [INFO] [stdout] ... | [INFO] [stdout] 215 | | &args, [INFO] [stdout] | | ^^^^^ borrowed value does not live long enough [INFO] [stdout] ... | [INFO] [stdout] 218 | | matches!(test_mode, TestMode::Worker { no_modules: _ }), [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_____________- argument requires that `args` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 244 | } [INFO] [stdout] | - `args` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `tests` does not live long enough [INFO] [stdout] --> src/bin/wasm-bindgen-test-runner/main.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut tests = Vec::new(); [INFO] [stdout] | --------- binding `tests` declared here [INFO] [stdout] ... [INFO] [stdout] 204 | let srv = server::spawn( [INFO] [stdout] | _______________________- [INFO] [stdout] 205 | | &if headless { [INFO] [stdout] 206 | | "127.0.0.1:0".parse().unwrap() [INFO] [stdout] 207 | | } else if let Ok(address) = std::env::var("WASM_BINDGEN_TEST_ADDRESS") { [INFO] [stdout] ... | [INFO] [stdout] 216 | | &tests, [INFO] [stdout] | | ^^^^^^ borrowed value does not live long enough [INFO] [stdout] 217 | | no_modules, [INFO] [stdout] 218 | | matches!(test_mode, TestMode::Worker { no_modules: _ }), [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_____________- argument requires that `tests` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 244 | } [INFO] [stdout] | - `tests` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bindgen-cli` (bin "wasm-bindgen-test-runner" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "57ee1f15beb7b76369efeaa38f1f861bae5f508fe7102994252f74ef2d2f7e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ee1f15beb7b76369efeaa38f1f861bae5f508fe7102994252f74ef2d2f7e6c", kill_on_drop: false }` [INFO] [stdout] 57ee1f15beb7b76369efeaa38f1f861bae5f508fe7102994252f74ef2d2f7e6c