[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexsparrow%2Fsigurd" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexsparrow/sigurd on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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 wasm-bindgen-test-macro v0.3.13 [INFO] [stderr] Downloaded serde_derive v1.0.110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aaf2590b74535d7771138e84fe3983eafde26ca6ac0b7c6c9c496c8b69f46fe [INFO] running `Command { std: "docker" "start" "-a" "8aaf2590b74535d7771138e84fe3983eafde26ca6ac0b7c6c9c496c8b69f46fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aaf2590b74535d7771138e84fe3983eafde26ca6ac0b7c6c9c496c8b69f46fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aaf2590b74535d7771138e84fe3983eafde26ca6ac0b7c6c9c496c8b69f46fe", kill_on_drop: false }` [INFO] [stdout] 8aaf2590b74535d7771138e84fe3983eafde26ca6ac0b7c6c9c496c8b69f46fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 726bf316337b627c449ae9243654e88af3b020d350068827ddfd58f5a3c5e4ff [INFO] running `Command { std: "docker" "start" "-a" "726bf316337b627c449ae9243654e88af3b020d350068827ddfd58f5a3c5e4ff", 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 ucd-trie v0.1.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling bumpalo v3.3.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.13 [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] [stderr] Checking wasm-bindgen-futures v0.4.13 [INFO] [stderr] Checking wasm-bindgen-test v0.3.13 [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: 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: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: 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/stdio.rs:1174: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] 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" "726bf316337b627c449ae9243654e88af3b020d350068827ddfd58f5a3c5e4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "726bf316337b627c449ae9243654e88af3b020d350068827ddfd58f5a3c5e4ff", kill_on_drop: false }` [INFO] [stdout] 726bf316337b627c449ae9243654e88af3b020d350068827ddfd58f5a3c5e4ff