[INFO] fetching crate fluent-impl 0.2.0... [INFO] testing fluent-impl-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fluent-impl 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate fluent-impl 0.2.0 [INFO] finished tweaking crates.io crate fluent-impl 0.2.0 [INFO] tweaked toml for crates.io crate fluent-impl 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fluent-impl 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 66 packages to latest compatible versions [INFO] [stderr] Adding compiletest_rs v0.3.26 (available: v0.11.2) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.95) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.40) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74da5f02dd5242933485724dbb2c0950de0e830f494ef1af783205f10efb194a [INFO] running `Command { std: "docker" "start" "-a" "74da5f02dd5242933485724dbb2c0950de0e830f494ef1af783205f10efb194a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74da5f02dd5242933485724dbb2c0950de0e830f494ef1af783205f10efb194a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74da5f02dd5242933485724dbb2c0950de0e830f494ef1af783205f10efb194a", kill_on_drop: false }` [INFO] [stdout] 74da5f02dd5242933485724dbb2c0950de0e830f494ef1af783205f10efb194a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 41feb37f39edb86bf2defc1c9673d89b7a15f3a0eaa5a1ceca8dbe678af202d2 [INFO] running `Command { std: "docker" "start" "-a" "41feb37f39edb86bf2defc1c9673d89b7a15f3a0eaa5a1ceca8dbe678af202d2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling fluent-impl v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.23s [INFO] running `Command { std: "docker" "inspect" "41feb37f39edb86bf2defc1c9673d89b7a15f3a0eaa5a1ceca8dbe678af202d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41feb37f39edb86bf2defc1c9673d89b7a15f3a0eaa5a1ceca8dbe678af202d2", kill_on_drop: false }` [INFO] [stdout] 41feb37f39edb86bf2defc1c9673d89b7a15f3a0eaa5a1ceca8dbe678af202d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 594a8fc268f383698e4f06adc05f7776a1bb2c162686f49cea7404517e721702 [INFO] running `Command { std: "docker" "start" "-a" "594a8fc268f383698e4f06adc05f7776a1bb2c162686f49cea7404517e721702", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling compiletest_rs v0.3.26 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tester v0.6.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rustfix v0.4.6 [INFO] [stderr] Compiling fluent-impl v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 37.63s [INFO] running `Command { std: "docker" "inspect" "594a8fc268f383698e4f06adc05f7776a1bb2c162686f49cea7404517e721702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594a8fc268f383698e4f06adc05f7776a1bb2c162686f49cea7404517e721702", kill_on_drop: false }` [INFO] [stdout] 594a8fc268f383698e4f06adc05f7776a1bb2c162686f49cea7404517e721702 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 64b5e3acf46bb4d5be4299b15e9bc0ce981de620770769e8214029c5f2faf0ed [INFO] running `Command { std: "docker" "start" "-a" "64b5e3acf46bb4d5be4299b15e9bc0ce981de620770769e8214029c5f2faf0ed", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fluent_impl-84a2cf9d651ee14a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/compiletest.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/compiletest-8cd2c15a29bd0308) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test compile_test_compile_fail ... ignored [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test [run-pass] run-pass/simple_macro_inblock.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_method_inblock.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_all_opts.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/impl_trait.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_name.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/mutref_arg.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_pub_crate_from_both.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/generic_arg.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_rename.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_both_inblock.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_pub_crate_from_macro.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/pattern_fn_arg_generic_type_arg.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_empty_attrs.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_pub_crate_from_method.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/trait_bound.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/pattern_args.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/where_clause.rs ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [run-pass] run-pass/generic_arg.rs [INFO] [stdout] [run-pass] run-pass/impl_trait.rs [INFO] [stdout] [run-pass] run-pass/mutref_arg.rs [INFO] [stdout] [run-pass] run-pass/pattern_args.rs [INFO] [stdout] [run-pass] run-pass/pattern_fn_arg_generic_type_arg.rs [INFO] [stdout] [run-pass] run-pass/simple.rs [INFO] [stdout] [run-pass] run-pass/simple_all_opts.rs [INFO] [stdout] [run-pass] run-pass/simple_both_inblock.rs [INFO] [stdout] [run-pass] run-pass/simple_empty_attrs.rs [INFO] [stdout] [run-pass] run-pass/simple_macro_inblock.rs [INFO] [stdout] [run-pass] run-pass/simple_method_inblock.rs [INFO] [stdout] [run-pass] run-pass/simple_name.rs [INFO] [stdout] [run-pass] run-pass/simple_pub_crate_from_both.rs [INFO] [stdout] [run-pass] run-pass/simple_pub_crate_from_macro.rs [INFO] [stdout] [run-pass] run-pass/simple_pub_crate_from_method.rs [INFO] [stdout] [run-pass] run-pass/simple_rename.rs [INFO] [stdout] [run-pass] run-pass/trait_bound.rs [INFO] [stdout] [run-pass] run-pass/where_clause.rs [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] test compile_test_run_pass ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- compile_test_run_pass stdout ---- [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple_macro_inblock.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple_macro_inblock.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple_macro_inblock.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_macro_inblock.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple_macro_inblock.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_add_1` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_macro_inblock.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `with_add_1` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple_macro_inblock.rs","byte_start":620,"byte_end":630,"line_start":32,"line_end":32,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `add_1` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/simple_macro_inblock.rs","byte_start":620,"byte_end":630,"line_start":32,"line_end":32,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":"add_1","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_add_1` found for struct `Simple` in the current scope\n --> tests/run-pass/simple_macro_inblock.rs:32:38\n |\n7 | pub struct Simple {\n | ----------------- method `with_add_1` not found for this struct\n...\n32 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^\n |\nhelp: there is a method `add_1` with a similar name\n |\n32 - assert_eq!(s1, Simple::default().with_add_1());\n32 + assert_eq!(s1, Simple::default().add_1());\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple_method_inblock.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple_method_inblock.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple_method_inblock.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_method_inblock.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple_method_inblock.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_add_1` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_method_inblock.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `with_add_1` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple_method_inblock.rs","byte_start":648,"byte_end":658,"line_start":33,"line_end":33,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `add_1` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/simple_method_inblock.rs","byte_start":648,"byte_end":658,"line_start":33,"line_end":33,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":"add_1","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_add_1` found for struct `Simple` in the current scope\n --> tests/run-pass/simple_method_inblock.rs:33:38\n |\n7 | pub struct Simple {\n | ----------------- method `with_add_1` not found for this struct\n...\n33 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^\n |\nhelp: there is a method `add_1` with a similar name\n |\n33 - assert_eq!(s1, Simple::default().with_add_1());\n33 + assert_eq!(s1, Simple::default().add_1());\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple_all_opts.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple_all_opts.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple_all_opts.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_all_opts.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple_all_opts.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `w_bla` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_all_opts.rs","byte_start":796,"byte_end":801,"line_start":34,"line_end":34,"column_start":38,"column_end":43,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().w_bla());","highlight_start":38,"highlight_end":43}],"label":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple_all_opts.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `w_bla` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no method named `w_bla` found for struct `Simple` in the current scope\n --> tests/run-pass/simple_all_opts.rs:34:38\n |\n7 | pub struct Simple {\n | ----------------- method `w_bla` not found for this struct\n...\n34 | assert_eq!(s1, Simple::default().w_bla());\n | ^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/impl_trait.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/impl_trait.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/impl_trait.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/impl_trait.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/impl_trait.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_appended` found for struct `St` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/impl_trait.rs","byte_start":638,"byte_end":651,"line_start":30,"line_end":30,"column_start":34,"column_end":47,"is_primary":true,"text":[{"text":" assert_eq!(s1, St::default().with_appended(\"foo\"));","highlight_start":34,"highlight_end":47}],"label":"method not found in `St`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/impl_trait.rs","byte_start":168,"byte_end":181,"line_start":8,"line_end":8,"column_start":5,"column_end":18,"is_primary":false,"text":[{"text":" pub struct St {","highlight_start":5,"highlight_end":18}],"label":"method `with_appended` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no method named `with_appended` found for struct `St` in the current scope\n --> tests/run-pass/impl_trait.rs:30:34\n |\n8 | pub struct St {\n | ------------- method `with_appended` not found for this struct\n...\n30 | assert_eq!(s1, St::default().with_appended(\"foo\"));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple_name.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple_name.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple_name.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_name.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple_name.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `ret_with_added_1` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_name.rs","byte_start":688,"byte_end":704,"line_start":33,"line_end":33,"column_start":38,"column_end":54,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().ret_with_added_1());","highlight_start":38,"highlight_end":54}],"label":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple_name.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `ret_with_added_1` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no method named `ret_with_added_1` found for struct `Simple` in the current scope\n --> tests/run-pass/simple_name.rs:33:38\n |\n7 | pub struct Simple {\n | ----------------- method `ret_with_added_1` not found for this struct\n...\n33 | assert_eq!(s1, Simple::default().ret_with_added_1());\n | ^^^^^^^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/mutref_arg.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/mutref_arg.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/mutref_arg.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/mutref_arg.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/mutref_arg.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_appended` found for struct `St` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/mutref_arg.rs","byte_start":736,"byte_end":749,"line_start":33,"line_end":33,"column_start":34,"column_end":47,"is_primary":true,"text":[{"text":" assert_eq!(s1, St::default().with_appended(\"foo\", &mut c2));","highlight_start":34,"highlight_end":47}],"label":"method not found in `St`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/mutref_arg.rs","byte_start":168,"byte_end":181,"line_start":8,"line_end":8,"column_start":5,"column_end":18,"is_primary":false,"text":[{"text":" pub struct St {","highlight_start":5,"highlight_end":18}],"label":"method `with_appended` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no method named `with_appended` found for struct `St` in the current scope\n --> tests/run-pass/mutref_arg.rs:33:34\n |\n8 | pub struct St {\n | ------------- method `with_appended` not found for this struct\n...\n33 | assert_eq!(s1, St::default().with_appended(\"foo\", &mut c2));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple_pub_crate_from_both.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple_pub_crate_from_both.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple_pub_crate_from_both.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_both.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple_pub_crate_from_both.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_add_1` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_both.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `with_add_1` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple_pub_crate_from_both.rs","byte_start":670,"byte_end":680,"line_start":33,"line_end":33,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `add_1` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_both.rs","byte_start":670,"byte_end":680,"line_start":33,"line_end":33,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":"add_1","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_add_1` found for struct `Simple` in the current scope\n --> tests/run-pass/simple_pub_crate_from_both.rs:33:38\n |\n7 | pub struct Simple {\n | ----------------- method `with_add_1` not found for this struct\n...\n33 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^\n |\nhelp: there is a method `add_1` with a similar name\n |\n33 - assert_eq!(s1, Simple::default().with_add_1());\n33 + assert_eq!(s1, Simple::default().add_1());\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/generic_arg.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_arg.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/generic_arg.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_arg.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/generic_arg.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_appended` found for struct `St` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_arg.rs","byte_start":639,"byte_end":652,"line_start":30,"line_end":30,"column_start":34,"column_end":47,"is_primary":true,"text":[{"text":" assert_eq!(s1, St::default().with_appended::<&str>(\"foo\"));","highlight_start":34,"highlight_end":47}],"label":"method not found in `St`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_arg.rs","byte_start":168,"byte_end":181,"line_start":8,"line_end":8,"column_start":5,"column_end":18,"is_primary":false,"text":[{"text":" pub struct St {","highlight_start":5,"highlight_end":18}],"label":"method `with_appended` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no method named `with_appended` found for struct `St` in the current scope\n --> tests/run-pass/generic_arg.rs:30:34\n |\n8 | pub struct St {\n | ------------- method `with_appended` not found for this struct\n...\n30 | assert_eq!(s1, St::default().with_appended::<&str>(\"foo\"));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple_rename.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple_rename.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple_rename.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_rename.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple_rename.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_added_1` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_rename.rs","byte_start":659,"byte_end":671,"line_start":33,"line_end":33,"column_start":38,"column_end":50,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_added_1());","highlight_start":38,"highlight_end":50}],"label":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple_rename.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `with_added_1` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no method named `with_added_1` found for struct `Simple` in the current scope\n --> tests/run-pass/simple_rename.rs:33:38\n |\n7 | pub struct Simple {\n | ----------------- method `with_added_1` not found for this struct\n...\n33 | assert_eq!(s1, Simple::default().with_added_1());\n | ^^^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple_both_inblock.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple_both_inblock.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple_both_inblock.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_both_inblock.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple_both_inblock.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_add_1` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_both_inblock.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `with_add_1` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple_both_inblock.rs","byte_start":657,"byte_end":667,"line_start":33,"line_end":33,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `add_1` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/simple_both_inblock.rs","byte_start":657,"byte_end":667,"line_start":33,"line_end":33,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":"add_1","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_add_1` found for struct `Simple` in the current scope\n --> tests/run-pass/simple_both_inblock.rs:33:38\n |\n7 | pub struct Simple {\n | ----------------- method `with_add_1` not found for this struct\n...\n33 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^\n |\nhelp: there is a method `add_1` with a similar name\n |\n33 - assert_eq!(s1, Simple::default().with_add_1());\n33 + assert_eq!(s1, Simple::default().add_1());\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple_pub_crate_from_macro.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple_pub_crate_from_macro.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple_pub_crate_from_macro.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_macro.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple_pub_crate_from_macro.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_add_1` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_macro.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `with_add_1` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple_pub_crate_from_macro.rs","byte_start":630,"byte_end":640,"line_start":32,"line_end":32,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `add_1` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_macro.rs","byte_start":630,"byte_end":640,"line_start":32,"line_end":32,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":"add_1","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_add_1` found for struct `Simple` in the current scope\n --> tests/run-pass/simple_pub_crate_from_macro.rs:32:38\n |\n7 | pub struct Simple {\n | ----------------- method `with_add_1` not found for this struct\n...\n32 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^\n |\nhelp: there is a method `add_1` with a similar name\n |\n32 - assert_eq!(s1, Simple::default().with_add_1());\n32 + assert_eq!(s1, Simple::default().add_1());\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_add_1` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `with_add_1` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple.rs","byte_start":691,"byte_end":701,"line_start":36,"line_end":36,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `add_1` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/simple.rs","byte_start":691,"byte_end":701,"line_start":36,"line_end":36,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":"add_1","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_add_1` found for struct `Simple` in the current scope\n --> tests/run-pass/simple.rs:36:38\n |\n7 | pub struct Simple {\n | ----------------- method `with_add_1` not found for this struct\n...\n36 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^\n |\nhelp: there is a method `add_1` with a similar name\n |\n36 - assert_eq!(s1, Simple::default().with_add_1());\n36 + assert_eq!(s1, Simple::default().add_1());\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/pattern_fn_arg_generic_type_arg.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/pattern_fn_arg_generic_type_arg.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/pattern_fn_arg_generic_type_arg.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/pattern_fn_arg_generic_type_arg.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/pattern_fn_arg_generic_type_arg.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_appended_text` found for struct `St` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/pattern_fn_arg_generic_type_arg.rs","byte_start":2073,"byte_end":2107,"line_start":73,"line_end":74,"column_start":14,"column_end":10,"is_primary":false,"text":[{"text":" let s2 = St::new(0u32, \"\".into())","highlight_start":14,"highlight_end":38},{"text":" .with_appended_text(\"simple \")","highlight_start":1,"highlight_end":10}],"label":"","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/pattern_fn_arg_generic_type_arg.rs","byte_start":255,"byte_end":282,"line_start":12,"line_end":12,"column_start":5,"column_end":32,"is_primary":false,"text":[{"text":" pub struct St {","highlight_start":5,"highlight_end":32}],"label":"method `with_appended_text` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/pattern_fn_arg_generic_type_arg.rs","byte_start":2107,"byte_end":2125,"line_start":74,"line_end":74,"column_start":10,"column_end":28,"is_primary":true,"text":[{"text":" .with_appended_text(\"simple \")","highlight_start":10,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `append_text` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/pattern_fn_arg_generic_type_arg.rs","byte_start":2107,"byte_end":2125,"line_start":74,"line_end":74,"column_start":10,"column_end":28,"is_primary":true,"text":[{"text":" .with_appended_text(\"simple \")","highlight_start":10,"highlight_end":28}],"label":null,"suggested_replacement":"append_text","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_appended_text` found for struct `St` in the current scope\n --> tests/run-pass/pattern_fn_arg_generic_type_arg.rs:74:10\n |\n12 | pub struct St {\n | --------------------------- method `with_appended_text` not found for this struct\n...\n73 | let s2 = St::new(0u32, \"\".into())\n | ______________-\n74 | | .with_appended_text(\"simple \")\n | |_________-^^^^^^^^^^^^^^^^^^\n |\nhelp: there is a method `append_text` with a similar name\n |\n74 - .with_appended_text(\"simple \")\n74 + .append_text(\"simple \")\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple_empty_attrs.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple_empty_attrs.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple_empty_attrs.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_empty_attrs.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple_empty_attrs.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_add_1` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_empty_attrs.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `with_add_1` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple_empty_attrs.rs","byte_start":643,"byte_end":653,"line_start":33,"line_end":33,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `add_1` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/simple_empty_attrs.rs","byte_start":643,"byte_end":653,"line_start":33,"line_end":33,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":"add_1","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_add_1` found for struct `Simple` in the current scope\n --> tests/run-pass/simple_empty_attrs.rs:33:38\n |\n7 | pub struct Simple {\n | ----------------- method `with_add_1` not found for this struct\n...\n33 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^\n |\nhelp: there is a method `add_1` with a similar name\n |\n33 - assert_eq!(s1, Simple::default().with_add_1());\n33 + assert_eq!(s1, Simple::default().add_1());\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/simple_pub_crate_from_method.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/simple_pub_crate_from_method.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/simple_pub_crate_from_method.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_method.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/simple_pub_crate_from_method.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_add_1` found for struct `Simple` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_method.rs","byte_start":144,"byte_end":161,"line_start":7,"line_end":7,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":" pub struct Simple {","highlight_start":5,"highlight_end":22}],"label":"method `with_add_1` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/simple_pub_crate_from_method.rs","byte_start":658,"byte_end":668,"line_start":33,"line_end":33,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `add_1` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_method.rs","byte_start":658,"byte_end":668,"line_start":33,"line_end":33,"column_start":38,"column_end":48,"is_primary":true,"text":[{"text":" assert_eq!(s1, Simple::default().with_add_1());","highlight_start":38,"highlight_end":48}],"label":null,"suggested_replacement":"add_1","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_add_1` found for struct `Simple` in the current scope\n --> tests/run-pass/simple_pub_crate_from_method.rs:33:38\n |\n7 | pub struct Simple {\n | ----------------- method `with_add_1` not found for this struct\n...\n33 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^\n |\nhelp: there is a method `add_1` with a similar name\n |\n33 - assert_eq!(s1, Simple::default().with_add_1());\n33 + assert_eq!(s1, Simple::default().add_1());\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/trait_bound.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/trait_bound.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/trait_bound.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/trait_bound.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/trait_bound.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_appended` found for struct `St` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/trait_bound.rs","byte_start":639,"byte_end":652,"line_start":30,"line_end":30,"column_start":34,"column_end":47,"is_primary":true,"text":[{"text":" assert_eq!(s1, St::default().with_appended(\"foo\"));","highlight_start":34,"highlight_end":47}],"label":"method not found in `St`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/trait_bound.rs","byte_start":168,"byte_end":181,"line_start":8,"line_end":8,"column_start":5,"column_end":18,"is_primary":false,"text":[{"text":" pub struct St {","highlight_start":5,"highlight_end":18}],"label":"method `with_appended` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no method named `with_appended` found for struct `St` in the current scope\n --> tests/run-pass/trait_bound.rs:30:34\n |\n8 | pub struct St {\n | ------------- method `with_appended` not found for this struct\n...\n30 | assert_eq!(s1, St::default().with_appended(\"foo\"));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/pattern_args.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/pattern_args.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/pattern_args.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/pattern_args.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/pattern_args.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_appended` found for struct `St` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/pattern_args.rs","byte_start":1693,"byte_end":1706,"line_start":62,"line_end":62,"column_start":33,"column_end":46,"is_primary":true,"text":[{"text":" assert_eq!(s, St::default().with_appended(\"foo\", &mut c2));","highlight_start":33,"highlight_end":46}],"label":"method not found in `St`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/pattern_args.rs","byte_start":338,"byte_end":351,"line_start":16,"line_end":16,"column_start":5,"column_end":18,"is_primary":false,"text":[{"text":" pub struct St {","highlight_start":5,"highlight_end":18}],"label":"method `with_appended` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no method named `with_appended` found for struct `St` in the current scope\n --> tests/run-pass/pattern_args.rs:62:33\n |\n16 | pub struct St {\n | ------------- method `with_appended` not found for this struct\n...\n62 | assert_eq!(s, St::default().with_appended(\"foo\", &mut c2));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_appended_tc` found for struct `St` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/pattern_args.rs","byte_start":338,"byte_end":351,"line_start":16,"line_end":16,"column_start":5,"column_end":18,"is_primary":false,"text":[{"text":" pub struct St {","highlight_start":5,"highlight_end":18}],"label":"method `with_appended_tc` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/pattern_args.rs","byte_start":1900,"byte_end":1916,"line_start":68,"line_end":68,"column_start":36,"column_end":52,"is_primary":true,"text":[{"text":" assert_eq!(s_tc, St::default().with_appended_tc(\"foo\", &mut tc2));","highlight_start":36,"highlight_end":52}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `append_tc` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/pattern_args.rs","byte_start":1900,"byte_end":1916,"line_start":68,"line_end":68,"column_start":36,"column_end":52,"is_primary":true,"text":[{"text":" assert_eq!(s_tc, St::default().with_appended_tc(\"foo\", &mut tc2));","highlight_start":36,"highlight_end":52}],"label":null,"suggested_replacement":"append_tc","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_appended_tc` found for struct `St` in the current scope\n --> tests/run-pass/pattern_args.rs:68:36\n |\n16 | pub struct St {\n | ------------- method `with_appended_tc` not found for this struct\n...\n68 | assert_eq!(s_tc, St::default().with_appended_tc(\"foo\", &mut tc2));\n | ^^^^^^^^^^^^^^^^\n |\nhelp: there is a method `append_tc` with a similar name\n |\n68 - assert_eq!(s_tc, St::default().with_appended_tc(\"foo\", &mut tc2));\n68 + assert_eq!(s_tc, St::default().append_tc(\"foo\", &mut tc2));\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_appended_sc` found for struct `St` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/pattern_args.rs","byte_start":338,"byte_end":351,"line_start":16,"line_end":16,"column_start":5,"column_end":18,"is_primary":false,"text":[{"text":" pub struct St {","highlight_start":5,"highlight_end":18}],"label":"method `with_appended_sc` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/pattern_args.rs","byte_start":2135,"byte_end":2151,"line_start":74,"line_end":74,"column_start":36,"column_end":52,"is_primary":true,"text":[{"text":" assert_eq!(s_sc, St::default().with_appended_sc(\"foo\", &mut sc2));","highlight_start":36,"highlight_end":52}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"there is a method `append_sc` with a similar name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/pattern_args.rs","byte_start":2135,"byte_end":2151,"line_start":74,"line_end":74,"column_start":36,"column_end":52,"is_primary":true,"text":[{"text":" assert_eq!(s_sc, St::default().with_appended_sc(\"foo\", &mut sc2));","highlight_start":36,"highlight_end":52}],"label":null,"suggested_replacement":"append_sc","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `with_appended_sc` found for struct `St` in the current scope\n --> tests/run-pass/pattern_args.rs:74:36\n |\n16 | pub struct St {\n | ------------- method `with_appended_sc` not found for this struct\n...\n74 | assert_eq!(s_sc, St::default().with_appended_sc(\"foo\", &mut sc2));\n | ^^^^^^^^^^^^^^^^\n |\nhelp: there is a method `append_sc` with a similar name\n |\n74 - assert_eq!(s_sc, St::default().with_appended_sc(\"foo\", &mut sc2));\n74 + assert_eq!(s_sc, St::default().append_sc(\"foo\", &mut sc2));\n |\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: compilation failed! [INFO] [stdout] status: exit status: 1 [INFO] [stdout] command: "rustc" "tests/run-pass/where_clause.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-musl" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/where_clause.stage-id" "-L" "target/debug" "-L" "target/debug/deps" "-L" "/tmp/where_clause.stage-id.aux" [INFO] [stdout] stdout: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] stderr: [INFO] [stdout] ------------------------------------------ [INFO] [stdout] {"$message_type":"diagnostic","message":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\nextern crate foo; // error: can't find crate\n```\n\nYou need to link your code to the relevant crate in order to be able to use it\n(through Cargo or the `-L` option of rustc, for example).\n\n## Common causes\n\n- The crate is not present at all. If using Cargo, add it to `[dependencies]`\n in Cargo.toml.\n- The crate is present, but under a different name. If using Cargo, look for\n `package = ` under `[dependencies]` in Cargo.toml.\n\n## Common causes for missing `std` or `core`\n\n- You are cross-compiling for a target which doesn't have `std` prepackaged.\n Consider one of the following:\n + Adding a pre-compiled version of std with `rustup target add`\n + Building std from source with `cargo build -Z build-std`\n + Using `#![no_std]` at the crate root, so you won't need `std` in the first\n place.\n- You are developing the compiler itself and haven't built libstd from source.\n You can usually build it with `x.py build library/std`. More information\n about x.py is available in the [rustc-dev-guide].\n\n[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#building-the-compiler\n"},"level":"error","spans":[{"file_name":"tests/run-pass/where_clause.rs","byte_start":0,"byte_end":25,"line_start":1,"line_end":1,"column_start":1,"column_end":26,"is_primary":true,"text":[{"text":"extern crate fluent_impl;","highlight_start":1,"highlight_end":26}],"label":"can't find crate","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0463]: can't find crate for `fluent_impl`\n --> tests/run-pass/where_clause.rs:1:1\n |\n1 | extern crate fluent_impl;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `with_appended` found for struct `St` in the current scope","code":{"code":"E0599","explanation":"This error occurs when a method is used on a type which doesn't implement it:\n\nErroneous code example:\n\n```compile_fail,E0599\nstruct Mouth;\n\nlet x = Mouth;\nx.chocolate(); // error: no method named `chocolate` found for type `Mouth`\n // in the current scope\n```\n\nIn this case, you need to implement the `chocolate` method to fix the error:\n\n```\nstruct Mouth;\n\nimpl Mouth {\n fn chocolate(&self) { // We implement the `chocolate` method here.\n println!(\"Hmmm! I love chocolate!\");\n }\n}\n\nlet x = Mouth;\nx.chocolate(); // ok!\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/where_clause.rs","byte_start":676,"byte_end":689,"line_start":33,"line_end":33,"column_start":34,"column_end":47,"is_primary":true,"text":[{"text":" assert_eq!(s1, St::default().with_appended(\"foo\"));","highlight_start":34,"highlight_end":47}],"label":"method not found in `St`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/where_clause.rs","byte_start":168,"byte_end":181,"line_start":8,"line_end":8,"column_start":5,"column_end":18,"is_primary":false,"text":[{"text":" pub struct St {","highlight_start":5,"highlight_end":18}],"label":"method `with_appended` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no method named `with_appended` found for struct `St` in the current scope\n --> tests/run-pass/where_clause.rs:33:34\n |\n8 | pub struct St {\n | ------------- method `with_appended` not found for this struct\n...\n33 | assert_eq!(s1, St::default().with_appended(\"foo\"));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 2 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors\n\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0463, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0463, E0599.\n"} [INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0463`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0463`.\n"} [INFO] [stdout] [INFO] [stdout] ------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'compile_test_run_pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.3.26/src/lib.rs:101:22: [INFO] [stdout] Some tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x79979d7f1e32 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x79979d7f1e32 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x79979d7f1e32 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x79979d7f1e32 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x79979d82fea3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x79979d82fea3 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x79979d7ee613 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x79979d7ee613 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x79979d7f1c82 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x79979d7f3f8c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x79979d7f3de2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x79979d2e0054 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x79979d2e0054 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x79979d7f49f3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x79979d7f49f3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x79979d7f47fc - std::panicking::begin_panic::{{closure}}::h3ce7fe5f3d6361b4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:770:9 [INFO] [stdout] 16: 0x79979d7f2329 - std::sys::backtrace::__rust_end_short_backtrace::h0bc33d2a8e0bcf29 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x79979d2a53a0 - std::panicking::begin_panic::h7531254884c52765 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:769:5 [INFO] [stdout] 18: 0x79979d2eeb32 - compiletest_rs::run_tests::h0d31f685112623e2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/compiletest_rs-0.3.26/src/lib.rs:101:22 [INFO] [stdout] 19: 0x79979d2a7d2e - compiletest::run_mode::h22921c312c724766 [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:17:5 [INFO] [stdout] 20: 0x79979d2a7da2 - compiletest::compile_test_run_pass::h3c41d209d1f5cd74 [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:22:5 [INFO] [stdout] 21: 0x79979d2a7d77 - compiletest::compile_test_run_pass::{{closure}}::h58d7e0b7d564370c [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:21:27 [INFO] [stdout] 22: 0x79979d2a7706 - core::ops::function::FnOnce::call_once::ha42b984fdb54efb8 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x79979d2e574b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x79979d2e574b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 25: 0x79979d2e49be - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 26: 0x79979d2e49be - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x79979d2e49be - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x79979d2e49be - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x79979d2e49be - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x79979d2e49be - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 31: 0x79979d2e49be - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 32: 0x79979d2a9844 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 33: 0x79979d2a9844 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x79979d2ad03a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x79979d2ad03a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x79979d2ad03a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x79979d2ad03a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x79979d2ad03a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x79979d2ad03a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x79979d2ad03a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x79979d7f7527 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 42: 0x79979d7f7527 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x79979d7f7527 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compile_test_run_pass [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.69s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test compiletest` [INFO] running `Command { std: "docker" "inspect" "64b5e3acf46bb4d5be4299b15e9bc0ce981de620770769e8214029c5f2faf0ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64b5e3acf46bb4d5be4299b15e9bc0ce981de620770769e8214029c5f2faf0ed", kill_on_drop: false }` [INFO] [stdout] 64b5e3acf46bb4d5be4299b15e9bc0ce981de620770769e8214029c5f2faf0ed