[INFO] fetching crate math-core 0.1.1... [INFO] testing math-core-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate math-core 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate math-core 0.1.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate math-core 0.1.1 [INFO] tweaked toml for crates.io crate math-core 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate math-core 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate math-core 0.1.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0013b5c58c986109669f50fd9e8c8509e8398c347c15498f43ea5c5fe17e5f95 [INFO] running `Command { std: "docker" "start" "-a" "0013b5c58c986109669f50fd9e8c8509e8398c347c15498f43ea5c5fe17e5f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0013b5c58c986109669f50fd9e8c8509e8398c347c15498f43ea5c5fe17e5f95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0013b5c58c986109669f50fd9e8c8509e8398c347c15498f43ea5c5fe17e5f95", kill_on_drop: false }` [INFO] [stdout] 0013b5c58c986109669f50fd9e8c8509e8398c347c15498f43ea5c5fe17e5f95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9be0b6a262b048a015658a5653036d22018d5af443d6f54f2c4a09a1b43a985 [INFO] running `Command { std: "docker" "start" "-a" "e9be0b6a262b048a015658a5653036d22018d5af443d6f54f2c4a09a1b43a985", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling stable-arena v0.2.0 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling phf_macros v0.12.1 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling phf v0.12.1 [INFO] [stderr] Compiling math-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.61s [INFO] running `Command { std: "docker" "inspect" "e9be0b6a262b048a015658a5653036d22018d5af443d6f54f2c4a09a1b43a985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9be0b6a262b048a015658a5653036d22018d5af443d6f54f2c4a09a1b43a985", kill_on_drop: false }` [INFO] [stdout] e9be0b6a262b048a015658a5653036d22018d5af443d6f54f2c4a09a1b43a985 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b4701e12f9eb5dfc3ea358696a94ebf7d6d955c520d17d082b5f7737bd189a3 [INFO] running `Command { std: "docker" "start" "-a" "2b4701e12f9eb5dfc3ea358696a94ebf7d6d955c520d17d082b5f7737bd189a3", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling minijinja v2.10.2 [INFO] [stderr] Compiling insta v1.41.1 [INFO] [stderr] Compiling math-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> examples/minijinja.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `MathCoreConfig` in the current scope [INFO] [stdout] --> examples/minijinja.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | let config = MathCoreConfig::deserialize(config).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `MathCoreConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MathCoreConfig: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> examples/minijinja.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | .render(context! { [INFO] [stdout] | _________________^ [INFO] [stdout] 64 | | mathcore_config => MathCoreConfig { [INFO] [stdout] 65 | | pretty_print: PrettyPrint::Always, [INFO] [stdout] 66 | | ..Default::default() [INFO] [stdout] 67 | | }, [INFO] [stdout] 68 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `serde::ser::Serialize` is not implemented for `MathCoreConfig` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `MathCoreConfig` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 135 others [INFO] [stdout] = note: required for `&MathCoreConfig` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `Value::from_serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/minijinja-2.10.2/src/value/mod.rs:740:30 [INFO] [stdout] | [INFO] [stdout] 740 | pub fn from_serialize(value: T) -> Value { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Value::from_serialize` [INFO] [stdout] = note: this error originates in the macro `$crate::__context_pair` which comes from the expansion of the macro `context` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `math-core` (example "minijinja") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `ast::Node<'_>: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/latex_parser/parse.rs:1565:13 [INFO] [stdout] | [INFO] [stdout] 1565 | assert_ron_snapshot!(name, &ast, problem); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `ast::Node<'_>` [INFO] [stdout] --> src/mathml_renderer/ast.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Node<'arena> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ast::Node<'_>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] = note: required for `&ast::Node<'_>` to implement `serde::ser::Serialize` [INFO] [stdout] = note: 3 redundant requirements hidden [INFO] [stdout] = note: required for `&&Vec<&ast::Node<'_>>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `serialize_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/serialization.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn serialize_value(s: &S, format: SerializationFormat) -> String { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize_value` [INFO] [stdout] = note: this error originates in the macro `$crate::_assert_serialized_snapshot` which comes from the expansion of the macro `assert_ron_snapshot` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `math-core` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2b4701e12f9eb5dfc3ea358696a94ebf7d6d955c520d17d082b5f7737bd189a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b4701e12f9eb5dfc3ea358696a94ebf7d6d955c520d17d082b5f7737bd189a3", kill_on_drop: false }` [INFO] [stdout] 2b4701e12f9eb5dfc3ea358696a94ebf7d6d955c520d17d082b5f7737bd189a3