[INFO] cloning repository https://github.com/alexsparrow/sigurd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexsparrow/sigurd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexsparrow%2Fsigurd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexsparrow%2Fsigurd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b09c4e67c1f988d92a14d2425d439750809ab3fd [INFO] checking alexsparrow/sigurd/b09c4e67c1f988d92a14d2425d439750809ab3fd against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexsparrow%2Fsigurd" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexsparrow/sigurd on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexsparrow/sigurd [INFO] finished tweaking git repo https://github.com/alexsparrow/sigurd [INFO] tweaked toml for git repo https://github.com/alexsparrow/sigurd written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alexsparrow/sigurd 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.13 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.63 [INFO] [stderr] Downloaded proc-macro2 v1.0.17 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.63 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.13 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded pest_generator v2.1.3 [INFO] [stderr] Downloaded pest_derive v2.1.0 [INFO] [stderr] Downloaded ryu v1.0.4 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded serde_derive v1.0.110 [INFO] [stderr] Downloaded js-sys v0.3.40 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded wasm-bindgen v0.2.63 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.63 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded syn v1.0.30 [INFO] [stderr] Downloaded pest_meta v2.1.3 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.13 [INFO] [stderr] Downloaded web-sys v0.3.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 323e4a0b7d971ad7d6133a1385865a1b0c51b598a605f85304e2e09c98810cc0 [INFO] running `Command { std: "docker" "start" "-a" "323e4a0b7d971ad7d6133a1385865a1b0c51b598a605f85304e2e09c98810cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "323e4a0b7d971ad7d6133a1385865a1b0c51b598a605f85304e2e09c98810cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "323e4a0b7d971ad7d6133a1385865a1b0c51b598a605f85304e2e09c98810cc0", kill_on_drop: false }` [INFO] [stdout] 323e4a0b7d971ad7d6133a1385865a1b0c51b598a605f85304e2e09c98810cc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dde522f25d85e27094a24ec57f138e99ce3bba8bb85f339f0fe3dc6846c17f9 [INFO] running `Command { std: "docker" "start" "-a" "5dde522f25d85e27094a24ec57f138e99ce3bba8bb85f339f0fe3dc6846c17f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.63 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bumpalo v3.3.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.13 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.63 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Checking js-sys v0.3.40 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking sigurd v0.1.0 (/opt/rustwide/workdir/sigurd) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> sigurd/src/parser/parser.rs:299:31 [INFO] [stdout] | [INFO] [stdout] 299 | _ => unreachable!(format!("{:?}", op.as_rule())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 299 - _ => unreachable!(format!("{:?}", op.as_rule())), [INFO] [stdout] 299 + _ => unreachable!("{:?}", op.as_rule()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> sigurd/src/interp/interp.rs:196:54 [INFO] [stdout] | [INFO] [stdout] 196 | locals.insert(unwrap_ident(name.as_ref()).clone().into(), result); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> sigurd/src/interp/interp.rs:201:54 [INFO] [stdout] | [INFO] [stdout] 201 | locals.insert(unwrap_ident(name.as_ref()).clone().into(), result.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> sigurd/src/interp/stdlib.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | globals.insert(name.clone().into(), Value::StdLibStub { func: name }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> sigurd/src/parser/parser.rs:299:31 [INFO] [stdout] | [INFO] [stdout] 299 | _ => unreachable!(format!("{:?}", op.as_rule())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 299 - _ => unreachable!(format!("{:?}", op.as_rule())), [INFO] [stdout] 299 + _ => unreachable!("{:?}", op.as_rule()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> sigurd/src/interp/interp.rs:196:54 [INFO] [stdout] | [INFO] [stdout] 196 | locals.insert(unwrap_ident(name.as_ref()).clone().into(), result); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> sigurd/src/interp/interp.rs:201:54 [INFO] [stdout] | [INFO] [stdout] 201 | locals.insert(unwrap_ident(name.as_ref()).clone().into(), result.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> sigurd/src/interp/stdlib.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | globals.insert(name.clone().into(), Value::StdLibStub { func: name }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-futures v0.4.13 [INFO] [stderr] Checking sigurd-wasm v0.1.0 (/opt/rustwide/workdir/sigurd-wasm) [INFO] [stdout] error[E0463]: can't find crate for `wasm_bindgen_test` [INFO] [stdout] --> sigurd-wasm/src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate wasm_bindgen_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen_test` in this scope [INFO] [stdout] --> sigurd-wasm/src/lib.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[wasm_bindgen_test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: an attribute macro with a similar name exists: `wasm_bindgen` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-macro-0.2.63/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn wasm_bindgen(attr: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------------------------------------------------------------- similarly named attribute macro `wasm_bindgen` defined here [INFO] [stdout] | [INFO] [stdout] note: `wasm_bindgen_test` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> sigurd-wasm/src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate wasm_bindgen_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_print` in module `io` [INFO] [stdout] --> sigurd-wasm/src/print.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | io::set_print(Some(Box::new(printer))); [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `_eprint` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/stdio.rs:1236:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named function `_eprint` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `set_stdio` [INFO] [stdout] --> sigurd-wasm/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(set_stdio)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-test v0.3.13 [INFO] [stderr] error: could not compile `sigurd-wasm` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5dde522f25d85e27094a24ec57f138e99ce3bba8bb85f339f0fe3dc6846c17f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dde522f25d85e27094a24ec57f138e99ce3bba8bb85f339f0fe3dc6846c17f9", kill_on_drop: false }` [INFO] [stdout] 5dde522f25d85e27094a24ec57f138e99ce3bba8bb85f339f0fe3dc6846c17f9