[INFO] fetching crate fluent-impl 0.2.0... [INFO] testing fluent-impl-0.2.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate fluent-impl 0.2.0 into /workspace/builds/worker-110/source [INFO] validating manifest of crates.io crate fluent-impl 0.2.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-110/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fdb456fc9fa0686f816292ed962047d9467f4f9b852865c95baeb904cfcb8f9 [INFO] running `Command { std: "docker" "start" "-a" "6fdb456fc9fa0686f816292ed962047d9467f4f9b852865c95baeb904cfcb8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fdb456fc9fa0686f816292ed962047d9467f4f9b852865c95baeb904cfcb8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fdb456fc9fa0686f816292ed962047d9467f4f9b852865c95baeb904cfcb8f9", kill_on_drop: false }` [INFO] [stdout] 6fdb456fc9fa0686f816292ed962047d9467f4f9b852865c95baeb904cfcb8f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06ac05e15e917b740db117681085ac163bff8e3482f0c8df721fc93aab5aa25d [INFO] running `Command { std: "docker" "start" "-a" "06ac05e15e917b740db117681085ac163bff8e3482f0c8df721fc93aab5aa25d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [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 [unoptimized + debuginfo] target(s) in 13.18s [INFO] running `Command { std: "docker" "inspect" "06ac05e15e917b740db117681085ac163bff8e3482f0c8df721fc93aab5aa25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ac05e15e917b740db117681085ac163bff8e3482f0c8df721fc93aab5aa25d", kill_on_drop: false }` [INFO] [stdout] 06ac05e15e917b740db117681085ac163bff8e3482f0c8df721fc93aab5aa25d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0895cc522848086d5334a0dc96fd9946c8ffbe8191a163b93bfcba738d90a1a [INFO] running `Command { std: "docker" "start" "-a" "a0895cc522848086d5334a0dc96fd9946c8ffbe8191a163b93bfcba738d90a1a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling compiletest_rs v0.3.26 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling tester v0.6.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling rustfix v0.4.6 [INFO] [stderr] Compiling fluent-impl v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 41.80s [INFO] running `Command { std: "docker" "inspect" "a0895cc522848086d5334a0dc96fd9946c8ffbe8191a163b93bfcba738d90a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0895cc522848086d5334a0dc96fd9946c8ffbe8191a163b93bfcba738d90a1a", kill_on_drop: false }` [INFO] [stdout] a0895cc522848086d5334a0dc96fd9946c8ffbe8191a163b93bfcba738d90a1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab6371c6b192c86ef24da0a267a0b0a95d211d32658685fea72ef2132aadd081 [INFO] running `Command { std: "docker" "start" "-a" "ab6371c6b192c86ef24da0a267a0b0a95d211d32658685fea72ef2132aadd081", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fluent_impl-abe20f8f4ead43ee) [INFO] [stdout] [INFO] [stderr] Running tests/compiletest.rs (/opt/rustwide/target/debug/deps/compiletest-efa37214124f5561) [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] [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/pattern_fn_arg_generic_type_arg.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_method_inblock.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_name.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_all_opts.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/trait_bound.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/simple_macro_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_empty_attrs.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_pub_crate_from_both.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/impl_trait.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/where_clause.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/pattern_args.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_method.rs ... FAILED [INFO] [stdout] test [run-pass] run-pass/mutref_arg.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/pattern_fn_arg_generic_type_arg.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/pattern_fn_arg_generic_type_arg.rs","byte_start":338,"byte_end":349,"line_start":17,"line_end":17,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/pattern_fn_arg_generic_type_arg.rs:17:7\n |\n17 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/pattern_fn_arg_generic_type_arg.rs","byte_start":794,"byte_end":810,"line_start":35,"line_end":35,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"added_value\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/pattern_fn_arg_generic_type_arg.rs:35:11\n |\n35 | #[fluent_impl_opts(rename = \"added_value\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/pattern_fn_arg_generic_type_arg.rs","byte_start":1121,"byte_end":1137,"line_start":46,"line_end":46,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"appended_text\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/pattern_fn_arg_generic_type_arg.rs:46:11\n |\n46 | #[fluent_impl_opts(rename = \"appended_text\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/pattern_fn_arg_generic_type_arg.rs","byte_start":1334,"byte_end":1350,"line_start":52,"line_end":52,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"appended_text_impl_trait\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/pattern_fn_arg_generic_type_arg.rs:52:11\n |\n52 | #[fluent_impl_opts(rename = \"appended_text_impl_trait\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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":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","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":"method not found in `St`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n74 | .with_appended_text(\"simple \")\n | ^^^^^^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"message":"aborting due to 6 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 6 previous errors\n\n"} [INFO] [stdout] {"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_method_inblock.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple_method_inblock.rs:11:7\n |\n11 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_method_inblock.rs","byte_start":383,"byte_end":399,"line_start":21,"line_end":21,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(inblock)]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/simple_method_inblock.rs:21:11\n |\n21 | #[fluent_impl_opts(inblock)]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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","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":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n33 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_name.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl(prefix = \"whatever_\")]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple_name.rs:11:7\n |\n11 | #[fluent_impl(prefix = \"whatever_\")]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_name.rs","byte_start":405,"byte_end":421,"line_start":21,"line_end":21,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(name = \"ret_with_added_1\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/simple_name.rs:21:11\n |\n21 | #[fluent_impl_opts(name = \"ret_with_added_1\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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":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","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"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}],"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\n...\n33 | assert_eq!(s1, Simple::default().ret_with_added_1());\n | ^^^^^^^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_all_opts.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl(inblock, non_public, prefix = \"w_\", doc = \"\", impl_doc = \"\")]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple_all_opts.rs:11:7\n |\n11 | #[fluent_impl(inblock, non_public, prefix = \"w_\", doc = \"\", impl_doc = \"\")]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_all_opts.rs","byte_start":478,"byte_end":494,"line_start":22,"line_end":22,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(inblock, non_public, prefix = \"w_\", doc = \"\", rename = \"bla\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/simple_all_opts.rs:22:11\n |\n22 | #[fluent_impl_opts(inblock, non_public, prefix = \"w_\", doc = \"\", rename = \"bla\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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":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","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"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}],"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\n...\n34 | assert_eq!(s1, Simple::default().w_bla());\n | ^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple.rs:11:7\n |\n11 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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","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":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n36 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/trait_bound.rs","byte_start":219,"byte_end":230,"line_start":12,"line_end":12,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/trait_bound.rs:12:7\n |\n12 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/trait_bound.rs","byte_start":331,"byte_end":347,"line_start":18,"line_end":18,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"appended\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/trait_bound.rs:18:11\n |\n18 | #[fluent_impl_opts(rename = \"appended\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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":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","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"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}],"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\n...\n30 | assert_eq!(s1, St::default().with_appended(\"foo\"));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"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":"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":"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_macro_inblock.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_macro_inblock.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl(inblock)]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple_macro_inblock.rs:11:7\n |\n11 | #[fluent_impl(inblock)]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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","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":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n32 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_macro.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl(non_public)]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple_pub_crate_from_macro.rs:11:7\n |\n11 | #[fluent_impl(non_public)]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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","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":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n32 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 3 previous errors\n\n"} [INFO] [stdout] {"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_empty_attrs.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl()]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple_empty_attrs.rs:11:7\n |\n11 | #[fluent_impl()]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_empty_attrs.rs","byte_start":385,"byte_end":401,"line_start":21,"line_end":21,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts()]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/simple_empty_attrs.rs:21:11\n |\n21 | #[fluent_impl_opts()]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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","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":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n33 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_arg.rs","byte_start":219,"byte_end":230,"line_start":12,"line_end":12,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/generic_arg.rs:12:7\n |\n12 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_arg.rs","byte_start":331,"byte_end":347,"line_start":18,"line_end":18,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"appended\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/generic_arg.rs:18:11\n |\n18 | #[fluent_impl_opts(rename = \"appended\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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":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","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"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}],"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\n...\n30 | assert_eq!(s1, St::default().with_appended::<&str>(\"foo\"));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/impl_trait.rs","byte_start":219,"byte_end":230,"line_start":12,"line_end":12,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/impl_trait.rs:12:7\n |\n12 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/impl_trait.rs","byte_start":331,"byte_end":347,"line_start":18,"line_end":18,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"appended\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/impl_trait.rs:18:11\n |\n18 | #[fluent_impl_opts(rename = \"appended\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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":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","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"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}],"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\n...\n30 | assert_eq!(s1, St::default().with_appended(\"foo\"));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_rename.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple_rename.rs:11:7\n |\n11 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_rename.rs","byte_start":383,"byte_end":399,"line_start":21,"line_end":21,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"added_1\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/simple_rename.rs:21:11\n |\n21 | #[fluent_impl_opts(rename = \"added_1\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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":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","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"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}],"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\n...\n33 | assert_eq!(s1, Simple::default().with_added_1());\n | ^^^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_both.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl(non_public)]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple_pub_crate_from_both.rs:11:7\n |\n11 | #[fluent_impl(non_public)]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_both.rs","byte_start":395,"byte_end":411,"line_start":21,"line_end":21,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(non_public)]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/simple_pub_crate_from_both.rs:21:11\n |\n21 | #[fluent_impl_opts(non_public)]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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","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":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n33 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/where_clause.rs","byte_start":219,"byte_end":230,"line_start":12,"line_end":12,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/where_clause.rs:12:7\n |\n12 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/where_clause.rs","byte_start":331,"byte_end":347,"line_start":18,"line_end":18,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"appended\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/where_clause.rs:18:11\n |\n18 | #[fluent_impl_opts(rename = \"appended\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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":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","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"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}],"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\n...\n33 | assert_eq!(s1, St::default().with_appended(\"foo\"));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/pattern_args.rs","byte_start":389,"byte_end":400,"line_start":20,"line_end":20,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/pattern_args.rs:20:7\n |\n20 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/pattern_args.rs","byte_start":582,"byte_end":598,"line_start":29,"line_end":29,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"appended\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/pattern_args.rs:29:11\n |\n29 | #[fluent_impl_opts(rename = \"appended\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/pattern_args.rs","byte_start":788,"byte_end":804,"line_start":35,"line_end":35,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"appended_tc\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/pattern_args.rs:35:11\n |\n35 | #[fluent_impl_opts(rename = \"appended_tc\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/pattern_args.rs","byte_start":1013,"byte_end":1029,"line_start":41,"line_end":41,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"appended_sc\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/pattern_args.rs:41:11\n |\n41 | #[fluent_impl_opts(rename = \"appended_sc\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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":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","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"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}],"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\n...\n62 | assert_eq!(s, St::default().with_appended(\"foo\", &mut c2));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"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","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":"method not found in `St`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n68 | assert_eq!(s_tc, St::default().with_appended_tc(\"foo\", &mut tc2));\n | ^^^^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"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","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":"method not found in `St`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n74 | assert_eq!(s_sc, St::default().with_appended_sc(\"foo\", &mut sc2));\n | ^^^^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"message":"aborting due to 8 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 8 previous errors\n\n"} [INFO] [stdout] {"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_both_inblock.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl(inblock)]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple_both_inblock.rs:11:7\n |\n11 | #[fluent_impl(inblock)]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_both_inblock.rs","byte_start":392,"byte_end":408,"line_start":21,"line_end":21,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(inblock)]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/simple_both_inblock.rs:21:11\n |\n21 | #[fluent_impl_opts(inblock)]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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","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":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n33 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_method.rs","byte_start":195,"byte_end":206,"line_start":11,"line_end":11,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/simple_pub_crate_from_method.rs:11:7\n |\n11 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/simple_pub_crate_from_method.rs","byte_start":383,"byte_end":399,"line_start":21,"line_end":21,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(non_public)]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/simple_pub_crate_from_method.rs:21:11\n |\n21 | #[fluent_impl_opts(non_public)]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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","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":"method not found in `Simple`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"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\n...\n33 | assert_eq!(s1, Simple::default().with_add_1());\n | ^^^^^^^^^^ method not found in `Simple`\n\n"} [INFO] [stdout] {"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":"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":"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-gnu" "--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":"can't find crate for `fluent_impl`","code":{"code":"E0463","explanation":"A plugin/crate was declared but cannot be found.\n\nErroneous code example:\n\n```compile_fail,E0463\n#![feature(plugin)]\n#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`\nextern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`\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 example). Plugins are crates as\nwell, and you link to them the same way.\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":"cannot find attribute `fluent_impl` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/mutref_arg.rs","byte_start":219,"byte_end":230,"line_start":12,"line_end":12,"column_start":7,"column_end":18,"is_primary":true,"text":[{"text":" #[fluent_impl]","highlight_start":7,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl` in this scope\n --> tests/run-pass/mutref_arg.rs:12:7\n |\n12 | #[fluent_impl]\n | ^^^^^^^^^^^\n\n"} [INFO] [stdout] {"message":"cannot find attribute `fluent_impl_opts` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/mutref_arg.rs","byte_start":331,"byte_end":347,"line_start":18,"line_end":18,"column_start":11,"column_end":27,"is_primary":true,"text":[{"text":" #[fluent_impl_opts(rename = \"appended\")]","highlight_start":11,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `fluent_impl_opts` in this scope\n --> tests/run-pass/mutref_arg.rs:18:11\n |\n18 | #[fluent_impl_opts(rename = \"appended\")]\n | ^^^^^^^^^^^^^^^^\n\n"} [INFO] [stdout] {"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":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","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"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}],"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\n...\n33 | assert_eq!(s1, St::default().with_appended(\"foo\", &mut c2));\n | ^^^^^^^^^^^^^ method not found in `St`\n\n"} [INFO] [stdout] {"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":"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":"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] thread 'compile_test_run_pass' panicked at 'Some tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.3.26/src/lib.rs:101:22 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557d59767a7c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x557d59767a7c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557d59767a7c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x557d59767a7c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x557d5978f3bc - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x557d59762678 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x557d5976a3b7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x557d5976a3b7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x557d5976a3b7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x557d5976a0eb - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x557d5976ab0a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x557d595f3b38 - std::panicking::begin_panic::{{closure}}::h8ff6271ce201bcac [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:617:9 [INFO] [stdout] 12: 0x557d595ec4f9 - std::sys_common::backtrace::__rust_end_short_backtrace::h7201f55698818ace [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x557d595f3ab3 - std::panicking::begin_panic::hd7419f36874ae49a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:616:12 [INFO] [stdout] 14: 0x557d592f4a39 - compiletest_rs::run_tests::h367fc4805765f523 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.3.26/src/lib.rs:101:22 [INFO] [stdout] 15: 0x557d592b9869 - compiletest::run_mode::h544cdc51ed52d989 [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:17:5 [INFO] [stdout] 16: 0x557d592b98c2 - compiletest::compile_test_run_pass::h6873d18b4d355d4d [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:22:5 [INFO] [stdout] 17: 0x557d592b989a - compiletest::compile_test_run_pass::{{closure}}::h4d237bd089026d58 [INFO] [stdout] at /opt/rustwide/workdir/tests/compiletest.rs:21:1 [INFO] [stdout] 18: 0x557d592b931e - core::ops::function::FnOnce::call_once::h1b15accb9b2525a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x557d592e51e3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x557d592e51e3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 21: 0x557d592e3f11 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 22: 0x557d592e3f11 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x557d592e3f11 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x557d592e3f11 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x557d592e3f11 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x557d592e3f11 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 27: 0x557d592e3f11 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 28: 0x557d592ed7f1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 29: 0x557d592ed7f1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 30: 0x557d592b9f4f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 31: 0x557d592b9f4f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x557d592b9f4f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 33: 0x557d592b9f4f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 34: 0x557d592b9f4f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 35: 0x557d592b9f4f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 36: 0x557d592b9f4f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x557d59771cc3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 38: 0x557d59771cc3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x557d59771cc3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7fe098b30609 - start_thread [INFO] [stdout] 41: 0x7fe098902293 - clone [INFO] [stdout] 42: 0x0 - [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.36s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test compiletest' [INFO] running `Command { std: "docker" "inspect" "ab6371c6b192c86ef24da0a267a0b0a95d211d32658685fea72ef2132aadd081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab6371c6b192c86ef24da0a267a0b0a95d211d32658685fea72ef2132aadd081", kill_on_drop: false }` [INFO] [stdout] ab6371c6b192c86ef24da0a267a0b0a95d211d32658685fea72ef2132aadd081