[INFO] fetching crate ambassador 0.3.6...
[INFO] testing ambassador-0.3.6 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate ambassador 0.3.6 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate ambassador 0.3.6 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ambassador 0.3.6
[INFO] finished tweaking crates.io crate ambassador 0.3.6
[INFO] tweaked toml for crates.io crate ambassador 0.3.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 59 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding compiletest_rs v0.8.0 (latest: v0.10.2)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr]       Adding miow v0.3.7 (latest: v0.6.0)
[INFO] [stderr]       Adding redox_syscall v0.4.1 (latest: v0.5.1)
[INFO] [stderr]       Adding rustfix v0.6.1 (latest: v0.8.2)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustversion v1.0.17
[INFO] [stderr]   Downloaded rustfix v0.6.1
[INFO] [stderr]   Downloaded tester v0.9.1
[INFO] [stderr]   Downloaded compiletest_rs v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a7cb9a98dc8b8acc54d10910acd5b7a7adc57c0b43043e3eabaed20e2b9daf5
[INFO] running `Command { std: "docker" "start" "-a" "2a7cb9a98dc8b8acc54d10910acd5b7a7adc57c0b43043e3eabaed20e2b9daf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a7cb9a98dc8b8acc54d10910acd5b7a7adc57c0b43043e3eabaed20e2b9daf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a7cb9a98dc8b8acc54d10910acd5b7a7adc57c0b43043e3eabaed20e2b9daf5", kill_on_drop: false }`
[INFO] [stdout] 2a7cb9a98dc8b8acc54d10910acd5b7a7adc57c0b43043e3eabaed20e2b9daf5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5530c575d1b20fb293f77bbff5adc49553043d5b59c9ab4e12d826452045382b
[INFO] running `Command { std: "docker" "start" "-a" "5530c575d1b20fb293f77bbff5adc49553043d5b59c9ab4e12d826452045382b", kill_on_drop: false }`
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ambassador v0.3.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.38s
[INFO] running `Command { std: "docker" "inspect" "5530c575d1b20fb293f77bbff5adc49553043d5b59c9ab4e12d826452045382b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5530c575d1b20fb293f77bbff5adc49553043d5b59c9ab4e12d826452045382b", kill_on_drop: false }`
[INFO] [stdout] 5530c575d1b20fb293f77bbff5adc49553043d5b59c9ab4e12d826452045382b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99b3afd6d6314da5a0147b26a6984c96729a93d5658589e372620dc6427b30e2
[INFO] running `Command { std: "docker" "start" "-a" "99b3afd6d6314da5a0147b26a6984c96729a93d5658589e372620dc6427b30e2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling unicode-width v0.1.12
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling compiletest_rs v0.8.0
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling tester v0.9.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling ambassador v0.3.6 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling rustfix v0.6.1
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 14.25s
[INFO] running `Command { std: "docker" "inspect" "99b3afd6d6314da5a0147b26a6984c96729a93d5658589e372620dc6427b30e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99b3afd6d6314da5a0147b26a6984c96729a93d5658589e372620dc6427b30e2", kill_on_drop: false }`
[INFO] [stdout] 99b3afd6d6314da5a0147b26a6984c96729a93d5658589e372620dc6427b30e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f5410b6fe9637f28680f3c145f1b22f349bc2c53f266f54d6b5f937ee3177a73
[INFO] running `Command { std: "docker" "start" "-a" "f5410b6fe9637f28680f3c145f1b22f349bc2c53f266f54d6b5f937ee3177a73", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ambassador-f7fd1d64901d1688)
[INFO] [stderr]      Running tests/compiletest.rs (/opt/rustwide/target/debug/deps/compiletest-6cd2ccd97bd3c712)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] 
[INFO] [stdout] running 43 tests
[INFO] [stdout] test [run-pass] run-pass/auto_where_clause.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/backwards_compatible.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/associated_types.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/async.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/delegate_to_method.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/delegate_self_fail.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/delegatable_trait.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/delegate_to_method_where.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_methods.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_method_g_and_at.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_remote.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_self.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/enum_associated_types.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/enum_associated_constant.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/extra_args_in_delegate_attr.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/delegate_to_missing_method.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_methods_dyn_works.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_methods_in_trait_impl.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/generic_trait_bad_where.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/missing_delegate_attribute.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/extra_items_in_remote_methods_impl.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_remote_methods_on_remote_type.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/derive_and_trait_in_modules.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/muti_field_struct.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/derive_in_module.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_remote_methods.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_trait_remote_display.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/taxonomy_fail.rs ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     [compile-fail] compile-fail/delegatable_trait.rs
[INFO] [stdout]     [compile-fail] compile-fail/delegate_self_fail.rs
[INFO] [stdout]     [compile-fail] compile-fail/delegate_to_method.rs
[INFO] [stdout]     [compile-fail] compile-fail/delegate_to_method_where.rs
[INFO] [stdout]     [compile-fail] compile-fail/delegate_to_missing_method.rs
[INFO] [stdout]     [compile-fail] compile-fail/enum_associated_constant.rs
[INFO] [stdout]     [compile-fail] compile-fail/enum_associated_types.rs
[INFO] [stdout]     [compile-fail] compile-fail/extra_args_in_delegate_attr.rs
[INFO] [stdout]     [compile-fail] compile-fail/extra_items_in_remote_methods_impl.rs
[INFO] [stdout]     [compile-fail] compile-fail/generic_trait_bad_where.rs
[INFO] [stdout]     [compile-fail] compile-fail/missing_delegate_attribute.rs
[INFO] [stdout]     [compile-fail] compile-fail/muti_field_struct.rs
[INFO] [stdout]     [compile-fail] compile-fail/taxonomy_fail.rs
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.97s
[INFO] [stdout] 
[INFO] [stdout] test compile_fail ... FAILED
[INFO] [stdout] test [run-pass] run-pass/enum_associated_constant.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/double_generics.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/enum_associated_types.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_enum.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_method.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/gat.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_struct.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_trait_complex.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_trait_lifetime.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_trait_any.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/inhibit_where_clause.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_trait_single_type.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_tuple_struct.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/method_mut_ref_self.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/method_ref_self.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/method_self.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/method_single_arg.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/single_trait_single_method.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/struct_field_target.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/muti-feature.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/single_variant.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/taxonomy.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/struct_single_field.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/tuple_struct_single_field.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/where_clause.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/tuple_struct_target.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/where_clause_split.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/two_enums.rs ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     [run-pass] run-pass/associated_types.rs
[INFO] [stdout]     [run-pass] run-pass/async.rs
[INFO] [stdout]     [run-pass] run-pass/auto_where_clause.rs
[INFO] [stdout]     [run-pass] run-pass/backwards_compatible.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_remote.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_self.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_method_g_and_at.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_methods.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_methods_dyn_works.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_methods_in_trait_impl.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_remote_methods.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_remote_methods_on_remote_type.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_trait_remote_display.rs
[INFO] [stdout]     [run-pass] run-pass/derive_and_trait_in_modules.rs
[INFO] [stdout]     [run-pass] run-pass/derive_in_module.rs
[INFO] [stdout]     [run-pass] run-pass/double_generics.rs
[INFO] [stdout]     [run-pass] run-pass/enum_associated_constant.rs
[INFO] [stdout]     [run-pass] run-pass/enum_associated_types.rs
[INFO] [stdout]     [run-pass] run-pass/gat.rs
[INFO] [stdout]     [run-pass] run-pass/generic_enum.rs
[INFO] [stdout]     [run-pass] run-pass/generic_method.rs
[INFO] [stdout]     [run-pass] run-pass/generic_struct.rs
[INFO] [stdout]     [run-pass] run-pass/generic_trait_any.rs
[INFO] [stdout]     [run-pass] run-pass/generic_trait_complex.rs
[INFO] [stdout]     [run-pass] run-pass/generic_trait_lifetime.rs
[INFO] [stdout]     [run-pass] run-pass/generic_trait_single_type.rs
[INFO] [stdout]     [run-pass] run-pass/generic_tuple_struct.rs
[INFO] [stdout]     [run-pass] run-pass/inhibit_where_clause.rs
[INFO] [stdout]     [run-pass] run-pass/method_mut_ref_self.rs
[INFO] [stdout]     [run-pass] run-pass/method_ref_self.rs
[INFO] [stdout]     [run-pass] run-pass/method_self.rs
[INFO] [stdout]     [run-pass] run-pass/method_single_arg.rs
[INFO] [stdout]     [run-pass] run-pass/muti-feature.rs
[INFO] [stdout]     [run-pass] run-pass/single_trait_single_method.rs
[INFO] [stdout]     [run-pass] run-pass/single_variant.rs
[INFO] [stdout]     [run-pass] run-pass/struct_field_target.rs
[INFO] [stdout]     [run-pass] run-pass/struct_single_field.rs
[INFO] [stdout]     [run-pass] run-pass/taxonomy.rs
[INFO] [stdout]     [run-pass] run-pass/tuple_struct_single_field.rs
[INFO] [stdout]     [run-pass] run-pass/tuple_struct_target.rs
[INFO] [stdout]     [run-pass] run-pass/two_enums.rs
[INFO] [stdout]     [run-pass] run-pass/where_clause.rs
[INFO] [stdout]     [run-pass] run-pass/where_clause_split.rs
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 43 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.08s
[INFO] [stdout] 
[INFO] [stdout] test run_pass ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- compile_fail stdout ----
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:25: unexpected error: '25:3: 25:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:27: unexpected error: '27:3: 27:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:29: unexpected error: '29:3: 29:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:31: unexpected error: '31:3: 31:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:25: expected error not found: target methods have different return types
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:27: expected error not found: method needs to have a receiver of type "self"
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:29: expected error not found: Note: method used in #[delegate] attribute
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:31: expected error not found: no targets were specified
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:37: expected error not found: Note: other return type defined here
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:42: expected error not found: Note: first return type defined here
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:51: expected message not found: method must have a receiver
[INFO] [stdout] 
[INFO] [stdout] error: 5 unexpected errors found, 7 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/delegate_to_method.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_method.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_to_method.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 25,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "25:3: 25:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 27,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "27:3: 27:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "29:3: 29:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "31:3: 31:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 25,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "target methods have different return types",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 27,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "method needs to have a receiver of type \"self\"",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Note: method used in #[delegate] attribute",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "no targets were specified",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 37,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Note: other return type defined here",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 42,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Note: first return type defined here",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 51,
[INFO] [stdout]         kind: None,
[INFO] [stdout]         msg: "method must have a receiver",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/delegate_to_method.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegatable_trait.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:32: unexpected error: '32:1: 32:27: the name `HashMap` is defined multiple times [E0255]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:36: unexpected error: '36:1: 36:25: the name `BTreeMap` is defined multiple times [E0255]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:31: unexpected error: '31:3: 31:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:35: unexpected error: '35:3: 35:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:39: unexpected error: '39:3: 39:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:40: unexpected error: '40:3: 40:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:32: unexpected error: '32:16: 32:17: type parameter `K` is never used [E0392]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:32: unexpected error: '32:19: 32:20: type parameter `V` is never used [E0392]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:32: unexpected error: '32:22: 32:23: type parameter `S` is never used [E0392]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:36: unexpected error: '36:17: 36:18: type parameter `K` is never used [E0392]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:36: unexpected error: '36:20: 36:21: type parameter `V` is never used [E0392]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:49: unexpected error: '49:29: 49:32: no method named `get` found for enum `Either` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:17: expected error not found: function cannot return without recursing [unconditional_recursion]
[INFO] [stdout] 
[INFO] [stdout] error: 13 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/delegate_self_fail.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_self_fail.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_self_fail.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "32:1: 32:27: the name `HashMap` is defined multiple times [E0255]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 36,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "36:1: 36:25: the name `BTreeMap` is defined multiple times [E0255]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "31:3: 31:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 35,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "35:3: 35:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 39,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "39:3: 39:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 40,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "40:3: 40:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "32:16: 32:17: type parameter `K` is never used [E0392]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "32:19: 32:20: type parameter `V` is never used [E0392]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "32:22: 32:23: type parameter `S` is never used [E0392]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 36,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "36:17: 36:18: type parameter `K` is never used [E0392]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 36,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "36:20: 36:21: type parameter `V` is never used [E0392]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 49,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "49:29: 49:32: no method named `get` found for enum `Either` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 17,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "function cannot return without recursing [unconditional_recursion]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/delegate_self_fail.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegatable_trait.rs:7: expected message not found: method must have a receiver
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegatable_trait.rs:9: expected message not found: method's receiver type is not supported
[INFO] [stdout] 
[INFO] [stdout] error: 1 unexpected errors found, 2 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/delegatable_trait.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegatable_trait.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegatable_trait.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 7,
[INFO] [stdout]         kind: None,
[INFO] [stdout]         msg: "method must have a receiver",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 9,
[INFO] [stdout]         kind: None,
[INFO] [stdout]         msg: "method's receiver type is not supported",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/delegatable_trait.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method_where.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method_where.rs:30: unexpected error: '30:3: 30:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method_where.rs:56: unexpected error: '56:18: 56:26: no method named `into_u32` found for struct `Wrap` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method_where.rs:56: expected error not found: the method `into_u32` exists for struct `Wrap<Box<u32>>`, but its trait bounds were not satisfied
[INFO] [stdout] 
[INFO] [stdout] error: 3 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/delegate_to_method_where.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_method_where.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_to_method_where.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 30,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "30:3: 30:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 56,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "56:18: 56:26: no method named `into_u32` found for struct `Wrap` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 56,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "the method `into_u32` exists for struct `Wrap<Box<u32>>`, but its trait bounds were not satisfied",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/delegate_to_method_where.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_types.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_types.rs:34: unexpected error: '34:3: 34:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_types.rs:41: unexpected error: '41:35: 41:51: the trait bound `Either<Cat, Dog>: Animal` is not satisfied [E0277]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_types.rs:41: expected error not found: type mismatch resolving `<Cat as Animal>::Baby == Puppy`
[INFO] [stdout] 
[INFO] [stdout] error: 3 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/enum_associated_types.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/enum_associated_types.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/enum_associated_types.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 34,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "34:3: 34:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 41,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "41:35: 41:51: the trait bound `Either<Cat, Dog>: Animal` is not satisfied [E0277]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 41,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "type mismatch resolving `<Cat as Animal>::Baby == Puppy`",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/enum_associated_types.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:5: unexpected error: '5:3: 5:20: cannot find attribute `delegatable_trait` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:22: unexpected error: '22:10: 22:18: cannot find derive macro `Delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:23: unexpected error: '23:3: 23:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:30: unexpected error: '30:25: 30:33: no variant or associated item named `NUM_LEGS` found for enum `Pet` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:5: expected error not found: evaluation of constant value failed [E0080]
[INFO] [stdout] 
[INFO] [stdout] error: 5 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/enum_associated_constant.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/enum_associated_constant.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/enum_associated_constant.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 5,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "5:3: 5:20: cannot find attribute `delegatable_trait` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 22,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "22:10: 22:18: cannot find derive macro `Delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 23,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "23:3: 23:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 30,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "30:25: 30:33: no variant or associated item named `NUM_LEGS` found for enum `Pet` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 5,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "evaluation of constant value failed [E0080]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/enum_associated_constant.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_args_in_delegate_attr.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_args_in_delegate_attr.rs:18: unexpected error: '18:3: 18:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_args_in_delegate_attr.rs:18: expected error not found: unexpected end of input, expected string literal
[INFO] [stdout] 
[INFO] [stdout] error: 2 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/extra_args_in_delegate_attr.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/extra_args_in_delegate_attr.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/extra_args_in_delegate_attr.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 18,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "18:3: 18:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 18,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "unexpected end of input, expected string literal",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/extra_args_in_delegate_attr.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:31: unexpected error: '31:3: 31:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:47: unexpected error: '47:18: 47:21: no method named `get` found for struct `Wrap` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:48: unexpected error: '48:7: 48:13: no method named `change` found for struct `Wrap` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:49: unexpected error: '49:18: 49:26: no method named `into_u32` found for struct `Wrap` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:6: expected error not found: target_owned was not specified but was needed
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:6: expected error not found: unexpected token: `.`
[INFO] [stdout] 
[INFO] [stdout] error: 5 unexpected errors found, 2 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/delegate_to_missing_method.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_missing_method.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_to_missing_method.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "31:3: 31:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 47,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "47:18: 47:21: no method named `get` found for struct `Wrap` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 48,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "48:7: 48:13: no method named `change` found for struct `Wrap` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 49,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "49:18: 49:26: no method named `into_u32` found for struct `Wrap` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 6,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "target_owned was not specified but was needed",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 6,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "unexpected token: `.`",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/delegate_to_missing_method.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:8: unexpected error: '8:1: 8:29: the name `Index` is defined multiple times [E0255]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:7: unexpected error: '7:3: 7:27: cannot find attribute `delegatable_trait_remote` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:13: unexpected error: '13:10: 13:18: cannot find derive macro `Delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:14: unexpected error: '14:3: 14:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:23: unexpected error: '23:18: 23:25: cannot index into a value of type `SomeMap<String, &str>` [E0608]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:25: unexpected error: '25:18: 25:25: cannot index into a value of type `SomeMap<String, &str>` [E0608]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:23: expected error not found: the trait bound `u32: From<&_>` is not satisfied
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:25: expected error not found: the trait bound `u32: From<&_>` is not satisfied
[INFO] [stdout] 
[INFO] [stdout] error: 7 unexpected errors found, 2 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/generic_trait_bad_where.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_trait_bad_where.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/generic_trait_bad_where.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 8,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "8:1: 8:29: the name `Index` is defined multiple times [E0255]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 7,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "7:3: 7:27: cannot find attribute `delegatable_trait_remote` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 13,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "13:10: 13:18: cannot find derive macro `Delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 14,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "14:3: 14:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 23,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "23:18: 23:25: cannot index into a value of type `SomeMap<String, &str>` [E0608]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 25,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "25:18: 25:25: cannot index into a value of type `SomeMap<String, &str>` [E0608]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 23,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "the trait bound `u32: From<&_>` is not satisfied",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 25,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "the trait bound `u32: From<&_>` is not satisfied",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/generic_trait_bad_where.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/missing_delegate_attribute.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/missing_delegate_attribute.rs:26: expected error not found: No #[delegate] attribute specified
[INFO] [stdout] 
[INFO] [stdout] error: 1 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/missing_delegate_attribute.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/missing_delegate_attribute.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/missing_delegate_attribute.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 26,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "No #[delegate] attribute specified",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/missing_delegate_attribute.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:25: unexpected error: '25:5: 25:27: associated function in `impl` without body'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:26: unexpected error: '26:5: 26:39: associated function in `impl` without body'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:28: unexpected error: '28:5: 28:38: associated function in `impl` without body'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:29: unexpected error: '29:5: 29:29: associated function in `impl` without body'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:22: unexpected error: '22:3: 22:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:40: unexpected error: '40:5: 40:24: inherent associated types are unstable [E0658]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:24: unexpected error: '24:1: 24:33: cannot define inherent `impl` for a type outside of the crate where the type is defined [E0116]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:22: expected message not found: no method named `deref` found for reference `&Box<X>` in the current scope
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:28: expected error not found: This method is not used by any `delegate` attributes; please remove it
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:29: expected error not found: delegated to methods must return
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:31: expected error not found: Only method signatures are allowed here (no blocks!)
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:31: expected error not found: This method is not used by any `delegate` attributes; please remove it
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:37: expected error not found: Only method signatures are allowed here, everything else is discarded
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:40: expected error not found: Only method signatures are allowed here, everything else is discarded
[INFO] [stdout] 
[INFO] [stdout] error: 8 unexpected errors found, 7 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/extra_items_in_remote_methods_impl.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/extra_items_in_remote_methods_impl.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/extra_items_in_remote_methods_impl.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 25,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "25:5: 25:27: associated function in `impl` without body",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 26,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "26:5: 26:39: associated function in `impl` without body",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 28,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "28:5: 28:38: associated function in `impl` without body",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "29:5: 29:29: associated function in `impl` without body",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 22,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "22:3: 22:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 40,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "40:5: 40:24: inherent associated types are unstable [E0658]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 24,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "24:1: 24:33: cannot define inherent `impl` for a type outside of the crate where the type is defined [E0116]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 22,
[INFO] [stdout]         kind: None,
[INFO] [stdout]         msg: "no method named `deref` found for reference `&Box<X>` in the current scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 28,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "This method is not used by any `delegate` attributes; please remove it",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "delegated to methods must return",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Only method signatures are allowed here (no blocks!)",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "This method is not used by any `delegate` attributes; please remove it",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 37,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Only method signatures are allowed here, everything else is discarded",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 40,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Only method signatures are allowed here, everything else is discarded",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/extra_items_in_remote_methods_impl.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:27: unexpected error: '27:3: 27:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:29: unexpected error: '29:3: 29:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:30: unexpected error: '30:3: 30:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:31: unexpected error: '31:3: 31:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:32: unexpected error: '32:3: 32:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:33: unexpected error: '33:3: 33:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:34: unexpected error: '34:3: 34:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:27: expected error not found: "target" value on #[delegate] attribute has to be specified for structs with multiple fields
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:29: expected error not found: expected `,`
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:30: expected error not found: expected `=`
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:31: expected error not found: invalid key for a delegate attribute
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:32: expected error not found: unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:33: expected error not found: Unknown field specified as "target" value in #[delegate] attribute
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:34: expected error not found: Unknown field specified as "target" value in #[delegate] attribute
[INFO] [stdout] 
[INFO] [stdout] error: 8 unexpected errors found, 7 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/muti_field_struct.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/muti_field_struct.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/muti_field_struct.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 27,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "27:3: 27:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "29:3: 29:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 30,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "30:3: 30:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "31:3: 31:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "32:3: 32:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 33,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "33:3: 33:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 34,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "34:3: 34:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 27,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "\"target\" value on #[delegate] attribute has to be specified for structs with multiple fields",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "expected `,`",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 30,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "expected `=`",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "invalid key for a delegate attribute",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "unexpected token",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 33,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Unknown field specified as \"target\" value in #[delegate] attribute",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 34,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Unknown field specified as \"target\" value in #[delegate] attribute",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/muti_field_struct.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/taxonomy_fail.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/taxonomy_fail.rs:55: unexpected error: '55:3: 55:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/taxonomy_fail.rs:63: unexpected error: '63:22: 63:44: the trait bound `Either<Cat, Alligator>: Taxonomy<Class>` is not satisfied [E0277]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/taxonomy_fail.rs:63: expected error not found: type mismatch resolving `<Cat as Taxonomy<Class>>::Res == Reptile`
[INFO] [stdout] 
[INFO] [stdout] error: 3 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/taxonomy_fail.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/taxonomy_fail.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/taxonomy_fail.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 55,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "55:3: 55:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 63,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "63:22: 63:44: the trait bound `Either<Cat, Alligator>: Taxonomy<Class>` is not satisfied [E0277]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 63,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "type mismatch resolving `<Cat as Taxonomy<Class>>::Res == Reptile`",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/taxonomy_fail.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d833898 - compiletest_rs::runtest::TestCx::check_expected_errors::h35b7019fde91ee11
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55747d8258fc - compiletest_rs::runtest::TestCx::run_cfail_test::h6566c7f652f1d112
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55747d82547c - compiletest_rs::runtest::TestCx::run_revision::head1bf61570b2553
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55747d8250a8 - compiletest_rs::runtest::run::hb69b00d79a1f2896
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55747d823908 - compiletest_rs::make_test_closure::{{closure}}::hca8641786de72388
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55747d8190ae - core::ops::function::FnOnce::call_once{{vtable.shim}}::h632fa73cace93873
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55747dbe0a44 - tester::__rust_begin_short_backtrace::hf8d164b5e93d8aef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55747dbe09b3 - tester::run_test::{{closure}}::h0da976a94708960c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55747dbea968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h00be903b589cf738
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55747dbadafb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h19042929d438b983
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55747dbd42d4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4e12227af988a4bc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55747dbbd791 - std::panicking::try::do_call::h281c368b47201057
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   32:     0x55747dbbd38a - std::panicking::try::h68b6f41e6010c001
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55747dbb1097 - std::panic::catch_unwind::hf7b2287ef905b87c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55747dbe0bd5 - tester::run_test_in_process::hb4ac260fa984c99d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55747dbe07e2 - tester::run_test::run_test_inner::{{closure}}::h3621ff1fe1a758eb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55747dbc4a76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2256bb19a2c638cf
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55747dbbd164 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he14b360566ca0627
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55747dbd4264 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h03729f4da940ed53
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55747dbbd7e0 - std::panicking::try::do_call::h7d9045d7a9884d19
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55747dbbef7b - __rust_try
[INFO] [stdout]   41:     0x55747dbbd598 - std::panicking::try::h97af67256dbf877e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55747dbbce01 - std::panic::catch_unwind::h280924c7629edeee
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55747dbbce01 - std::thread::Builder::spawn_unchecked_::{{closure}}::h9edaaeddca60bf05
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55747dbeaa6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb9a8a9822a9c427
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   49:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] thread 'compile_fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:111:22:
[INFO] [stdout] Some tests failed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d8209d4 - compiletest_rs::run_tests::h58ea4e12968b225e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:111:22
[INFO] [stdout]   19:     0x55747d7c968f - compiletest::run_mode::hcaf5b22e09eea20a
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletest.rs:15:5
[INFO] [stdout]   20:     0x55747d7c9752 - compiletest::compile_fail::hb66f68df7d4cffaf
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletest.rs:25:5
[INFO] [stdout]   21:     0x55747d7c9727 - compiletest::compile_fail::{{closure}}::h14f3078cb6fb506e
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletest.rs:24:18
[INFO] [stdout]   22:     0x55747d7c8f66 - core::ops::function::FnOnce::call_once::haef4c5388a061cf8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x55747d80196b - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747d80196b - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   25:     0x55747d801071 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   26:     0x55747d801071 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x55747d801071 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   28:     0x55747d801071 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   29:     0x55747d801071 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   30:     0x55747d801071 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   31:     0x55747d801071 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   32:     0x55747d7c9a34 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   33:     0x55747d7c9a34 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   34:     0x55747d7ce462 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   35:     0x55747d7ce462 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x55747d7ce462 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   37:     0x55747d7ce462 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   38:     0x55747d7ce462 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   39:     0x55747d7ce462 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   40:     0x55747d7ce462 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   42:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   45:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- run_pass stdout ----
[INFO] [stdout] 
[INFO] [stdout] error: compilation failed!
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/run-pass/auto_where_clause.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/auto_where_clause.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/auto_where_clause.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/auto_where_clause.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":457,"byte_end":465,"line_start":31,"line_end":31,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/auto_where_clause.rs:31:3\n   |\n31 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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/auto_where_clause.rs","byte_start":627,"byte_end":632,"line_start":40,"line_end":40,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":474,"byte_end":495,"line_start":32,"line_end":32,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum Either<A, B> {","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":109,"byte_end":124,"line_start":7,"line_end":7,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/auto_where_clause.rs:40:31\n   |\n32 | pub enum Either<A, B> {\n   | --------------------- method `shout` not found for this enum\n...\n40 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/auto_where_clause.rs:7:1\n   |\n7  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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/auto_where_clause.rs","byte_start":725,"byte_end":730,"line_start":42,"line_end":42,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":474,"byte_end":495,"line_start":32,"line_end":32,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum Either<A, B> {","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":109,"byte_end":124,"line_start":7,"line_end":7,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/auto_where_clause.rs:42:31\n   |\n32 | pub enum Either<A, B> {\n   | --------------------- method `shout` not found for this enum\n...\n42 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/auto_where_clause.rs:7:1\n   |\n7  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/backwards_compatible.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/backwards_compatible.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/backwards_compatible.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/backwards_compatible.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find macro `ambassador_impl_Shout_body_enum` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":534,"byte_end":565,"line_start":32,"line_end":32,"column_start":3,"column_end":34,"is_primary":true,"text":[{"text":"{ ambassador_impl_Shout_body_enum! { Either :: Left, Either :: Right } }","highlight_start":3,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find macro `ambassador_impl_Shout_body_enum` in this scope\n  --> tests/run-pass/backwards_compatible.rs:32:3\n   |\n32 | { ambassador_impl_Shout_body_enum! { Either :: Left, Either :: Right } }\n   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find macro `ambassador_impl_Shout_body_single_struct` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":726,"byte_end":766,"line_start":41,"line_end":41,"column_start":3,"column_end":43,"is_primary":true,"text":[{"text":"{ ambassador_impl_Shout_body_single_struct! { bar } }","highlight_start":3,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find macro `ambassador_impl_Shout_body_single_struct` in this scope\n  --> tests/run-pass/backwards_compatible.rs:41:3\n   |\n41 | { ambassador_impl_Shout_body_single_struct! { bar } }\n   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"not all trait items implemented, missing: `shout`","code":{"code":"E0046","explanation":"Items are missing in a trait implementation.\n\nErroneous code example:\n\n```compile_fail,E0046\ntrait Foo {\n    fn foo();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {}\n// error: not all trait items implemented, missing: `foo`\n```\n\nWhen trying to make some type implement a trait `Foo`, you must, at minimum,\nprovide implementations for all of `Foo`'s required methods (meaning the\nmethods that do not have default implementations), as well as any required\ntrait items like associated types or constants. Example:\n\n```\ntrait Foo {\n    fn foo();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {\n    fn foo() {} // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":476,"byte_end":531,"line_start":31,"line_end":31,"column_start":1,"column_end":56,"is_primary":true,"text":[{"text":"impl < A : Shout, B : Shout > Shout for Either < A, B >","highlight_start":1,"highlight_end":56}],"label":"missing `shout` in implementation","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":107,"byte_end":146,"line_start":7,"line_end":7,"column_start":5,"column_end":44,"is_primary":false,"text":[{"text":"    fn shout(&self, input: &str) -> String;","highlight_start":5,"highlight_end":44}],"label":"`shout` from trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"implement the missing item: `fn shout(&self, _: &str) -> String { todo!() }`","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":603,"byte_end":603,"line_start":32,"line_end":32,"column_start":72,"column_end":72,"is_primary":true,"text":[{"text":"{ ambassador_impl_Shout_body_enum! { Either :: Left, Either :: Right } }","highlight_start":72,"highlight_end":72}],"label":null,"suggested_replacement":"fn shout(&self, _: &str) -> String { todo!() }\n","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0046]: not all trait items implemented, missing: `shout`\n  --> tests/run-pass/backwards_compatible.rs:31:1\n   |\n7  |     fn shout(&self, input: &str) -> String;\n   |     --------------------------------------- `shout` from trait\n...\n31 | impl < A : Shout, B : Shout > Shout for Either < A, B >\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `shout` in implementation\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"not all trait items implemented, missing: `shout`","code":{"code":"E0046","explanation":"Items are missing in a trait implementation.\n\nErroneous code example:\n\n```compile_fail,E0046\ntrait Foo {\n    fn foo();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {}\n// error: not all trait items implemented, missing: `foo`\n```\n\nWhen trying to make some type implement a trait `Foo`, you must, at minimum,\nprovide implementations for all of `Foo`'s required methods (meaning the\nmethods that do not have default implementations), as well as any required\ntrait items like associated types or constants. Example:\n\n```\ntrait Foo {\n    fn foo();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {\n    fn foo() {} // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":674,"byte_end":723,"line_start":40,"line_end":40,"column_start":1,"column_end":50,"is_primary":true,"text":[{"text":"impl < A : Shout > Shout for WrappedAnimals < A >","highlight_start":1,"highlight_end":50}],"label":"missing `shout` in implementation","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":107,"byte_end":146,"line_start":7,"line_end":7,"column_start":5,"column_end":44,"is_primary":false,"text":[{"text":"    fn shout(&self, input: &str) -> String;","highlight_start":5,"highlight_end":44}],"label":"`shout` from trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"implement the missing item: `fn shout(&self, _: &str) -> String { todo!() }`","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":776,"byte_end":776,"line_start":41,"line_end":41,"column_start":53,"column_end":53,"is_primary":true,"text":[{"text":"{ ambassador_impl_Shout_body_single_struct! { bar } }","highlight_start":53,"highlight_end":53}],"label":null,"suggested_replacement":"fn shout(&self, _: &str) -> String { todo!() }\n","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0046]: not all trait items implemented, missing: `shout`\n  --> tests/run-pass/backwards_compatible.rs:40:1\n   |\n7  |     fn shout(&self, input: &str) -> String;\n   |     --------------------------------------- `shout` from trait\n...\n40 | impl < A : Shout > Shout for WrappedAnimals < A >\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `shout` in implementation\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0046, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0046, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0046`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0046`.\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/associated_types.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/associated_types.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/associated_types.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/associated_types.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/associated_types.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `IntoIterator` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/associated_types.rs","byte_start":138,"byte_end":160,"line_start":7,"line_end":7,"column_start":1,"column_end":23,"is_primary":true,"text":[{"text":"pub trait IntoIterator {","highlight_start":1,"highlight_end":23}],"label":"`IntoIterator` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/associated_types.rs","byte_start":84,"byte_end":107,"line_start":4,"line_end":4,"column_start":5,"column_end":28,"is_primary":false,"text":[{"text":"use std::iter::IntoIterator;","highlight_start":5,"highlight_end":28}],"label":"previous import of the trait `IntoIterator` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`IntoIterator` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/associated_types.rs","byte_start":84,"byte_end":107,"line_start":4,"line_end":4,"column_start":5,"column_end":28,"is_primary":true,"text":[{"text":"use std::iter::IntoIterator;","highlight_start":5,"highlight_end":28}],"label":null,"suggested_replacement":"std::iter::IntoIterator as OtherIntoIterator","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `IntoIterator` is defined multiple times\n --> tests/run-pass/associated_types.rs:7:1\n  |\n4 | use std::iter::IntoIterator;\n  |     ----------------------- previous import of the trait `IntoIterator` here\n...\n7 | pub trait IntoIterator {\n  | ^^^^^^^^^^^^^^^^^^^^^^ `IntoIterator` redefined here\n  |\n  = note: `IntoIterator` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n  |\n4 | use std::iter::IntoIterator as OtherIntoIterator;\n  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/associated_types.rs","byte_start":293,"byte_end":301,"line_start":14,"line_end":14,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(IntoIterator)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/associated_types.rs:14:3\n   |\n14 | #[delegate(IntoIterator)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the method `into_iter` exists for struct `WrappedVec<{integer}>`, but its trait bounds were not satisfied","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/associated_types.rs","byte_start":440,"byte_end":449,"line_start":19,"line_end":19,"column_start":30,"column_end":39,"is_primary":true,"text":[{"text":"    println!(\"{:?}\", wrapped.into_iter().collect::<Vec<_>>());","highlight_start":30,"highlight_end":39}],"label":"method cannot be called on `WrappedVec<{integer}>` due to unsatisfied trait bounds","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/associated_types.rs","byte_start":317,"byte_end":341,"line_start":15,"line_end":15,"column_start":1,"column_end":25,"is_primary":false,"text":[{"text":"pub struct WrappedVec<E>(Vec<E>);","highlight_start":1,"highlight_end":25}],"label":"method `into_iter` not found for this struct because it doesn't satisfy `WrappedVec<{integer}>: Iterator` or `WrappedVec<{integer}>: std::iter::IntoIterator`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following trait bounds were not satisfied:\n`WrappedVec<{integer}>: Iterator`\nwhich is required by `WrappedVec<{integer}>: std::iter::IntoIterator`\n`&WrappedVec<{integer}>: Iterator`\nwhich is required by `&WrappedVec<{integer}>: std::iter::IntoIterator`\n`&mut WrappedVec<{integer}>: Iterator`\nwhich is required by `&mut WrappedVec<{integer}>: std::iter::IntoIterator`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"the trait `Iterator` must be implemented","code":null,"level":"note","spans":[{"file_name":"/rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/iter/traits/iterator.rs","byte_start":1597,"byte_end":1615,"line_start":44,"line_end":44,"column_start":1,"column_end":19,"is_primary":true,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `into_iter`, perhaps you need to implement one of them:\ncandidate #1: `IntoIterator`\ncandidate #2: `std::iter::IntoIterator`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0599]: the method `into_iter` exists for struct `WrappedVec<{integer}>`, but its trait bounds were not satisfied\n  --> tests/run-pass/associated_types.rs:19:30\n   |\n15 | pub struct WrappedVec<E>(Vec<E>);\n   | ------------------------ method `into_iter` not found for this struct because it doesn't satisfy `WrappedVec<{integer}>: Iterator` or `WrappedVec<{integer}>: std::iter::IntoIterator`\n...\n19 |     println!(\"{:?}\", wrapped.into_iter().collect::<Vec<_>>());\n   |                              ^^^^^^^^^ method cannot be called on `WrappedVec<{integer}>` due to unsatisfied trait bounds\n   |\n   = note: the following trait bounds were not satisfied:\n           `WrappedVec<{integer}>: Iterator`\n           which is required by `WrappedVec<{integer}>: std::iter::IntoIterator`\n           `&WrappedVec<{integer}>: Iterator`\n           which is required by `&WrappedVec<{integer}>: std::iter::IntoIterator`\n           `&mut WrappedVec<{integer}>: Iterator`\n           which is required by `&mut WrappedVec<{integer}>: std::iter::IntoIterator`\nnote: the trait `Iterator` must be implemented\n  --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/iter/traits/iterator.rs:44:1\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `into_iter`, perhaps you need to implement one of them:\n           candidate #1: `IntoIterator`\n           candidate #2: `std::iter::IntoIterator`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `std::iter::IntoIterator`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/associated_types.rs","byte_start":84,"byte_end":107,"line_start":4,"line_end":4,"column_start":5,"column_end":28,"is_primary":true,"text":[{"text":"use std::iter::IntoIterator;","highlight_start":5,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `std::iter::IntoIterator`\n --> tests/run-pass/associated_types.rs:4:5\n  |\n4 | use std::iter::IntoIterator;\n  |     ^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0255, E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0255, E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0255`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0255`.\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/async.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/async.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/async.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/async.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate_to_methods` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":516,"byte_end":535,"line_start":39,"line_end":39,"column_start":3,"column_end":22,"is_primary":true,"text":[{"text":"#[delegate_to_methods]","highlight_start":3,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate_to_methods` in this scope\n  --> tests/run-pass/async.rs:39:3\n   |\n39 | #[delegate_to_methods]\n   |   ^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":539,"byte_end":547,"line_start":40,"line_end":40,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Hello, target_ref = \"unwrap_ref\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/async.rs:40:3\n   |\n40 | #[delegate(Hello, target_ref = \"unwrap_ref\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":396,"byte_end":404,"line_start":30,"line_end":30,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/async.rs:30:10\n   |\n30 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":409,"byte_end":417,"line_start":31,"line_end":31,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Hello)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/async.rs:31:3\n   |\n31 | #[delegate(Hello)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":318,"byte_end":326,"line_start":24,"line_end":24,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/async.rs:24:10\n   |\n24 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":331,"byte_end":339,"line_start":25,"line_end":25,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Hello)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/async.rs:25:3\n   |\n25 | #[delegate(Hello)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegatable_trait` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":191,"byte_end":208,"line_start":15,"line_end":15,"column_start":3,"column_end":20,"is_primary":true,"text":[{"text":"#[delegatable_trait]","highlight_start":3,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegatable_trait` in this scope\n  --> tests/run-pass/async.rs:15:3\n   |\n15 | #[delegatable_trait]\n   |   ^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":76,"byte_end":84,"line_start":7,"line_end":7,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n --> tests/run-pass/async.rs:7:10\n  |\n7 | #[derive(Delegate)]\n  |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":89,"byte_end":97,"line_start":8,"line_end":8,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Hello, target = \"self\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n --> tests/run-pass/async.rs:8:3\n  |\n8 | #[delegate(Hello, target = \"self\")]\n  |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `hello` found for struct `Dram` 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/async.rs","byte_start":741,"byte_end":746,"line_start":50,"line_end":50,"column_start":15,"column_end":20,"is_primary":true,"text":[{"text":"    let _ = d.hello();","highlight_start":15,"highlight_end":20}],"label":"method not found in `Dram`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/async.rs","byte_start":348,"byte_end":363,"line_start":26,"line_end":26,"column_start":1,"column_end":16,"is_primary":false,"text":[{"text":"pub struct Dram {","highlight_start":1,"highlight_end":16}],"label":"method `hello` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Hello` defines an item `hello`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":210,"byte_end":221,"line_start":16,"line_end":16,"column_start":1,"column_end":12,"is_primary":true,"text":[{"text":"trait Hello {","highlight_start":1,"highlight_end":12}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":741,"byte_end":741,"line_start":50,"line_end":50,"column_start":15,"column_end":15,"is_primary":true,"text":[{"text":"    let _ = d.hello();","highlight_start":15,"highlight_end":15}],"label":null,"suggested_replacement":"inner.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `hello` found for struct `Dram` in the current scope\n  --> tests/run-pass/async.rs:50:15\n   |\n26 | pub struct Dram {\n   | --------------- method `hello` not found for this struct\n...\n50 |     let _ = d.hello();\n   |               ^^^^^ method not found in `Dram`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Hello` defines an item `hello`, perhaps you need to implement it\n  --> tests/run-pass/async.rs:16:1\n   |\n16 | trait Hello {\n   | ^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n50 |     let _ = d.inner.hello();\n   |               ++++++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 11 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 11 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_to_methods.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_methods.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_to_methods.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_methods.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":372,"byte_end":380,"line_start":25,"line_end":25,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(MyTrait, target_ref = \"inner_ref\", target_mut = \"inner_mut\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_methods.rs:25:3\n   |\n25 | #[delegate(MyTrait, target_ref = \"inner_ref\", target_mut = \"inner_mut\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_methods.rs","byte_start":830,"byte_end":833,"line_start":49,"line_end":49,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":830,"byte_end":830,"line_start":49,"line_end":49,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods.rs:49:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n49 |     assert_eq!(x.get(), 42);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n49 |     assert_eq!(x.0.get(), 42);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `change` found for struct `Wrap` 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/delegate_to_methods.rs","byte_start":848,"byte_end":854,"line_start":50,"line_end":50,"column_start":7,"column_end":13,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":13}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `change` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`MyTrait` defines an item `change`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":130,"byte_end":143,"line_start":7,"line_end":7,"column_start":1,"column_end":14,"is_primary":true,"text":[{"text":"trait MyTrait {","highlight_start":1,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":848,"byte_end":848,"line_start":50,"line_end":50,"column_start":7,"column_end":7,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":7}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `change` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods.rs:50:7\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `change` not found for this struct\n...\n50 |     x.change();\n   |       ^^^^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `MyTrait` defines an item `change`, perhaps you need to implement it\n  --> tests/run-pass/delegate_to_methods.rs:7:1\n   |\n7  | trait MyTrait {\n   | ^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n50 |     x.0.change();\n   |       ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_methods.rs","byte_start":875,"byte_end":878,"line_start":51,"line_end":51,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":875,"byte_end":875,"line_start":51,"line_end":51,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods.rs:51:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n51 |     assert_eq!(x.get(), 43);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n51 |     assert_eq!(x.0.get(), 43);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_to_method_g_and_at.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_method_g_and_at.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_to_method_g_and_at.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_method_g_and_at.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":374,"byte_end":382,"line_start":22,"line_end":22,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(FnLike<X>, target_ref = \"to_fn\", generics = \"X\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_method_g_and_at.rs:22:3\n   |\n22 | #[delegate(FnLike<X>, target_ref = \"to_fn\", generics = \"X\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the method `apply` exists for struct `Cat`, but its trait bounds were not satisfied","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/delegate_to_method_g_and_at.rs","byte_start":641,"byte_end":646,"line_start":33,"line_end":33,"column_start":20,"column_end":25,"is_primary":true,"text":[{"text":"    assert_eq!(Cat.apply(String::new()), \"meow\")","highlight_start":20,"highlight_end":25}],"label":"method cannot be called on `Cat` due to unsatisfied trait bounds","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":332,"byte_end":346,"line_start":19,"line_end":19,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"pub struct Cat;","highlight_start":1,"highlight_end":15}],"label":"method `apply` not found for this struct because it doesn't satisfy `<Cat as FnOnce<(_,)>>::Output = _`, `Cat: Fn<(_,)>` or `Cat: FnLike<_>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following trait bounds were not satisfied:\n`<Cat as FnOnce<(_,)>>::Output = _`\n`Cat: Fn<(_,)>`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":213,"byte_end":214,"line_start":11,"line_end":11,"column_start":23,"column_end":24,"is_primary":true,"text":[{"text":"impl<In, F: Fn(In) -> R, R> FnLike<In> for F {","highlight_start":23,"highlight_end":24}],"label":"unsatisfied trait bound introduced here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":219,"byte_end":229,"line_start":11,"line_end":11,"column_start":29,"column_end":39,"is_primary":false,"text":[{"text":"impl<In, F: Fn(In) -> R, R> FnLike<In> for F {","highlight_start":29,"highlight_end":39}],"label":"","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":234,"byte_end":235,"line_start":11,"line_end":11,"column_start":44,"column_end":45,"is_primary":false,"text":[{"text":"impl<In, F: Fn(In) -> R, R> FnLike<In> for F {","highlight_start":44,"highlight_end":45}],"label":"","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":203,"byte_end":214,"line_start":11,"line_end":11,"column_start":13,"column_end":24,"is_primary":true,"text":[{"text":"impl<In, F: Fn(In) -> R, R> FnLike<In> for F {","highlight_start":13,"highlight_end":24}],"label":"unsatisfied trait bound introduced here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"the trait `Fn` must be implemented","code":null,"level":"note","spans":[{"file_name":"/rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs","byte_start":2686,"byte_end":2724,"line_start":76,"line_end":76,"column_start":1,"column_end":39,"is_primary":true,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`FnLike` defines an item `apply`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":106,"byte_end":126,"line_start":6,"line_end":6,"column_start":1,"column_end":21,"is_primary":true,"text":[{"text":"pub trait FnLike<In> {","highlight_start":1,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: the method `apply` exists for struct `Cat`, but its trait bounds were not satisfied\n  --> tests/run-pass/delegate_to_method_g_and_at.rs:33:20\n   |\n19 | pub struct Cat;\n   | -------------- method `apply` not found for this struct because it doesn't satisfy `<Cat as FnOnce<(_,)>>::Output = _`, `Cat: Fn<(_,)>` or `Cat: FnLike<_>`\n...\n33 |     assert_eq!(Cat.apply(String::new()), \"meow\")\n   |                    ^^^^^ method cannot be called on `Cat` due to unsatisfied trait bounds\n   |\nnote: the following trait bounds were not satisfied:\n      `<Cat as FnOnce<(_,)>>::Output = _`\n      `Cat: Fn<(_,)>`\n  --> tests/run-pass/delegate_to_method_g_and_at.rs:11:13\n   |\n11 | impl<In, F: Fn(In) -> R, R> FnLike<In> for F {\n   |             ^^^^^^^^^^^     ----------     -\n   |             |         |\n   |             |         unsatisfied trait bound introduced here\n   |             unsatisfied trait bound introduced here\nnote: the trait `Fn` must be implemented\n  --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:76:1\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `FnLike` defines an item `apply`, perhaps you need to implement it\n  --> tests/run-pass/delegate_to_method_g_and_at.rs:6:1\n   |\n6  | pub trait FnLike<In> {\n   | ^^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_remote.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_remote.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_remote.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_remote.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":762,"byte_end":770,"line_start":44,"line_end":44,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, target = \"bar\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_remote.rs:44:3\n   |\n44 | #[delegate(Shout, target = \"bar\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `wrapped::*`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":728,"byte_end":738,"line_start":41,"line_end":41,"column_start":5,"column_end":15,"is_primary":true,"text":[{"text":"use wrapped::*;","highlight_start":5,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":724,"byte_end":740,"line_start":41,"line_end":42,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use wrapped::*;","highlight_start":1,"highlight_end":16},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused import: `wrapped::*`\n  --> tests/run-pass/delegate_remote.rs:41:5\n   |\n41 | use wrapped::*;\n   |     ^^^^^^^^^^\n   |\n   = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no function or associated item named `new` found for struct `WrappedAnimals` 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/delegate_remote.rs","byte_start":912,"byte_end":915,"line_start":52,"line_end":52,"column_start":38,"column_end":41,"is_primary":true,"text":[{"text":"    let foo_animal = WrappedAnimals::new(Cat, Cat);","highlight_start":38,"highlight_end":41}],"label":"function or associated item not found in `WrappedAnimals<_>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":795,"byte_end":826,"line_start":45,"line_end":45,"column_start":1,"column_end":32,"is_primary":false,"text":[{"text":"struct WrappedAnimals<A: Shout> {","highlight_start":1,"highlight_end":32}],"label":"function or associated item `new` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no function or associated item named `new` found for struct `WrappedAnimals` in the current scope\n  --> tests/run-pass/delegate_remote.rs:52:38\n   |\n45 | struct WrappedAnimals<A: Shout> {\n   | ------------------------------- function or associated item `new` not found for this struct\n...\n52 |     let foo_animal = WrappedAnimals::new(Cat, Cat);\n   |                                      ^^^ function or associated item not found in `WrappedAnimals<_>`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no function or associated item named `new` found for struct `WrappedAnimals` 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/delegate_remote.rs","byte_start":1009,"byte_end":1012,"line_start":54,"line_end":54,"column_start":38,"column_end":41,"is_primary":true,"text":[{"text":"    let bar_animal = WrappedAnimals::new(Cat, Dog);","highlight_start":38,"highlight_end":41}],"label":"function or associated item not found in `WrappedAnimals<_>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":795,"byte_end":826,"line_start":45,"line_end":45,"column_start":1,"column_end":32,"is_primary":false,"text":[{"text":"struct WrappedAnimals<A: Shout> {","highlight_start":1,"highlight_end":32}],"label":"function or associated item `new` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no function or associated item named `new` found for struct `WrappedAnimals` in the current scope\n  --> tests/run-pass/delegate_remote.rs:54:38\n   |\n45 | struct WrappedAnimals<A: Shout> {\n   | ------------------------------- function or associated item `new` not found for this struct\n...\n54 |     let bar_animal = WrappedAnimals::new(Cat, Dog);\n   |                                      ^^^ function or associated item not found in `WrappedAnimals<_>`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_self.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_self.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_self.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_self.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_self.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_self.rs","byte_start":182,"byte_end":190,"line_start":11,"line_end":11,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, target=\"self\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_self.rs:11:3\n   |\n11 | #[delegate(Shout, target=\"self\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `Cat: Shout` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_self.rs","byte_start":416,"byte_end":419,"line_start":25,"line_end":25,"column_start":15,"column_end":18,"is_primary":true,"text":[{"text":"    use_shout(Cat)","highlight_start":15,"highlight_end":18}],"label":"the trait `Shout` is not implemented for `Cat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_self.rs","byte_start":406,"byte_end":415,"line_start":25,"line_end":25,"column_start":5,"column_end":14,"is_primary":false,"text":[{"text":"    use_shout(Cat)","highlight_start":5,"highlight_end":14}],"label":"required by a bound introduced by this call","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this trait has no implementations, consider adding one","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_self.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"required by a bound in `use_shout`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_self.rs","byte_start":354,"byte_end":359,"line_start":20,"line_end":20,"column_start":22,"column_end":27,"is_primary":true,"text":[{"text":"fn use_shout(x: impl Shout) {","highlight_start":22,"highlight_end":27}],"label":"required by this bound in `use_shout`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `Cat: Shout` is not satisfied\n  --> tests/run-pass/delegate_self.rs:25:15\n   |\n25 |     use_shout(Cat)\n   |     --------- ^^^ the trait `Shout` is not implemented for `Cat`\n   |     |\n   |     required by a bound introduced by this call\n   |\nhelp: this trait has no implementations, consider adding one\n  --> tests/run-pass/delegate_self.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nnote: required by a bound in `use_shout`\n  --> tests/run-pass/delegate_self.rs:20:22\n   |\n20 | fn use_shout(x: impl Shout) {\n   |                      ^^^^^ required by this bound in `use_shout`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\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/delegate_to_methods_dyn_works.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_methods_dyn_works.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_to_methods_dyn_works.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods_dyn_works.rs","byte_start":135,"byte_end":159,"line_start":3,"line_end":3,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_methods_dyn_works.rs:3:1\n  |\n3 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods_dyn_works.rs","byte_start":638,"byte_end":646,"line_start":32,"line_end":32,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, target_ref=\"deref\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_methods_dyn_works.rs:32:3\n   |\n32 | #[delegate(Shout, target_ref=\"deref\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `WrappedAnimals: Shout` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods_dyn_works.rs","byte_start":1390,"byte_end":1400,"line_start":52,"line_end":52,"column_start":12,"column_end":22,"is_primary":true,"text":[{"text":"    use_it(foo_animal);","highlight_start":12,"highlight_end":22}],"label":"the trait `Shout` is not implemented for `WrappedAnimals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods_dyn_works.rs","byte_start":1383,"byte_end":1389,"line_start":52,"line_end":52,"column_start":5,"column_end":11,"is_primary":false,"text":[{"text":"    use_it(foo_animal);","highlight_start":5,"highlight_end":11}],"label":"required by a bound introduced by this call","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `Shout`:\n  Cat\n  Dog","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"required by a bound in `use_it`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_methods_dyn_works.rs","byte_start":1244,"byte_end":1249,"line_start":46,"line_end":46,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"fn use_it<T: Shout> (shouter: T) {","highlight_start":14,"highlight_end":19}],"label":"required by this bound in `use_it`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `WrappedAnimals: Shout` is not satisfied\n  --> tests/run-pass/delegate_to_methods_dyn_works.rs:52:12\n   |\n52 |     use_it(foo_animal);\n   |     ------ ^^^^^^^^^^ the trait `Shout` is not implemented for `WrappedAnimals`\n   |     |\n   |     required by a bound introduced by this call\n   |\n   = help: the following other types implement trait `Shout`:\n             Cat\n             Dog\nnote: required by a bound in `use_it`\n  --> tests/run-pass/delegate_to_methods_dyn_works.rs:46:14\n   |\n46 | fn use_it<T: Shout> (shouter: T) {\n   |              ^^^^^ required by this bound in `use_it`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\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/delegate_to_methods_in_trait_impl.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_methods_in_trait_impl.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_to_methods_in_trait_impl.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":465,"byte_end":473,"line_start":30,"line_end":30,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(MyTrait, target_ref = \"get_ref\", target_mut = \"get_mut_ref\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:30:3\n   |\n30 | #[delegate(MyTrait, target_ref = \"get_ref\", target_mut = \"get_mut_ref\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_methods_in_trait_impl.rs","byte_start":788,"byte_end":791,"line_start":41,"line_end":41,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":788,"byte_end":788,"line_start":41,"line_end":41,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:41:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n41 |     assert_eq!(x.get(), 42);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n41 |     assert_eq!(x.0.get(), 42);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `change` found for struct `Wrap` 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/delegate_to_methods_in_trait_impl.rs","byte_start":806,"byte_end":812,"line_start":42,"line_end":42,"column_start":7,"column_end":13,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":13}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `change` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`MyTrait` defines an item `change`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":130,"byte_end":143,"line_start":7,"line_end":7,"column_start":1,"column_end":14,"is_primary":true,"text":[{"text":"trait MyTrait {","highlight_start":1,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":806,"byte_end":806,"line_start":42,"line_end":42,"column_start":7,"column_end":7,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":7}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `change` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:42:7\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `change` not found for this struct\n...\n42 |     x.change();\n   |       ^^^^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `MyTrait` defines an item `change`, perhaps you need to implement it\n  --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:7:1\n   |\n7  | trait MyTrait {\n   | ^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n42 |     x.0.change();\n   |       ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_methods_in_trait_impl.rs","byte_start":833,"byte_end":836,"line_start":43,"line_end":43,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":833,"byte_end":833,"line_start":43,"line_end":43,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:43:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n43 |     assert_eq!(x.get(), 43);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n43 |     assert_eq!(x.0.get(), 43);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_to_remote_methods_on_remote_type.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_remote_methods_on_remote_type.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_to_remote_methods_on_remote_type.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"associated function in `impl` without body","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":456,"byte_end":478,"line_start":20,"line_end":20,"column_start":5,"column_end":27,"is_primary":true,"text":[{"text":"    fn deref(&self) -> &X;","highlight_start":5,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"provide a definition for the function","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":477,"byte_end":478,"line_start":20,"line_end":20,"column_start":26,"column_end":27,"is_primary":true,"text":[{"text":"    fn deref(&self) -> &X;","highlight_start":26,"highlight_end":27}],"label":null,"suggested_replacement":" { <body> }","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error: associated function in `impl` without body\n  --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:20:5\n   |\n20 |     fn deref(&self) -> &X;\n   |     ^^^^^^^^^^^^^^^^^^^^^-\n   |                          |\n   |                          help: provide a definition for the function: `{ <body> }`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"associated function in `impl` without body","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":483,"byte_end":517,"line_start":21,"line_end":21,"column_start":5,"column_end":39,"is_primary":true,"text":[{"text":"    fn deref_mut(&mut self) -> &mut X;","highlight_start":5,"highlight_end":39}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"provide a definition for the function","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":516,"byte_end":517,"line_start":21,"line_end":21,"column_start":38,"column_end":39,"is_primary":true,"text":[{"text":"    fn deref_mut(&mut self) -> &mut X;","highlight_start":38,"highlight_end":39}],"label":null,"suggested_replacement":" { <body> }","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error: associated function in `impl` without body\n  --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:21:5\n   |\n21 |     fn deref_mut(&mut self) -> &mut X;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-\n   |                                      |\n   |                                      help: provide a definition for the function: `{ <body> }`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":350,"byte_end":358,"line_start":18,"line_end":18,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(MyTrait, target_ref = \"deref\", target_mut = \"deref_mut\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:18:3\n   |\n18 | #[delegate(MyTrait, target_ref = \"deref\", target_mut = \"deref_mut\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused imports: `DerefMut`, `Deref`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":106,"byte_end":111,"line_start":4,"line_end":4,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"use std::ops::{Deref, DerefMut};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":113,"byte_end":121,"line_start":4,"line_end":4,"column_start":23,"column_end":31,"is_primary":true,"text":[{"text":"use std::ops::{Deref, DerefMut};","highlight_start":23,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":91,"byte_end":124,"line_start":4,"line_end":5,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::ops::{Deref, DerefMut};","highlight_start":1,"highlight_end":33},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused imports: `DerefMut`, `Deref`\n --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:4:16\n  |\n4 | use std::ops::{Deref, DerefMut};\n  |                ^^^^^  ^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot define inherent `impl` for a type outside of the crate where the type is defined","code":{"code":"E0116","explanation":"An inherent implementation was defined for a type outside the current crate.\n\nErroneous code example:\n\n```compile_fail,E0116\nimpl Vec<u8> { } // error\n```\n\nYou can only define an inherent implementation for a type in the same crate\nwhere the type was defined. For example, an `impl` block as above is not allowed\nsince `Vec` is defined in the standard library.\n\nTo fix this problem, you can either:\n\n - define a trait that has the desired associated functions/types/constants and\n   implement the trait for the type in question\n - define a new type wrapping the type and define an implementation on the new\n   type\n\nNote that using the `type` keyword does not work here because `type` only\nintroduces a type alias:\n\n```compile_fail,E0116\ntype Bytes = Vec<u8>;\n\nimpl Bytes { } // error, same as above\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":417,"byte_end":449,"line_start":19,"line_end":19,"column_start":1,"column_end":33,"is_primary":true,"text":[{"text":"impl<X: ?Sized + MyTrait> Box<X> {","highlight_start":1,"highlight_end":33}],"label":"impl for type defined outside of crate.","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"define and implement a trait or new type instead","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0116]: cannot define inherent `impl` for a type outside of the crate where the type is defined\n  --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:19:1\n   |\n19 | impl<X: ?Sized + MyTrait> Box<X> {\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl for type defined outside of crate.\n   |\n   = note: define and implement a trait or new type instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0116, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0116, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0116`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0116`.\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/derive_and_trait_in_modules.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/derive_and_trait_in_modules.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/derive_and_trait_in_modules.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/derive_and_trait_in_modules.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/derive_and_trait_in_modules.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/derive_and_trait_in_modules.rs","byte_start":592,"byte_end":600,"line_start":34,"line_end":34,"column_start":7,"column_end":15,"is_primary":true,"text":[{"text":"    #[delegate(Shout)]","highlight_start":7,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/derive_and_trait_in_modules.rs:34:7\n   |\n34 |     #[delegate(Shout)]\n   |       ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/derive_and_trait_in_modules.rs","byte_start":805,"byte_end":810,"line_start":46,"line_end":46,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/derive_and_trait_in_modules.rs","byte_start":613,"byte_end":629,"line_start":35,"line_end":35,"column_start":5,"column_end":21,"is_primary":false,"text":[{"text":"    pub enum Animals {","highlight_start":5,"highlight_end":21}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/derive_and_trait_in_modules.rs","byte_start":118,"byte_end":133,"line_start":8,"line_end":8,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"    pub trait Shout {","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/derive_and_trait_in_modules.rs:46:31\n   |\n35 |     pub enum Animals {\n   |     ---------------- method `shout` not found for this enum\n...\n46 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Animals`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/derive_and_trait_in_modules.rs:8:5\n   |\n8  |     pub trait Shout {\n   |     ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/derive_in_module.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/derive_in_module.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/derive_in_module.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/derive_in_module.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/derive_in_module.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/derive_in_module.rs","byte_start":547,"byte_end":555,"line_start":31,"line_end":31,"column_start":7,"column_end":15,"is_primary":true,"text":[{"text":"    #[delegate(Shout)]","highlight_start":7,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/derive_in_module.rs:31:7\n   |\n31 |     #[delegate(Shout)]\n   |       ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/derive_in_module.rs","byte_start":744,"byte_end":749,"line_start":42,"line_end":42,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/derive_in_module.rs","byte_start":568,"byte_end":584,"line_start":32,"line_end":32,"column_start":5,"column_end":21,"is_primary":false,"text":[{"text":"    pub enum Animals {","highlight_start":5,"highlight_end":21}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/derive_in_module.rs","byte_start":83,"byte_end":98,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/derive_in_module.rs:42:31\n   |\n32 |     pub enum Animals {\n   |     ---------------- method `shout` not found for this enum\n...\n42 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Animals`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/derive_in_module.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_to_remote_methods.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_remote_methods.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_to_remote_methods.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_remote_methods.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"associated function in `impl` without body","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":776,"byte_end":802,"line_start":37,"line_end":37,"column_start":5,"column_end":31,"is_primary":true,"text":[{"text":"    fn get_ref(&self) -> &u32;","highlight_start":5,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"provide a definition for the function","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":801,"byte_end":802,"line_start":37,"line_end":37,"column_start":30,"column_end":31,"is_primary":true,"text":[{"text":"    fn get_ref(&self) -> &u32;","highlight_start":30,"highlight_end":31}],"label":null,"suggested_replacement":" { <body> }","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error: associated function in `impl` without body\n  --> tests/run-pass/delegate_to_remote_methods.rs:37:5\n   |\n37 |     fn get_ref(&self) -> &u32;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^-\n   |                              |\n   |                              help: provide a definition for the function: `{ <body> }`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"associated function in `impl` without body","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":807,"byte_end":845,"line_start":38,"line_end":38,"column_start":5,"column_end":43,"is_primary":true,"text":[{"text":"    fn get_mut_ref(&mut self) -> &mut u32;","highlight_start":5,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"provide a definition for the function","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":844,"byte_end":845,"line_start":38,"line_end":38,"column_start":42,"column_end":43,"is_primary":true,"text":[{"text":"    fn get_mut_ref(&mut self) -> &mut u32;","highlight_start":42,"highlight_end":43}],"label":null,"suggested_replacement":" { <body> }","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error: associated function in `impl` without body\n  --> tests/run-pass/delegate_to_remote_methods.rs:38:5\n   |\n38 |     fn get_mut_ref(&mut self) -> &mut u32;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-\n   |                                          |\n   |                                          help: provide a definition for the function: `{ <body> }`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":659,"byte_end":667,"line_start":35,"line_end":35,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(MyTrait, target_ref = \"get_ref\", target_mut = \"get_mut_ref\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_remote_methods.rs:35:3\n   |\n35 | #[delegate(MyTrait, target_ref = \"get_ref\", target_mut = \"get_mut_ref\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_remote_methods.rs","byte_start":917,"byte_end":920,"line_start":43,"line_end":43,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":343,"byte_end":357,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":917,"byte_end":917,"line_start":43,"line_end":43,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_remote_methods.rs:43:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n43 |     assert_eq!(x.get(), 42);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n43 |     assert_eq!(x.0.get(), 42);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `change` found for struct `Wrap` 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/delegate_to_remote_methods.rs","byte_start":935,"byte_end":941,"line_start":44,"line_end":44,"column_start":7,"column_end":13,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":13}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":343,"byte_end":357,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `change` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`MyTrait` defines an item `change`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":146,"byte_end":159,"line_start":7,"line_end":7,"column_start":1,"column_end":14,"is_primary":true,"text":[{"text":"trait MyTrait {","highlight_start":1,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":935,"byte_end":935,"line_start":44,"line_end":44,"column_start":7,"column_end":7,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":7}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `change` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_remote_methods.rs:44:7\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `change` not found for this struct\n...\n44 |     x.change();\n   |       ^^^^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `MyTrait` defines an item `change`, perhaps you need to implement it\n  --> tests/run-pass/delegate_to_remote_methods.rs:7:1\n   |\n7  | trait MyTrait {\n   | ^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n44 |     x.0.change();\n   |       ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_remote_methods.rs","byte_start":962,"byte_end":965,"line_start":45,"line_end":45,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":343,"byte_end":357,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":962,"byte_end":962,"line_start":45,"line_end":45,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_remote_methods.rs:45:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n45 |     assert_eq!(x.get(), 43);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n45 |     assert_eq!(x.0.get(), 43);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `Deref`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":106,"byte_end":111,"line_start":4,"line_end":4,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"use std::ops::{Deref, DerefMut};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `Deref`\n --> tests/run-pass/delegate_to_remote_methods.rs:4:16\n  |\n4 | use std::ops::{Deref, DerefMut};\n  |                ^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_trait_remote_display.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_trait_remote_display.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/delegate_trait_remote_display.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_trait_remote_display.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `Display` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":296,"byte_end":309,"line_start":15,"line_end":15,"column_start":1,"column_end":14,"is_primary":true,"text":[{"text":"trait Display {","highlight_start":1,"highlight_end":14}],"label":"`Display` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":84,"byte_end":101,"line_start":4,"line_end":4,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":"use std::fmt::Display;","highlight_start":5,"highlight_end":22}],"label":"previous import of the trait `Display` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`Display` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":84,"byte_end":101,"line_start":4,"line_end":4,"column_start":5,"column_end":22,"is_primary":true,"text":[{"text":"use std::fmt::Display;","highlight_start":5,"highlight_end":22}],"label":null,"suggested_replacement":"std::fmt::Display as OtherDisplay","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `Display` is defined multiple times\n  --> tests/run-pass/delegate_trait_remote_display.rs:15:1\n   |\n4  | use std::fmt::Display;\n   |     ----------------- previous import of the trait `Display` here\n...\n15 | trait Display {\n   | ^^^^^^^^^^^^^ `Display` redefined here\n   |\n   = note: `Display` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\n4  | use std::fmt::Display as OtherDisplay;\n   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":420,"byte_end":428,"line_start":20,"line_end":20,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Display)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_trait_remote_display.rs:20:3\n   |\n20 | #[delegate(Display)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `std::fmt::Display`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":84,"byte_end":101,"line_start":4,"line_end":4,"column_start":5,"column_end":22,"is_primary":true,"text":[{"text":"use std::fmt::Display;","highlight_start":5,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":80,"byte_end":103,"line_start":4,"line_end":5,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::fmt::Display;","highlight_start":1,"highlight_end":23},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused import: `std::fmt::Display`\n --> tests/run-pass/delegate_trait_remote_display.rs:4:5\n  |\n4 | use std::fmt::Display;\n  |     ^^^^^^^^^^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"`WrappedCat` doesn't implement `std::fmt::Display`","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":541,"byte_end":551,"line_start":25,"line_end":25,"column_start":20,"column_end":30,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal);","highlight_start":20,"highlight_end":30}],"label":"`WrappedCat` cannot be formatted with the default formatter","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/macros.rs","byte_start":4429,"byte_end":4462,"line_start":143,"line_end":143,"column_start":28,"column_end":61,"is_primary":false,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":526,"byte_end":552,"line_start":25,"line_end":25,"column_start":5,"column_end":31,"is_primary":false,"text":[{"text":"    println!(\"{}\", foo_animal);","highlight_start":5,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"println!","def_site_span":{"file_name":"/rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/macros.rs","byte_start":4307,"byte_end":4327,"line_start":138,"line_end":138,"column_start":1,"column_end":21,"is_primary":false,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::format_args_nl!","def_site_span":{"file_name":"/rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/macros/mod.rs","byte_start":36483,"byte_end":36510,"line_start":1041,"line_end":1041,"column_start":5,"column_end":32,"is_primary":false,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[{"message":"the trait `std::fmt::Display` is not implemented for `WrappedCat`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0277]: `WrappedCat` doesn't implement `std::fmt::Display`\n  --> tests/run-pass/delegate_trait_remote_display.rs:25:20\n   |\n25 |     println!(\"{}\", foo_animal);\n   |                    ^^^^^^^^^^ `WrappedCat` cannot be formatted with the default formatter\n   |\n   = help: the trait `std::fmt::Display` is not implemented for `WrappedCat`\n   = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead\n   = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0255, E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0255, E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0255`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0255`.\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/enum_associated_constant.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/enum_associated_constant.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/enum_associated_constant.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/enum_associated_constant.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegatable_trait` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":91,"byte_end":108,"line_start":6,"line_end":6,"column_start":3,"column_end":20,"is_primary":true,"text":[{"text":"#[delegatable_trait]","highlight_start":3,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegatable_trait` in this scope\n --> tests/run-pass/enum_associated_constant.rs:6:3\n  |\n6 | #[delegatable_trait]\n  |   ^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":388,"byte_end":396,"line_start":27,"line_end":27,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/enum_associated_constant.rs:27:10\n   |\n27 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":401,"byte_end":409,"line_start":28,"line_end":28,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(IntoMany<X>, generics = \"X\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/enum_associated_constant.rs:28:3\n   |\n28 | #[delegate(IntoMany<X>, generics = \"X\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused imports: `BTreeMap`, `HashMap`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":68,"byte_end":76,"line_start":4,"line_end":4,"column_start":24,"column_end":32,"is_primary":true,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":24,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":78,"byte_end":85,"line_start":4,"line_end":4,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":45,"byte_end":88,"line_start":4,"line_end":5,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":1,"highlight_end":43},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused imports: `BTreeMap`, `HashMap`\n --> tests/run-pass/enum_associated_constant.rs:4:24\n  |\n4 | use std::collections::{BTreeMap, HashMap};\n  |                        ^^^^^^^^  ^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `CharOrU32: IntoMany<u8>` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":522,"byte_end":531,"line_start":35,"line_end":35,"column_start":17,"column_end":26,"is_primary":true,"text":[{"text":"    assert_eq!(<CharOrU32 as IntoMany<u8>>::N, 4);","highlight_start":17,"highlight_end":26}],"label":"the trait `IntoMany<u8>` is not implemented for `CharOrU32`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `IntoMany<N>`:\n  <char as IntoMany<u8>>\n  <u16 as IntoMany<u8>>\n  <u32 as IntoMany<u16>>\n  <u32 as IntoMany<u8>>","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `CharOrU32: IntoMany<u8>` is not satisfied\n  --> tests/run-pass/enum_associated_constant.rs:35:17\n   |\n35 |     assert_eq!(<CharOrU32 as IntoMany<u8>>::N, 4);\n   |                 ^^^^^^^^^ the trait `IntoMany<u8>` is not implemented for `CharOrU32`\n   |\n   = help: the following other types implement trait `IntoMany<N>`:\n             <char as IntoMany<u8>>\n             <u16 as IntoMany<u8>>\n             <u32 as IntoMany<u16>>\n             <u32 as IntoMany<u8>>\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\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/double_generics.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/double_generics.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/double_generics.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/double_generics.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/double_generics.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/double_generics.rs","byte_start":168,"byte_end":176,"line_start":12,"line_end":12,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/double_generics.rs:12:10\n   |\n12 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/double_generics.rs","byte_start":181,"byte_end":189,"line_start":13,"line_end":13,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Target<T, U>, generics = \"T, U\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/double_generics.rs:13:3\n   |\n13 | #[delegate(Target<T, U>, generics = \"T, U\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegatable_trait` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/double_generics.rs","byte_start":48,"byte_end":65,"line_start":5,"line_end":5,"column_start":3,"column_end":20,"is_primary":true,"text":[{"text":"#[delegatable_trait]","highlight_start":3,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegatable_trait` in this scope\n --> tests/run-pass/double_generics.rs:5:3\n  |\n5 | #[delegatable_trait]\n  |   ^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\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/enum_associated_types.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/enum_associated_types.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/enum_associated_types.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_types.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/enum_associated_types.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_types.rs","byte_start":449,"byte_end":457,"line_start":34,"line_end":34,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Animal)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/enum_associated_types.rs:34:3\n   |\n34 | #[delegate(Animal)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `Either<Cat, Kitten>: Animal` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_types.rs","byte_start":565,"byte_end":584,"line_start":42,"line_end":42,"column_start":35,"column_end":54,"is_primary":true,"text":[{"text":"    println!(\"{:?}\", type_name::<<Either<Cat, Kitten> as Animal>::Baby>());","highlight_start":35,"highlight_end":54}],"label":"the trait `Animal` is not implemented for `Either<Cat, Kitten>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `Animal`:\n  Cat\n  Dog\n  Kitten\n  Puppy","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `Either<Cat, Kitten>: Animal` is not satisfied\n  --> tests/run-pass/enum_associated_types.rs:42:35\n   |\n42 |     println!(\"{:?}\", type_name::<<Either<Cat, Kitten> as Animal>::Baby>());\n   |                                   ^^^^^^^^^^^^^^^^^^^ the trait `Animal` is not implemented for `Either<Cat, Kitten>`\n   |\n   = help: the following other types implement trait `Animal`:\n             Cat\n             Dog\n             Kitten\n             Puppy\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\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_enum.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_enum.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/generic_enum.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_enum.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_enum.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_enum.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_enum.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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_enum.rs","byte_start":623,"byte_end":628,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_enum.rs","byte_start":457,"byte_end":492,"line_start":28,"line_end":28,"column_start":1,"column_end":36,"is_primary":false,"text":[{"text":"pub enum Either<A: Shout, B: Shout> {","highlight_start":1,"highlight_end":36}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_enum.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/generic_enum.rs:35:31\n   |\n28 | pub enum Either<A: Shout, B: Shout> {\n   | ----------------------------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_enum.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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_enum.rs","byte_start":721,"byte_end":726,"line_start":37,"line_end":37,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_enum.rs","byte_start":457,"byte_end":492,"line_start":28,"line_end":28,"column_start":1,"column_end":36,"is_primary":false,"text":[{"text":"pub enum Either<A: Shout, B: Shout> {","highlight_start":1,"highlight_end":36}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_enum.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/generic_enum.rs:37:31\n   |\n28 | pub enum Either<A: Shout, B: Shout> {\n   | ----------------------------------- method `shout` not found for this enum\n...\n37 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_enum.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_method.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_method.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/generic_method.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_method.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":549,"byte_end":557,"line_start":38,"line_end":38,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(StaticCall)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_method.rs:38:3\n   |\n38 | #[delegate(StaticCall)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `call` found for struct `WrappedCaller` 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_method.rs","byte_start":774,"byte_end":778,"line_start":44,"line_end":44,"column_start":15,"column_end":19,"is_primary":true,"text":[{"text":"    assert!(c.call::<StaticTrue>());","highlight_start":15,"highlight_end":19}],"label":"this is an associated function, not a method","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_method.rs","byte_start":571,"byte_end":595,"line_start":39,"line_end":39,"column_start":1,"column_end":25,"is_primary":false,"text":[{"text":"pub struct WrappedCaller(BaseCaller);","highlight_start":1,"highlight_end":25}],"label":"method `call` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"found the following associated functions; to be used as methods, functions must have a `self` parameter","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"the candidate is defined in the trait `StaticFn`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":95,"byte_end":113,"line_start":6,"line_end":6,"column_start":5,"column_end":23,"is_primary":true,"text":[{"text":"    fn call() -> bool;","highlight_start":5,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `call`, perhaps you need to implement one of them:\ncandidate #1: `StaticCall`\ncandidate #2: `Fn`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"use associated function syntax instead","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":772,"byte_end":794,"line_start":44,"line_end":44,"column_start":13,"column_end":35,"is_primary":true,"text":[{"text":"    assert!(c.call::<StaticTrue>());","highlight_start":13,"highlight_end":35}],"label":null,"suggested_replacement":"WrappedCaller::call()","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":774,"byte_end":774,"line_start":44,"line_end":44,"column_start":15,"column_end":15,"is_primary":true,"text":[{"text":"    assert!(c.call::<StaticTrue>());","highlight_start":15,"highlight_end":15}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `call` found for struct `WrappedCaller` in the current scope\n  --> tests/run-pass/generic_method.rs:44:15\n   |\n39 | pub struct WrappedCaller(BaseCaller);\n   | ------------------------ method `call` not found for this struct\n...\n44 |     assert!(c.call::<StaticTrue>());\n   |               ^^^^ this is an associated function, not a method\n   |\n   = note: found the following associated functions; to be used as methods, functions must have a `self` parameter\nnote: the candidate is defined in the trait `StaticFn`\n  --> tests/run-pass/generic_method.rs:6:5\n   |\n6  |     fn call() -> bool;\n   |     ^^^^^^^^^^^^^^^^^^\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `call`, perhaps you need to implement one of them:\n           candidate #1: `StaticCall`\n           candidate #2: `Fn`\nhelp: use associated function syntax instead\n   |\n44 |     assert!(WrappedCaller::call());\n   |             ~~~~~~~~~~~~~~~~~~~~~\nhelp: one of the expressions' fields has a method of the same name\n   |\n44 |     assert!(c.0.call::<StaticTrue>());\n   |               ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `call` found for struct `WrappedCaller` 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_method.rs","byte_start":812,"byte_end":816,"line_start":45,"line_end":45,"column_start":16,"column_end":20,"is_primary":true,"text":[{"text":"    assert!(!c.call::<StaticFalse>());","highlight_start":16,"highlight_end":20}],"label":"this is an associated function, not a method","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_method.rs","byte_start":571,"byte_end":595,"line_start":39,"line_end":39,"column_start":1,"column_end":25,"is_primary":false,"text":[{"text":"pub struct WrappedCaller(BaseCaller);","highlight_start":1,"highlight_end":25}],"label":"method `call` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"found the following associated functions; to be used as methods, functions must have a `self` parameter","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"the candidate is defined in the trait `StaticFn`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":95,"byte_end":113,"line_start":6,"line_end":6,"column_start":5,"column_end":23,"is_primary":true,"text":[{"text":"    fn call() -> bool;","highlight_start":5,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `call`, perhaps you need to implement one of them:\ncandidate #1: `StaticCall`\ncandidate #2: `Fn`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"use associated function syntax instead","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":810,"byte_end":833,"line_start":45,"line_end":45,"column_start":14,"column_end":37,"is_primary":true,"text":[{"text":"    assert!(!c.call::<StaticFalse>());","highlight_start":14,"highlight_end":37}],"label":null,"suggested_replacement":"WrappedCaller::call()","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":812,"byte_end":812,"line_start":45,"line_end":45,"column_start":16,"column_end":16,"is_primary":true,"text":[{"text":"    assert!(!c.call::<StaticFalse>());","highlight_start":16,"highlight_end":16}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `call` found for struct `WrappedCaller` in the current scope\n  --> tests/run-pass/generic_method.rs:45:16\n   |\n39 | pub struct WrappedCaller(BaseCaller);\n   | ------------------------ method `call` not found for this struct\n...\n45 |     assert!(!c.call::<StaticFalse>());\n   |                ^^^^ this is an associated function, not a method\n   |\n   = note: found the following associated functions; to be used as methods, functions must have a `self` parameter\nnote: the candidate is defined in the trait `StaticFn`\n  --> tests/run-pass/generic_method.rs:6:5\n   |\n6  |     fn call() -> bool;\n   |     ^^^^^^^^^^^^^^^^^^\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `call`, perhaps you need to implement one of them:\n           candidate #1: `StaticCall`\n           candidate #2: `Fn`\nhelp: use associated function syntax instead\n   |\n45 |     assert!(!WrappedCaller::call());\n   |              ~~~~~~~~~~~~~~~~~~~~~\nhelp: one of the expressions' fields has a method of the same name\n   |\n45 |     assert!(!c.0.call::<StaticFalse>());\n   |                ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/gat.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/gat.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/gat.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/gat.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/gat.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/gat.rs","byte_start":454,"byte_end":462,"line_start":24,"line_end":24,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(StreamingIterator)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/gat.rs:24:3\n   |\n24 | #[delegate(StreamingIterator)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `next` found for struct `Wrap` 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/gat.rs","byte_start":601,"byte_end":605,"line_start":29,"line_end":29,"column_start":28,"column_end":32,"is_primary":true,"text":[{"text":"    let m: &mut String = x.next().unwrap();","highlight_start":28,"highlight_end":32}],"label":"method not found in `Wrap<RepeatMut<_>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/gat.rs","byte_start":483,"byte_end":501,"line_start":25,"line_end":25,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"pub struct Wrap<X>(X);","highlight_start":1,"highlight_end":19}],"label":"method `next` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `next`, perhaps you need to implement one of them:\ncandidate #1: `StreamingIterator`\ncandidate #2: `Iterator`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/gat.rs","byte_start":601,"byte_end":601,"line_start":29,"line_end":29,"column_start":28,"column_end":28,"is_primary":true,"text":[{"text":"    let m: &mut String = x.next().unwrap();","highlight_start":28,"highlight_end":28}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `next` found for struct `Wrap` in the current scope\n  --> tests/run-pass/gat.rs:29:28\n   |\n25 | pub struct Wrap<X>(X);\n   | ------------------ method `next` not found for this struct\n...\n29 |     let m: &mut String = x.next().unwrap();\n   |                            ^^^^ method not found in `Wrap<RepeatMut<_>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `next`, perhaps you need to implement one of them:\n           candidate #1: `StreamingIterator`\n           candidate #2: `Iterator`\nhelp: one of the expressions' fields has a method of the same name\n   |\n29 |     let m: &mut String = x.0.next().unwrap();\n   |                            ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `next` found for struct `Wrap` 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/gat.rs","byte_start":652,"byte_end":656,"line_start":31,"line_end":31,"column_start":18,"column_end":22,"is_primary":true,"text":[{"text":"    assert_eq!(x.next().unwrap(), \"forever?\");","highlight_start":18,"highlight_end":22}],"label":"method not found in `Wrap<RepeatMut<_>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/gat.rs","byte_start":483,"byte_end":501,"line_start":25,"line_end":25,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"pub struct Wrap<X>(X);","highlight_start":1,"highlight_end":19}],"label":"method `next` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `next`, perhaps you need to implement one of them:\ncandidate #1: `StreamingIterator`\ncandidate #2: `Iterator`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/gat.rs","byte_start":652,"byte_end":652,"line_start":31,"line_end":31,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.next().unwrap(), \"forever?\");","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `next` found for struct `Wrap` in the current scope\n  --> tests/run-pass/gat.rs:31:18\n   |\n25 | pub struct Wrap<X>(X);\n   | ------------------ method `next` not found for this struct\n...\n31 |     assert_eq!(x.next().unwrap(), \"forever?\");\n   |                  ^^^^ method not found in `Wrap<RepeatMut<_>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `next`, perhaps you need to implement one of them:\n           candidate #1: `StreamingIterator`\n           candidate #2: `Iterator`\nhelp: one of the expressions' fields has a method of the same name\n   |\n31 |     assert_eq!(x.0.next().unwrap(), \"forever?\");\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_struct.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_struct.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/generic_struct.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_struct.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, target = \"bar\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_struct.rs:27:3\n   |\n27 | #[delegate(Shout, target = \"bar\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedAnimals` 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_struct.rs","byte_start":646,"byte_end":651,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedAnimals<Cat>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_struct.rs","byte_start":473,"byte_end":508,"line_start":28,"line_end":28,"column_start":1,"column_end":36,"is_primary":false,"text":[{"text":"pub struct WrappedAnimals<A: Shout> {","highlight_start":1,"highlight_end":36}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"some of the expressions' fields have a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":646,"byte_end":646,"line_start":35,"line_end":35,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"bar.","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"tests/run-pass/generic_struct.rs","byte_start":646,"byte_end":646,"line_start":35,"line_end":35,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"foo.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedAnimals` in the current scope\n  --> tests/run-pass/generic_struct.rs:35:31\n   |\n28 | pub struct WrappedAnimals<A: Shout> {\n   | ----------------------------------- method `shout` not found for this struct\n...\n35 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedAnimals<Cat>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_struct.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: some of the expressions' fields have a method of the same name\n   |\n35 |     println!(\"{}\", foo_animal.bar.shout(\"BAR\"));\n   |                               ++++\n35 |     println!(\"{}\", foo_animal.foo.shout(\"BAR\"));\n   |                               ++++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedAnimals` 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_struct.rs","byte_start":751,"byte_end":756,"line_start":37,"line_end":37,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedAnimals<Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_struct.rs","byte_start":473,"byte_end":508,"line_start":28,"line_end":28,"column_start":1,"column_end":36,"is_primary":false,"text":[{"text":"pub struct WrappedAnimals<A: Shout> {","highlight_start":1,"highlight_end":36}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"some of the expressions' fields have a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":751,"byte_end":751,"line_start":37,"line_end":37,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"bar.","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"tests/run-pass/generic_struct.rs","byte_start":751,"byte_end":751,"line_start":37,"line_end":37,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"foo.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedAnimals` in the current scope\n  --> tests/run-pass/generic_struct.rs:37:31\n   |\n28 | pub struct WrappedAnimals<A: Shout> {\n   | ----------------------------------- method `shout` not found for this struct\n...\n37 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedAnimals<Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_struct.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: some of the expressions' fields have a method of the same name\n   |\n37 |     println!(\"{}\", bar_animal.bar.shout(\"BAR\"));\n   |                               ++++\n37 |     println!(\"{}\", bar_animal.foo.shout(\"BAR\"));\n   |                               ++++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_trait_complex.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_trait_complex.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/generic_trait_complex.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_complex.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_trait_complex.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_complex.rs","byte_start":381,"byte_end":389,"line_start":20,"line_end":20,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout<(Y, &'a str)>, generics = \"'a, Y\", target=\"0\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_trait_complex.rs:20:3\n   |\n20 | #[delegate(Shout<(Y, &'a str)>, generics = \"'a, Y\", target=\"0\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedCat` 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_trait_complex.rs","byte_start":543,"byte_end":548,"line_start":25,"line_end":25,"column_start":22,"column_end":27,"is_primary":true,"text":[{"text":"    println!(\"{}\", c.shout((5, \"bar\")))","highlight_start":22,"highlight_end":27}],"label":"method not found in `WrappedCat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_trait_complex.rs","byte_start":444,"byte_end":465,"line_start":21,"line_end":21,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub struct WrappedCat(Cat, ());","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_trait_complex.rs","byte_start":118,"byte_end":136,"line_start":7,"line_end":7,"column_start":1,"column_end":19,"is_primary":true,"text":[{"text":"pub trait Shout<T> {","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_complex.rs","byte_start":543,"byte_end":543,"line_start":25,"line_end":25,"column_start":22,"column_end":22,"is_primary":true,"text":[{"text":"    println!(\"{}\", c.shout((5, \"bar\")))","highlight_start":22,"highlight_end":22}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedCat` in the current scope\n  --> tests/run-pass/generic_trait_complex.rs:25:22\n   |\n21 | pub struct WrappedCat(Cat, ());\n   | --------------------- method `shout` not found for this struct\n...\n25 |     println!(\"{}\", c.shout((5, \"bar\")))\n   |                      ^^^^^ method not found in `WrappedCat`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_trait_complex.rs:7:1\n   |\n7  | pub trait Shout<T> {\n   | ^^^^^^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n25 |     println!(\"{}\", c.0.shout((5, \"bar\")))\n   |                      ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_trait_lifetime.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_trait_lifetime.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/generic_trait_lifetime.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_lifetime.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_trait_lifetime.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_lifetime.rs","byte_start":327,"byte_end":335,"line_start":20,"line_end":20,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Ref<'x>, generics = \"'x\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_trait_lifetime.rs:20:3\n   |\n20 | #[delegate(Ref<'x>, generics = \"'x\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `deref` found for struct `WrapRef` 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_trait_lifetime.rs","byte_start":464,"byte_end":469,"line_start":26,"line_end":26,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    assert_eq!(*y.deref(), 5)","highlight_start":19,"highlight_end":24}],"label":"method not found in `WrapRef<'_, {integer}>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_trait_lifetime.rs","byte_start":363,"byte_end":384,"line_start":21,"line_end":21,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"struct WrapRef<'a, T>(&'a T);","highlight_start":1,"highlight_end":22}],"label":"method `deref` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `deref`, perhaps you need to implement one of them:\ncandidate #1: `Ref`\ncandidate #2: `Deref`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_lifetime.rs","byte_start":464,"byte_end":464,"line_start":26,"line_end":26,"column_start":19,"column_end":19,"is_primary":true,"text":[{"text":"    assert_eq!(*y.deref(), 5)","highlight_start":19,"highlight_end":19}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `deref` found for struct `WrapRef` in the current scope\n  --> tests/run-pass/generic_trait_lifetime.rs:26:19\n   |\n21 | struct WrapRef<'a, T>(&'a T);\n   | --------------------- method `deref` not found for this struct\n...\n26 |     assert_eq!(*y.deref(), 5)\n   |                   ^^^^^ method not found in `WrapRef<'_, {integer}>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `deref`, perhaps you need to implement one of them:\n           candidate #1: `Ref`\n           candidate #2: `Deref`\nhelp: one of the expressions' fields has a method of the same name\n   |\n26 |     assert_eq!(*y.0.deref(), 5)\n   |                   ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_trait_any.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_trait_any.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/generic_trait_any.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_trait_any.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `Index` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":138,"byte_end":166,"line_start":8,"line_end":8,"column_start":1,"column_end":29,"is_primary":true,"text":[{"text":"pub trait Index<Idx: ?Sized> {","highlight_start":1,"highlight_end":29}],"label":"`Index` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":92,"byte_end":107,"line_start":5,"line_end":5,"column_start":5,"column_end":20,"is_primary":false,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":"previous import of the trait `Index` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`Index` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":92,"byte_end":107,"line_start":5,"line_end":5,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":"std::ops::Index as OtherIndex","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `Index` is defined multiple times\n --> tests/run-pass/generic_trait_any.rs:8:1\n  |\n5 | use std::ops::Index;\n  |     --------------- previous import of the trait `Index` here\n...\n8 | pub trait Index<Idx: ?Sized> {\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Index` redefined here\n  |\n  = note: `Index` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n  |\n5 | use std::ops::Index as OtherIndex;\n  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegatable_trait_remote` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":112,"byte_end":136,"line_start":7,"line_end":7,"column_start":3,"column_end":27,"is_primary":true,"text":[{"text":"#[delegatable_trait_remote]","highlight_start":3,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegatable_trait_remote` in this scope\n --> tests/run-pass/generic_trait_any.rs:7:3\n  |\n7 | #[delegatable_trait_remote]\n  |   ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":256,"byte_end":264,"line_start":13,"line_end":13,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/generic_trait_any.rs:13:10\n   |\n13 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":269,"byte_end":277,"line_start":14,"line_end":14,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Index<X>, generics = \"X\", where = \"X: Copy\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_trait_any.rs:14:3\n   |\n14 | #[delegate(Index<X>, generics = \"X\", where = \"X: Copy\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `std::ops::Index`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":92,"byte_end":107,"line_start":5,"line_end":5,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":88,"byte_end":109,"line_start":5,"line_end":6,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":1,"highlight_end":21},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused import: `std::ops::Index`\n --> tests/run-pass/generic_trait_any.rs:5:5\n  |\n5 | use std::ops::Index;\n  |     ^^^^^^^^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot index into a value of type `SomeMap<String, &str>`","code":{"code":"E0608","explanation":"An attempt to use index on a type which doesn't implement the `std::ops::Index`\ntrait was performed.\n\nErroneous code example:\n\n```compile_fail,E0608\n0u8[2]; // error: cannot index into a value of type `u8`\n```\n\nTo be able to index into a type it needs to implement the `std::ops::Index`\ntrait. Example:\n\n```\nlet v: Vec<u8> = vec![0, 1, 2, 3];\n\n// The `Vec` type implements the `Index` trait so you can do:\nprintln!(\"{}\", v[2]);\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":583,"byte_end":590,"line_start":23,"line_end":23,"column_start":18,"column_end":25,"is_primary":true,"text":[{"text":"    assert_eq!(m1[\"dog\"], \"wuff\");","highlight_start":18,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0608]: cannot index into a value of type `SomeMap<String, &str>`\n  --> tests/run-pass/generic_trait_any.rs:23:18\n   |\n23 |     assert_eq!(m1[\"dog\"], \"wuff\");\n   |                  ^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot index into a value of type `SomeMap<String, &str>`","code":{"code":"E0608","explanation":"An attempt to use index on a type which doesn't implement the `std::ops::Index`\ntrait was performed.\n\nErroneous code example:\n\n```compile_fail,E0608\n0u8[2]; // error: cannot index into a value of type `u8`\n```\n\nTo be able to index into a type it needs to implement the `std::ops::Index`\ntrait. Example:\n\n```\nlet v: Vec<u8> = vec![0, 1, 2, 3];\n\n// The `Vec` type implements the `Index` trait so you can do:\nprintln!(\"{}\", v[2]);\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":618,"byte_end":625,"line_start":24,"line_end":24,"column_start":18,"column_end":25,"is_primary":true,"text":[{"text":"    assert_eq!(m2[\"cat\"], \"meow\");","highlight_start":18,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0608]: cannot index into a value of type `SomeMap<String, &str>`\n  --> tests/run-pass/generic_trait_any.rs:24:18\n   |\n24 |     assert_eq!(m2[\"cat\"], \"meow\");\n   |                  ^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0255, E0464, E0608.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0255, E0464, E0608.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0255`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0255`.\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/inhibit_where_clause.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/inhibit_where_clause.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/inhibit_where_clause.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/inhibit_where_clause.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/inhibit_where_clause.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/inhibit_where_clause.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout,automatic_where_clause=\"false\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/inhibit_where_clause.rs:27:3\n   |\n27 | #[delegate(Shout,automatic_where_clause=\"false\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `WrappedAnimals: Shout` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/inhibit_where_clause.rs","byte_start":696,"byte_end":706,"line_start":37,"line_end":37,"column_start":12,"column_end":22,"is_primary":true,"text":[{"text":"    use_it(foo_animal);","highlight_start":12,"highlight_end":22}],"label":"the trait `Shout` is not implemented for `WrappedAnimals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/inhibit_where_clause.rs","byte_start":689,"byte_end":695,"line_start":37,"line_end":37,"column_start":5,"column_end":11,"is_primary":false,"text":[{"text":"    use_it(foo_animal);","highlight_start":5,"highlight_end":11}],"label":"required by a bound introduced by this call","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `Shout`:\n  Cat\n  Dog","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"required by a bound in `use_it`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/inhibit_where_clause.rs","byte_start":550,"byte_end":555,"line_start":31,"line_end":31,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"fn use_it<T: Shout> (shouter: T) {","highlight_start":14,"highlight_end":19}],"label":"required by this bound in `use_it`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `WrappedAnimals: Shout` is not satisfied\n  --> tests/run-pass/inhibit_where_clause.rs:37:12\n   |\n37 |     use_it(foo_animal);\n   |     ------ ^^^^^^^^^^ the trait `Shout` is not implemented for `WrappedAnimals`\n   |     |\n   |     required by a bound introduced by this call\n   |\n   = help: the following other types implement trait `Shout`:\n             Cat\n             Dog\nnote: required by a bound in `use_it`\n  --> tests/run-pass/inhibit_where_clause.rs:31:14\n   |\n31 | fn use_it<T: Shout> (shouter: T) {\n   |              ^^^^^ required by this bound in `use_it`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\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_trait_single_type.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_trait_single_type.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/generic_trait_single_type.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_trait_single_type.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `Index` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":94,"byte_end":122,"line_start":6,"line_end":6,"column_start":1,"column_end":29,"is_primary":true,"text":[{"text":"pub trait Index<Idx: ?Sized> {","highlight_start":1,"highlight_end":29}],"label":"`Index` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":48,"byte_end":63,"line_start":3,"line_end":3,"column_start":5,"column_end":20,"is_primary":false,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":"previous import of the trait `Index` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`Index` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":48,"byte_end":63,"line_start":3,"line_end":3,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":"std::ops::Index as OtherIndex","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `Index` is defined multiple times\n --> tests/run-pass/generic_trait_single_type.rs:6:1\n  |\n3 | use std::ops::Index;\n  |     --------------- previous import of the trait `Index` here\n...\n6 | pub trait Index<Idx: ?Sized> {\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Index` redefined here\n  |\n  = note: `Index` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n  |\n3 | use std::ops::Index as OtherIndex;\n  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegatable_trait_remote` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":68,"byte_end":92,"line_start":5,"line_end":5,"column_start":3,"column_end":27,"is_primary":true,"text":[{"text":"#[delegatable_trait_remote]","highlight_start":3,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegatable_trait_remote` in this scope\n --> tests/run-pass/generic_trait_single_type.rs:5:3\n  |\n5 | #[delegatable_trait_remote]\n  |   ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":213,"byte_end":221,"line_start":12,"line_end":12,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/generic_trait_single_type.rs:12:10\n   |\n12 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":226,"byte_end":234,"line_start":13,"line_end":13,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Index<usize>)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_trait_single_type.rs:13:3\n   |\n13 | #[delegate(Index<usize>)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `std::ops::Index`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":48,"byte_end":63,"line_start":3,"line_end":3,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":44,"byte_end":65,"line_start":3,"line_end":4,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":1,"highlight_end":21},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused import: `std::ops::Index`\n --> tests/run-pass/generic_trait_single_type.rs:3:5\n  |\n3 | use std::ops::Index;\n  |     ^^^^^^^^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot index into a value of type `TinyVec<{integer}>`","code":{"code":"E0608","explanation":"An attempt to use index on a type which doesn't implement the `std::ops::Index`\ntrait was performed.\n\nErroneous code example:\n\n```compile_fail,E0608\n0u8[2]; // error: cannot index into a value of type `u8`\n```\n\nTo be able to index into a type it needs to implement the `std::ops::Index`\ntrait. Example:\n\n```\nlet v: Vec<u8> = vec![0, 1, 2, 3];\n\n// The `Vec` type implements the `Index` trait so you can do:\nprintln!(\"{}\", v[2]);\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":415,"byte_end":418,"line_start":22,"line_end":22,"column_start":19,"column_end":22,"is_primary":true,"text":[{"text":"    assert_eq!(tv1[0], 5);","highlight_start":19,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0608]: cannot index into a value of type `TinyVec<{integer}>`\n  --> tests/run-pass/generic_trait_single_type.rs:22:19\n   |\n22 |     assert_eq!(tv1[0], 5);\n   |                   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot index into a value of type `TinyVec<{integer}>`","code":{"code":"E0608","explanation":"An attempt to use index on a type which doesn't implement the `std::ops::Index`\ntrait was performed.\n\nErroneous code example:\n\n```compile_fail,E0608\n0u8[2]; // error: cannot index into a value of type `u8`\n```\n\nTo be able to index into a type it needs to implement the `std::ops::Index`\ntrait. Example:\n\n```\nlet v: Vec<u8> = vec![0, 1, 2, 3];\n\n// The `Vec` type implements the `Index` trait so you can do:\nprintln!(\"{}\", v[2]);\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":442,"byte_end":445,"line_start":23,"line_end":23,"column_start":19,"column_end":22,"is_primary":true,"text":[{"text":"    assert_eq!(tv2[1], 7);","highlight_start":19,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0608]: cannot index into a value of type `TinyVec<{integer}>`\n  --> tests/run-pass/generic_trait_single_type.rs:23:19\n   |\n23 |     assert_eq!(tv2[1], 7);\n   |                   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0255, E0464, E0608.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0255, E0464, E0608.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0255`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0255`.\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_tuple_struct.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_tuple_struct.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/generic_tuple_struct.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_tuple_struct.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_tuple_struct.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedAnimal` 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_tuple_struct.rs","byte_start":584,"byte_end":589,"line_start":32,"line_end":32,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedAnimal<Cat>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":457,"byte_end":491,"line_start":28,"line_end":28,"column_start":1,"column_end":35,"is_primary":false,"text":[{"text":"pub struct WrappedAnimal<A: Shout>(A);","highlight_start":1,"highlight_end":35}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":584,"byte_end":584,"line_start":32,"line_end":32,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedAnimal` in the current scope\n  --> tests/run-pass/generic_tuple_struct.rs:32:31\n   |\n28 | pub struct WrappedAnimal<A: Shout>(A);\n   | ---------------------------------- method `shout` not found for this struct\n...\n32 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedAnimal<Cat>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_tuple_struct.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n32 |     println!(\"{}\", foo_animal.0.shout(\"BAR\"));\n   |                               ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedAnimal` 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_tuple_struct.rs","byte_start":670,"byte_end":675,"line_start":34,"line_end":34,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedAnimal<Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":457,"byte_end":491,"line_start":28,"line_end":28,"column_start":1,"column_end":35,"is_primary":false,"text":[{"text":"pub struct WrappedAnimal<A: Shout>(A);","highlight_start":1,"highlight_end":35}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":670,"byte_end":670,"line_start":34,"line_end":34,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedAnimal` in the current scope\n  --> tests/run-pass/generic_tuple_struct.rs:34:31\n   |\n28 | pub struct WrappedAnimal<A: Shout>(A);\n   | ---------------------------------- method `shout` not found for this struct\n...\n34 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedAnimal<Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_tuple_struct.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n34 |     println!(\"{}\", bar_animal.0.shout(\"BAR\"));\n   |                               ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/method_mut_ref_self.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/method_mut_ref_self.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/method_mut_ref_self.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/method_mut_ref_self.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":283,"byte_end":291,"line_start":19,"line_end":19,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/method_mut_ref_self.rs:19:3\n   |\n19 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":351,"byte_end":359,"line_start":23,"line_end":23,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/method_mut_ref_self.rs:23:3\n   |\n23 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/method_mut_ref_self.rs","byte_start":519,"byte_end":524,"line_start":31,"line_end":31,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout());","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":368,"byte_end":384,"line_start":24,"line_end":24,"column_start":1,"column_end":17,"is_primary":false,"text":[{"text":"pub enum Animals {","highlight_start":1,"highlight_end":17}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the method `shout` exists on the type `Cat`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":117,"byte_end":147,"line_start":7,"line_end":7,"column_start":5,"column_end":35,"is_primary":true,"text":[{"text":"    fn shout(&mut self) -> String;","highlight_start":5,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/method_mut_ref_self.rs:31:31\n   |\n24 | pub enum Animals {\n   | ---------------- method `shout` not found for this enum\n...\n31 |     println!(\"{}\", foo_animal.shout());\n   |                               ^^^^^ method not found in `Animals`\n   |\nnote: the method `shout` exists on the type `Cat`\n  --> tests/run-pass/method_mut_ref_self.rs:7:5\n   |\n7  |     fn shout(&mut self) -> String;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/method_mut_ref_self.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/method_ref_self.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/method_ref_self.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/method_ref_self.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/method_ref_self.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/method_ref_self.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/method_ref_self.rs","byte_start":381,"byte_end":389,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/method_ref_self.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/method_ref_self.rs","byte_start":534,"byte_end":539,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout());","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/method_ref_self.rs","byte_start":398,"byte_end":414,"line_start":28,"line_end":28,"column_start":1,"column_end":17,"is_primary":false,"text":[{"text":"pub enum Animals {","highlight_start":1,"highlight_end":17}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/method_ref_self.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/method_ref_self.rs:35:31\n   |\n28 | pub enum Animals {\n   | ---------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout());\n   |                               ^^^^^ method not found in `Animals`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/method_ref_self.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/method_self.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/method_self.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/method_self.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/method_self.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/method_self.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/method_self.rs","byte_start":378,"byte_end":386,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/method_self.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/method_self.rs","byte_start":531,"byte_end":536,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout());","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/method_self.rs","byte_start":395,"byte_end":411,"line_start":28,"line_end":28,"column_start":1,"column_end":17,"is_primary":false,"text":[{"text":"pub enum Animals {","highlight_start":1,"highlight_end":17}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/method_self.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/method_self.rs:35:31\n   |\n28 | pub enum Animals {\n   | ---------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout());\n   |                               ^^^^^ method not found in `Animals`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/method_self.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/method_single_arg.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/method_single_arg.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/method_single_arg.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/method_single_arg.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/method_single_arg.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/method_single_arg.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/method_single_arg.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animal` 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/method_single_arg.rs","byte_start":591,"byte_end":596,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animal`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/method_single_arg.rs","byte_start":457,"byte_end":472,"line_start":28,"line_end":28,"column_start":1,"column_end":16,"is_primary":false,"text":[{"text":"pub enum Animal {","highlight_start":1,"highlight_end":16}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/method_single_arg.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animal` in the current scope\n  --> tests/run-pass/method_single_arg.rs:35:31\n   |\n28 | pub enum Animal {\n   | --------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Animal`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/method_single_arg.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/single_trait_single_method.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/single_trait_single_method.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/single_trait_single_method.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/single_trait_single_method.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/single_trait_single_method.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/single_trait_single_method.rs","byte_start":381,"byte_end":389,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/single_trait_single_method.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/single_trait_single_method.rs","byte_start":534,"byte_end":539,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout());","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/single_trait_single_method.rs","byte_start":398,"byte_end":414,"line_start":28,"line_end":28,"column_start":1,"column_end":17,"is_primary":false,"text":[{"text":"pub enum Animals {","highlight_start":1,"highlight_end":17}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/single_trait_single_method.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/single_trait_single_method.rs:35:31\n   |\n28 | pub enum Animals {\n   | ---------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout());\n   |                               ^^^^^ method not found in `Animals`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/single_trait_single_method.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/struct_field_target.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/struct_field_target.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/struct_field_target.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/struct_field_target.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/struct_field_target.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/struct_field_target.rs","byte_start":328,"byte_end":336,"line_start":21,"line_end":21,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, target = \"inner\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/struct_field_target.rs:21:3\n   |\n21 | #[delegate(Shout, target = \"inner\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedCat` 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/struct_field_target.rs","byte_start":549,"byte_end":554,"line_start":32,"line_end":32,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedCat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/struct_field_target.rs","byte_start":363,"byte_end":384,"line_start":22,"line_end":22,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub struct WrappedCat {","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/struct_field_target.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/struct_field_target.rs","byte_start":549,"byte_end":549,"line_start":32,"line_end":32,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"inner.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedCat` in the current scope\n  --> tests/run-pass/struct_field_target.rs:32:31\n   |\n22 | pub struct WrappedCat {\n   | --------------------- method `shout` not found for this struct\n...\n32 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedCat`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/struct_field_target.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n32 |     println!(\"{}\", foo_animal.inner.shout(\"BAR\"));\n   |                               ++++++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/muti-feature.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/muti-feature.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/muti-feature.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/muti-feature.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `HashMap` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":738,"byte_end":764,"line_start":33,"line_end":33,"column_start":1,"column_end":27,"is_primary":true,"text":[{"text":"struct HashMap<K, V, S>();","highlight_start":1,"highlight_end":27}],"label":"`HashMap` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/muti-feature.rs","byte_start":173,"byte_end":180,"line_start":6,"line_end":6,"column_start":34,"column_end":41,"is_primary":false,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":34,"highlight_end":41}],"label":"previous import of the type `HashMap` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`HashMap` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":173,"byte_end":180,"line_start":6,"line_end":6,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":"HashMap as OtherHashMap","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `HashMap` is defined multiple times\n  --> tests/run-pass/muti-feature.rs:33:1\n   |\n6  | use std::collections::{BTreeMap, HashMap};\n   |                                  ------- previous import of the type `HashMap` here\n...\n33 | struct HashMap<K, V, S>();\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `HashMap` redefined here\n   |\n   = note: `HashMap` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\n6  | use std::collections::{BTreeMap, HashMap as OtherHashMap};\n   |                                  ~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `BTreeMap` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":885,"byte_end":909,"line_start":37,"line_end":37,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"struct BTreeMap<K, V>();","highlight_start":1,"highlight_end":25}],"label":"`BTreeMap` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/muti-feature.rs","byte_start":163,"byte_end":171,"line_start":6,"line_end":6,"column_start":24,"column_end":32,"is_primary":false,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":24,"highlight_end":32}],"label":"previous import of the type `BTreeMap` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`BTreeMap` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":163,"byte_end":171,"line_start":6,"line_end":6,"column_start":24,"column_end":32,"is_primary":true,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":24,"highlight_end":32}],"label":null,"suggested_replacement":"BTreeMap as OtherBTreeMap","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `BTreeMap` is defined multiple times\n  --> tests/run-pass/muti-feature.rs:37:1\n   |\n6  | use std::collections::{BTreeMap, HashMap};\n   |                        -------- previous import of the type `BTreeMap` here\n...\n37 | struct BTreeMap<K, V>();\n   | ^^^^^^^^^^^^^^^^^^^^^^^^ `BTreeMap` redefined here\n   |\n   = note: `BTreeMap` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\n6  | use std::collections::{BTreeMap as OtherBTreeMap, HashMap};\n   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":612,"byte_end":620,"line_start":32,"line_end":32,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Get<X>, generics = \"X\", target = \"self\", where = \"K: Hash + Eq + Borrow<X>, S: BuildHasher, X: Hash + Eq + ?Sized\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/muti-feature.rs:32:3\n   |\n32 | #[delegate(Get<X>, generics = \"X\", target = \"self\", where = \"K: Hash + Eq + Borrow<X>, S: BuildHasher, X: Hash + Eq + ?Sized\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":787,"byte_end":795,"line_start":36,"line_end":36,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Get<X>, generics = \"X\", target = \"self\", where = \"K: Ord + Borrow<X>, X: Ord + ?Sized\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/muti-feature.rs:36:3\n   |\n36 | #[delegate(Get<X>, generics = \"X\", target = \"self\", where = \"K: Ord + Borrow<X>, X: Ord + ?Sized\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":933,"byte_end":941,"line_start":40,"line_end":40,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Map)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/muti-feature.rs:40:3\n   |\n40 | #[delegate(Map)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":950,"byte_end":958,"line_start":41,"line_end":41,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Get<X>, generics = \"X\", where = \"X: ?Sized, A: Map, B: Map<K=A::K, V=A::V>\")] //auto where clause misses required on super trait","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/muti-feature.rs:41:3\n   |\n41 | #[delegate(Get<X>, generics = \"X\", where = \"X: ?Sized, A: Map, B: Map<K=A::K, V=A::V>\")] //auto where clause misses required on super trait\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `std::borrow::Borrow`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":94,"byte_end":113,"line_start":4,"line_end":4,"column_start":5,"column_end":24,"is_primary":true,"text":[{"text":"use std::borrow::Borrow;","highlight_start":5,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":90,"byte_end":115,"line_start":4,"line_end":5,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::borrow::Borrow;","highlight_start":1,"highlight_end":25},{"text":"use std::cmp::{Eq, Ord};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused import: `std::borrow::Borrow`\n --> tests/run-pass/muti-feature.rs:4:5\n  |\n4 | use std::borrow::Borrow;\n  |     ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused imports: `Eq`, `Ord`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":130,"byte_end":132,"line_start":5,"line_end":5,"column_start":16,"column_end":18,"is_primary":true,"text":[{"text":"use std::cmp::{Eq, Ord};","highlight_start":16,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/muti-feature.rs","byte_start":134,"byte_end":137,"line_start":5,"line_end":5,"column_start":20,"column_end":23,"is_primary":true,"text":[{"text":"use std::cmp::{Eq, Ord};","highlight_start":20,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":115,"byte_end":140,"line_start":5,"line_end":6,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::cmp::{Eq, Ord};","highlight_start":1,"highlight_end":25},{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused imports: `Eq`, `Ord`\n --> tests/run-pass/muti-feature.rs:5:16\n  |\n5 | use std::cmp::{Eq, Ord};\n  |                ^^  ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused imports: `BuildHasher`, `Hash`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":199,"byte_end":210,"line_start":7,"line_end":7,"column_start":17,"column_end":28,"is_primary":true,"text":[{"text":"use std::hash::{BuildHasher, Hash};","highlight_start":17,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/muti-feature.rs","byte_start":212,"byte_end":216,"line_start":7,"line_end":7,"column_start":30,"column_end":34,"is_primary":true,"text":[{"text":"use std::hash::{BuildHasher, Hash};","highlight_start":30,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":183,"byte_end":219,"line_start":7,"line_end":8,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::hash::{BuildHasher, Hash};","highlight_start":1,"highlight_end":36},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused imports: `BuildHasher`, `Hash`\n --> tests/run-pass/muti-feature.rs:7:17\n  |\n7 | use std::hash::{BuildHasher, Hash};\n  |                 ^^^^^^^^^^^  ^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"type parameter `K` is never used","code":{"code":"E0392","explanation":"A type or lifetime parameter has been declared but is not actually used.\n\nErroneous code example:\n\n```compile_fail,E0392\nenum Foo<T> {\n    Bar,\n}\n```\n\nIf the type parameter was included by mistake, this error can be fixed\nby simply removing the type parameter, as shown below:\n\n```\nenum Foo {\n    Bar,\n}\n```\n\nAlternatively, if the type parameter was intentionally inserted, it must be\nused. A simple fix is shown below:\n\n```\nenum Foo<T> {\n    Bar(T),\n}\n```\n\nThis error may also commonly be found when working with unsafe code. For\nexample, when using raw pointers one may wish to specify the lifetime for\nwhich the pointed-at data is valid. An initial attempt (below) causes this\nerror:\n\n```compile_fail,E0392\nstruct Foo<'a, T> {\n    x: *const T,\n}\n```\n\nWe want to express the constraint that Foo should not outlive `'a`, because\nthe data pointed to by `T` is only valid for that lifetime. The problem is\nthat there are no actual uses of `'a`. It's possible to work around this\nby adding a PhantomData type to the struct, using it to tell the compiler\nto act as if the struct contained a borrowed reference `&'a T`:\n\n```\nuse std::marker::PhantomData;\n\nstruct Foo<'a, T: 'a> {\n    x: *const T,\n    phantom: PhantomData<&'a T>\n}\n```\n\n[PhantomData] can also be used to express information about unused type\nparameters.\n\n[PhantomData]: https://doc.rust-lang.org/std/marker/struct.PhantomData.html\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":753,"byte_end":754,"line_start":33,"line_end":33,"column_start":16,"column_end":17,"is_primary":true,"text":[{"text":"struct HashMap<K, V, S>();","highlight_start":16,"highlight_end":17}],"label":"unused type parameter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing `K`, referring to it in a field, or using a marker such as `PhantomData`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if you intended `K` to be a const parameter, use `const K: /* Type */` instead","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0392]: type parameter `K` is never used\n  --> tests/run-pass/muti-feature.rs:33:16\n   |\n33 | struct HashMap<K, V, S>();\n   |                ^ unused type parameter\n   |\n   = help: consider removing `K`, referring to it in a field, or using a marker such as `PhantomData`\n   = help: if you intended `K` to be a const parameter, use `const K: /* Type */` instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"type parameter `V` is never used","code":{"code":"E0392","explanation":"A type or lifetime parameter has been declared but is not actually used.\n\nErroneous code example:\n\n```compile_fail,E0392\nenum Foo<T> {\n    Bar,\n}\n```\n\nIf the type parameter was included by mistake, this error can be fixed\nby simply removing the type parameter, as shown below:\n\n```\nenum Foo {\n    Bar,\n}\n```\n\nAlternatively, if the type parameter was intentionally inserted, it must be\nused. A simple fix is shown below:\n\n```\nenum Foo<T> {\n    Bar(T),\n}\n```\n\nThis error may also commonly be found when working with unsafe code. For\nexample, when using raw pointers one may wish to specify the lifetime for\nwhich the pointed-at data is valid. An initial attempt (below) causes this\nerror:\n\n```compile_fail,E0392\nstruct Foo<'a, T> {\n    x: *const T,\n}\n```\n\nWe want to express the constraint that Foo should not outlive `'a`, because\nthe data pointed to by `T` is only valid for that lifetime. The problem is\nthat there are no actual uses of `'a`. It's possible to work around this\nby adding a PhantomData type to the struct, using it to tell the compiler\nto act as if the struct contained a borrowed reference `&'a T`:\n\n```\nuse std::marker::PhantomData;\n\nstruct Foo<'a, T: 'a> {\n    x: *const T,\n    phantom: PhantomData<&'a T>\n}\n```\n\n[PhantomData] can also be used to express information about unused type\nparameters.\n\n[PhantomData]: https://doc.rust-lang.org/std/marker/struct.PhantomData.html\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":756,"byte_end":757,"line_start":33,"line_end":33,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"struct HashMap<K, V, S>();","highlight_start":19,"highlight_end":20}],"label":"unused type parameter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing `V`, referring to it in a field, or using a marker such as `PhantomData`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if you intended `V` to be a const parameter, use `const V: /* Type */` instead","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0392]: type parameter `V` is never used\n  --> tests/run-pass/muti-feature.rs:33:19\n   |\n33 | struct HashMap<K, V, S>();\n   |                   ^ unused type parameter\n   |\n   = help: consider removing `V`, referring to it in a field, or using a marker such as `PhantomData`\n   = help: if you intended `V` to be a const parameter, use `const V: /* Type */` instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"type parameter `S` is never used","code":{"code":"E0392","explanation":"A type or lifetime parameter has been declared but is not actually used.\n\nErroneous code example:\n\n```compile_fail,E0392\nenum Foo<T> {\n    Bar,\n}\n```\n\nIf the type parameter was included by mistake, this error can be fixed\nby simply removing the type parameter, as shown below:\n\n```\nenum Foo {\n    Bar,\n}\n```\n\nAlternatively, if the type parameter was intentionally inserted, it must be\nused. A simple fix is shown below:\n\n```\nenum Foo<T> {\n    Bar(T),\n}\n```\n\nThis error may also commonly be found when working with unsafe code. For\nexample, when using raw pointers one may wish to specify the lifetime for\nwhich the pointed-at data is valid. An initial attempt (below) causes this\nerror:\n\n```compile_fail,E0392\nstruct Foo<'a, T> {\n    x: *const T,\n}\n```\n\nWe want to express the constraint that Foo should not outlive `'a`, because\nthe data pointed to by `T` is only valid for that lifetime. The problem is\nthat there are no actual uses of `'a`. It's possible to work around this\nby adding a PhantomData type to the struct, using it to tell the compiler\nto act as if the struct contained a borrowed reference `&'a T`:\n\n```\nuse std::marker::PhantomData;\n\nstruct Foo<'a, T: 'a> {\n    x: *const T,\n    phantom: PhantomData<&'a T>\n}\n```\n\n[PhantomData] can also be used to express information about unused type\nparameters.\n\n[PhantomData]: https://doc.rust-lang.org/std/marker/struct.PhantomData.html\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":759,"byte_end":760,"line_start":33,"line_end":33,"column_start":22,"column_end":23,"is_primary":true,"text":[{"text":"struct HashMap<K, V, S>();","highlight_start":22,"highlight_end":23}],"label":"unused type parameter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing `S`, referring to it in a field, or using a marker such as `PhantomData`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if you intended `S` to be a const parameter, use `const S: /* Type */` instead","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0392]: type parameter `S` is never used\n  --> tests/run-pass/muti-feature.rs:33:22\n   |\n33 | struct HashMap<K, V, S>();\n   |                      ^ unused type parameter\n   |\n   = help: consider removing `S`, referring to it in a field, or using a marker such as `PhantomData`\n   = help: if you intended `S` to be a const parameter, use `const S: /* Type */` instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"type parameter `K` is never used","code":{"code":"E0392","explanation":"A type or lifetime parameter has been declared but is not actually used.\n\nErroneous code example:\n\n```compile_fail,E0392\nenum Foo<T> {\n    Bar,\n}\n```\n\nIf the type parameter was included by mistake, this error can be fixed\nby simply removing the type parameter, as shown below:\n\n```\nenum Foo {\n    Bar,\n}\n```\n\nAlternatively, if the type parameter was intentionally inserted, it must be\nused. A simple fix is shown below:\n\n```\nenum Foo<T> {\n    Bar(T),\n}\n```\n\nThis error may also commonly be found when working with unsafe code. For\nexample, when using raw pointers one may wish to specify the lifetime for\nwhich the pointed-at data is valid. An initial attempt (below) causes this\nerror:\n\n```compile_fail,E0392\nstruct Foo<'a, T> {\n    x: *const T,\n}\n```\n\nWe want to express the constraint that Foo should not outlive `'a`, because\nthe data pointed to by `T` is only valid for that lifetime. The problem is\nthat there are no actual uses of `'a`. It's possible to work around this\nby adding a PhantomData type to the struct, using it to tell the compiler\nto act as if the struct contained a borrowed reference `&'a T`:\n\n```\nuse std::marker::PhantomData;\n\nstruct Foo<'a, T: 'a> {\n    x: *const T,\n    phantom: PhantomData<&'a T>\n}\n```\n\n[PhantomData] can also be used to express information about unused type\nparameters.\n\n[PhantomData]: https://doc.rust-lang.org/std/marker/struct.PhantomData.html\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":901,"byte_end":902,"line_start":37,"line_end":37,"column_start":17,"column_end":18,"is_primary":true,"text":[{"text":"struct BTreeMap<K, V>();","highlight_start":17,"highlight_end":18}],"label":"unused type parameter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing `K`, referring to it in a field, or using a marker such as `PhantomData`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if you intended `K` to be a const parameter, use `const K: /* Type */` instead","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0392]: type parameter `K` is never used\n  --> tests/run-pass/muti-feature.rs:37:17\n   |\n37 | struct BTreeMap<K, V>();\n   |                 ^ unused type parameter\n   |\n   = help: consider removing `K`, referring to it in a field, or using a marker such as `PhantomData`\n   = help: if you intended `K` to be a const parameter, use `const K: /* Type */` instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"type parameter `V` is never used","code":{"code":"E0392","explanation":"A type or lifetime parameter has been declared but is not actually used.\n\nErroneous code example:\n\n```compile_fail,E0392\nenum Foo<T> {\n    Bar,\n}\n```\n\nIf the type parameter was included by mistake, this error can be fixed\nby simply removing the type parameter, as shown below:\n\n```\nenum Foo {\n    Bar,\n}\n```\n\nAlternatively, if the type parameter was intentionally inserted, it must be\nused. A simple fix is shown below:\n\n```\nenum Foo<T> {\n    Bar(T),\n}\n```\n\nThis error may also commonly be found when working with unsafe code. For\nexample, when using raw pointers one may wish to specify the lifetime for\nwhich the pointed-at data is valid. An initial attempt (below) causes this\nerror:\n\n```compile_fail,E0392\nstruct Foo<'a, T> {\n    x: *const T,\n}\n```\n\nWe want to express the constraint that Foo should not outlive `'a`, because\nthe data pointed to by `T` is only valid for that lifetime. The problem is\nthat there are no actual uses of `'a`. It's possible to work around this\nby adding a PhantomData type to the struct, using it to tell the compiler\nto act as if the struct contained a borrowed reference `&'a T`:\n\n```\nuse std::marker::PhantomData;\n\nstruct Foo<'a, T: 'a> {\n    x: *const T,\n    phantom: PhantomData<&'a T>\n}\n```\n\n[PhantomData] can also be used to express information about unused type\nparameters.\n\n[PhantomData]: https://doc.rust-lang.org/std/marker/struct.PhantomData.html\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":904,"byte_end":905,"line_start":37,"line_end":37,"column_start":20,"column_end":21,"is_primary":true,"text":[{"text":"struct BTreeMap<K, V>();","highlight_start":20,"highlight_end":21}],"label":"unused type parameter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing `V`, referring to it in a field, or using a marker such as `PhantomData`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if you intended `V` to be a const parameter, use `const V: /* Type */` instead","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0392]: type parameter `V` is never used\n  --> tests/run-pass/muti-feature.rs:37:20\n   |\n37 | struct BTreeMap<K, V>();\n   |                    ^ unused type parameter\n   |\n   = help: consider removing `V`, referring to it in a field, or using a marker such as `PhantomData`\n   = help: if you intended `V` to be a const parameter, use `const V: /* Type */` instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for enum `Either` 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/muti-feature.rs","byte_start":1309,"byte_end":1312,"line_start":50,"line_end":50,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":"    println!(\"{:?}\", my_map.get(\"a\"));","highlight_start":29,"highlight_end":32}],"label":"method not found in `Either<HashMap<&str, u32>, BTreeMap<&str, u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/muti-feature.rs","byte_start":1088,"byte_end":1109,"line_start":42,"line_end":42,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum Either<A, B> {","highlight_start":1,"highlight_end":22}],"label":"method `get` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `Get`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for enum `Either` in the current scope\n  --> tests/run-pass/muti-feature.rs:50:29\n   |\n42 | pub enum Either<A, B> {\n   | --------------------- method `get` not found for this enum\n...\n50 |     println!(\"{:?}\", my_map.get(\"a\"));\n   |                             ^^^ method not found in `Either<HashMap<&str, u32>, BTreeMap<&str, u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `Get`\n           candidate #2: `SliceIndex`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 13 previous errors; 3 warnings emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 13 previous errors; 3 warnings emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0255, E0392, E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0255, E0392, E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0255`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0255`.\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/single_variant.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/single_variant.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/single_variant.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/single_variant.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/single_variant.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/single_variant.rs","byte_start":311,"byte_end":319,"line_start":19,"line_end":19,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/single_variant.rs:19:3\n   |\n19 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animal` 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/single_variant.rs","byte_start":448,"byte_end":453,"line_start":26,"line_end":26,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animal`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/single_variant.rs","byte_start":328,"byte_end":343,"line_start":20,"line_end":20,"column_start":1,"column_end":16,"is_primary":false,"text":[{"text":"pub enum Animal {","highlight_start":1,"highlight_end":16}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the method `shout` exists on the type `Dog`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/single_variant.rs","byte_start":117,"byte_end":156,"line_start":7,"line_end":7,"column_start":5,"column_end":44,"is_primary":true,"text":[{"text":"    fn shout(&self, input: &str) -> String;","highlight_start":5,"highlight_end":44}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/single_variant.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animal` in the current scope\n  --> tests/run-pass/single_variant.rs:26:31\n   |\n20 | pub enum Animal {\n   | --------------- method `shout` not found for this enum\n...\n26 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Animal`\n   |\nnote: the method `shout` exists on the type `Dog`\n  --> tests/run-pass/single_variant.rs:7:5\n   |\n7  |     fn shout(&self, input: &str) -> String;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/single_variant.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/taxonomy.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/taxonomy.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/taxonomy.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/taxonomy.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/taxonomy.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/taxonomy.rs","byte_start":918,"byte_end":926,"line_start":55,"line_end":55,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Taxonomy<X>, generics = \"X\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/taxonomy.rs:55:3\n   |\n55 | #[delegate(Taxonomy<X>, generics = \"X\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `Either<Cat, Dog>: Taxonomy<Class>` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/taxonomy.rs","byte_start":1057,"byte_end":1073,"line_start":63,"line_end":63,"column_start":22,"column_end":38,"is_primary":true,"text":[{"text":"        type_name::<<Either<Cat, Dog> as Taxonomy<Class>>::Res>(),","highlight_start":22,"highlight_end":38}],"label":"the trait `Taxonomy<Class>` is not implemented for `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `Taxonomy<E>`:\n  <Alligator as Taxonomy<Class>>\n  <Cat as Taxonomy<Class>>\n  <Dog as Taxonomy<Class>>\n  <Mammal as Taxonomy<Kingdom>>\n  <Reptile as Taxonomy<Kingdom>>","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `Either<Cat, Dog>: Taxonomy<Class>` is not satisfied\n  --> tests/run-pass/taxonomy.rs:63:22\n   |\n63 |         type_name::<<Either<Cat, Dog> as Taxonomy<Class>>::Res>(),\n   |                      ^^^^^^^^^^^^^^^^ the trait `Taxonomy<Class>` is not implemented for `Either<Cat, Dog>`\n   |\n   = help: the following other types implement trait `Taxonomy<E>`:\n             <Alligator as Taxonomy<Class>>\n             <Cat as Taxonomy<Class>>\n             <Dog as Taxonomy<Class>>\n             <Mammal as Taxonomy<Kingdom>>\n             <Reptile as Taxonomy<Kingdom>>\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `Either<Cat, Alligator>: Base` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/taxonomy.rs","byte_start":1176,"byte_end":1226,"line_start":67,"line_end":67,"column_start":21,"column_end":71,"is_primary":true,"text":[{"text":"        type_name::<<Either<Cat, Alligator> as Taxonomy<Kingdom>>::Res>(),","highlight_start":21,"highlight_end":71}],"label":"the trait `Base` is not implemented for `Either<Cat, Alligator>`, which is required by `Either<Cat, Alligator>: Taxonomy<Kingdom>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `Base`:\n  Alligator\n  Cat\n  Dog","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"required for `Either<Cat, Alligator>` to implement `Taxonomy<Kingdom>`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/taxonomy.rs","byte_start":713,"byte_end":717,"line_start":47,"line_end":47,"column_start":9,"column_end":13,"is_primary":false,"text":[{"text":"impl<E: Base + Taxonomy<Class>> Taxonomy<Kingdom> for E","highlight_start":9,"highlight_end":13}],"label":"unsatisfied trait bound introduced here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/taxonomy.rs","byte_start":737,"byte_end":754,"line_start":47,"line_end":47,"column_start":33,"column_end":50,"is_primary":true,"text":[{"text":"impl<E: Base + Taxonomy<Class>> Taxonomy<Kingdom> for E","highlight_start":33,"highlight_end":50}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/taxonomy.rs","byte_start":759,"byte_end":760,"line_start":47,"line_end":47,"column_start":55,"column_end":56,"is_primary":true,"text":[{"text":"impl<E: Base + Taxonomy<Class>> Taxonomy<Kingdom> for E","highlight_start":55,"highlight_end":56}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `Either<Cat, Alligator>: Base` is not satisfied\n  --> tests/run-pass/taxonomy.rs:67:21\n   |\n67 |         type_name::<<Either<Cat, Alligator> as Taxonomy<Kingdom>>::Res>(),\n   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Base` is not implemented for `Either<Cat, Alligator>`, which is required by `Either<Cat, Alligator>: Taxonomy<Kingdom>`\n   |\n   = help: the following other types implement trait `Base`:\n             Alligator\n             Cat\n             Dog\nnote: required for `Either<Cat, Alligator>` to implement `Taxonomy<Kingdom>`\n  --> tests/run-pass/taxonomy.rs:47:33\n   |\n47 | impl<E: Base + Taxonomy<Class>> Taxonomy<Kingdom> for E\n   |         ----                    ^^^^^^^^^^^^^^^^^     ^\n   |         |\n   |         unsatisfied trait bound introduced here\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `Either<Cat, Alligator>: Taxonomy<Class>` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/taxonomy.rs","byte_start":1176,"byte_end":1226,"line_start":67,"line_end":67,"column_start":21,"column_end":71,"is_primary":true,"text":[{"text":"        type_name::<<Either<Cat, Alligator> as Taxonomy<Kingdom>>::Res>(),","highlight_start":21,"highlight_end":71}],"label":"the trait `Taxonomy<Class>` is not implemented for `Either<Cat, Alligator>`, which is required by `Either<Cat, Alligator>: Taxonomy<Kingdom>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `Taxonomy<E>`:\n  <Alligator as Taxonomy<Class>>\n  <Cat as Taxonomy<Class>>\n  <Dog as Taxonomy<Class>>\n  <Mammal as Taxonomy<Kingdom>>\n  <Reptile as Taxonomy<Kingdom>>","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"required for `Either<Cat, Alligator>` to implement `Taxonomy<Kingdom>`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/taxonomy.rs","byte_start":720,"byte_end":735,"line_start":47,"line_end":47,"column_start":16,"column_end":31,"is_primary":false,"text":[{"text":"impl<E: Base + Taxonomy<Class>> Taxonomy<Kingdom> for E","highlight_start":16,"highlight_end":31}],"label":"unsatisfied trait bound introduced here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/taxonomy.rs","byte_start":737,"byte_end":754,"line_start":47,"line_end":47,"column_start":33,"column_end":50,"is_primary":true,"text":[{"text":"impl<E: Base + Taxonomy<Class>> Taxonomy<Kingdom> for E","highlight_start":33,"highlight_end":50}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/taxonomy.rs","byte_start":759,"byte_end":760,"line_start":47,"line_end":47,"column_start":55,"column_end":56,"is_primary":true,"text":[{"text":"impl<E: Base + Taxonomy<Class>> Taxonomy<Kingdom> for E","highlight_start":55,"highlight_end":56}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `Either<Cat, Alligator>: Taxonomy<Class>` is not satisfied\n  --> tests/run-pass/taxonomy.rs:67:21\n   |\n67 |         type_name::<<Either<Cat, Alligator> as Taxonomy<Kingdom>>::Res>(),\n   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Taxonomy<Class>` is not implemented for `Either<Cat, Alligator>`, which is required by `Either<Cat, Alligator>: Taxonomy<Kingdom>`\n   |\n   = help: the following other types implement trait `Taxonomy<E>`:\n             <Alligator as Taxonomy<Class>>\n             <Cat as Taxonomy<Class>>\n             <Dog as Taxonomy<Class>>\n             <Mammal as Taxonomy<Kingdom>>\n             <Reptile as Taxonomy<Kingdom>>\nnote: required for `Either<Cat, Alligator>` to implement `Taxonomy<Kingdom>`\n  --> tests/run-pass/taxonomy.rs:47:33\n   |\n47 | impl<E: Base + Taxonomy<Class>> Taxonomy<Kingdom> for E\n   |                ---------------  ^^^^^^^^^^^^^^^^^     ^\n   |                |\n   |                unsatisfied trait bound introduced here\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: compilation failed!
[INFO] [stderr] error: test failed, to rerun pass `--test compiletest`
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/run-pass/struct_single_field.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/struct_single_field.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/struct_single_field.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/struct_single_field.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/struct_single_field.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/struct_single_field.rs","byte_start":311,"byte_end":319,"line_start":19,"line_end":19,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/struct_single_field.rs:19:3\n   |\n19 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedCat` 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/struct_single_field.rs","byte_start":465,"byte_end":470,"line_start":26,"line_end":26,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedCat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/struct_single_field.rs","byte_start":328,"byte_end":349,"line_start":20,"line_end":20,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub struct WrappedCat {","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/struct_single_field.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/struct_single_field.rs","byte_start":465,"byte_end":465,"line_start":26,"line_end":26,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"inner.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedCat` in the current scope\n  --> tests/run-pass/struct_single_field.rs:26:31\n   |\n20 | pub struct WrappedCat {\n   | --------------------- method `shout` not found for this struct\n...\n26 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedCat`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/struct_single_field.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n26 |     println!(\"{}\", foo_animal.inner.shout(\"BAR\"));\n   |                               ++++++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/tuple_struct_single_field.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/tuple_struct_single_field.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/tuple_struct_single_field.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/tuple_struct_single_field.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/tuple_struct_single_field.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/tuple_struct_single_field.rs","byte_start":311,"byte_end":319,"line_start":19,"line_end":19,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/tuple_struct_single_field.rs:19:3\n   |\n19 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedCat` 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/tuple_struct_single_field.rs","byte_start":441,"byte_end":446,"line_start":24,"line_end":24,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedCat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/tuple_struct_single_field.rs","byte_start":328,"byte_end":349,"line_start":20,"line_end":20,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub struct WrappedCat(Cat);","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/tuple_struct_single_field.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/tuple_struct_single_field.rs","byte_start":441,"byte_end":441,"line_start":24,"line_end":24,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedCat` in the current scope\n  --> tests/run-pass/tuple_struct_single_field.rs:24:31\n   |\n20 | pub struct WrappedCat(Cat);\n   | --------------------- method `shout` not found for this struct\n...\n24 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedCat`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/tuple_struct_single_field.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n24 |     println!(\"{}\", foo_animal.0.shout(\"BAR\"));\n   |                               ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/where_clause.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/where_clause.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/where_clause.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/where_clause.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, where = \"A: Shout, B: Shout\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/where_clause.rs:27:3\n   |\n27 | #[delegate(Shout, where = \"A: Shout, B: Shout\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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":639,"byte_end":644,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/where_clause.rs","byte_start":487,"byte_end":508,"line_start":28,"line_end":28,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum Either<A, B> {","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/where_clause.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/where_clause.rs:35:31\n   |\n28 | pub enum Either<A, B> {\n   | --------------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/where_clause.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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":737,"byte_end":742,"line_start":37,"line_end":37,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/where_clause.rs","byte_start":487,"byte_end":508,"line_start":28,"line_end":28,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum Either<A, B> {","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/where_clause.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/where_clause.rs:37:31\n   |\n28 | pub enum Either<A, B> {\n   | --------------------- method `shout` not found for this enum\n...\n37 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/where_clause.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/tuple_struct_target.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/tuple_struct_target.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/tuple_struct_target.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/tuple_struct_target.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/tuple_struct_target.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/tuple_struct_target.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, target = \"1\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/tuple_struct_target.rs:27:3\n   |\n27 | #[delegate(Shout, target = \"1\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedAnimals` 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/tuple_struct_target.rs","byte_start":602,"byte_end":607,"line_start":32,"line_end":32,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedAnimals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/tuple_struct_target.rs","byte_start":471,"byte_end":496,"line_start":28,"line_end":28,"column_start":1,"column_end":26,"is_primary":false,"text":[{"text":"pub struct WrappedAnimals(Cat, Dog);","highlight_start":1,"highlight_end":26}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/tuple_struct_target.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"some of the expressions' fields have a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/tuple_struct_target.rs","byte_start":602,"byte_end":602,"line_start":32,"line_end":32,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"tests/run-pass/tuple_struct_target.rs","byte_start":602,"byte_end":602,"line_start":32,"line_end":32,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"1.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedAnimals` in the current scope\n  --> tests/run-pass/tuple_struct_target.rs:32:31\n   |\n28 | pub struct WrappedAnimals(Cat, Dog);\n   | ------------------------- method `shout` not found for this struct\n...\n32 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedAnimals`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/tuple_struct_target.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: some of the expressions' fields have a method of the same name\n   |\n32 |     println!(\"{}\", foo_animal.0.shout(\"BAR\"));\n   |                               ++\n32 |     println!(\"{}\", foo_animal.1.shout(\"BAR\"));\n   |                               ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_split.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/where_clause_split.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/where_clause_split.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/where_clause_split.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/where_clause_split.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/where_clause_split.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, where = \"A: Shout\", where = \"B: Shout\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/where_clause_split.rs:27:3\n   |\n27 | #[delegate(Shout, where = \"A: Shout\", where = \"B: Shout\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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_split.rs","byte_start":649,"byte_end":654,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/where_clause_split.rs","byte_start":497,"byte_end":518,"line_start":28,"line_end":28,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum Either<A, B> {","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/where_clause_split.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/where_clause_split.rs:35:31\n   |\n28 | pub enum Either<A, B> {\n   | --------------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/where_clause_split.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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_split.rs","byte_start":747,"byte_end":752,"line_start":37,"line_end":37,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/where_clause_split.rs","byte_start":497,"byte_end":518,"line_start":28,"line_end":28,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum Either<A, B> {","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/where_clause_split.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/where_clause_split.rs:37:31\n   |\n28 | pub enum Either<A, B> {\n   | --------------------- method `shout` not found for this enum\n...\n37 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/where_clause_split.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/two_enums.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/two_enums.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/lib" "-L" "/tmp/two_enums.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/two_enums.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/two_enums.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/two_enums.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/two_enums.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/two_enums.rs","byte_start":547,"byte_end":555,"line_start":34,"line_end":34,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/two_enums.rs:34:3\n   |\n34 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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/two_enums.rs","byte_start":757,"byte_end":762,"line_start":43,"line_end":43,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/two_enums.rs","byte_start":457,"byte_end":492,"line_start":28,"line_end":28,"column_start":1,"column_end":36,"is_primary":false,"text":[{"text":"pub enum Either<A: Shout, B: Shout> {","highlight_start":1,"highlight_end":36}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/two_enums.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/two_enums.rs:43:31\n   |\n28 | pub enum Either<A: Shout, B: Shout> {\n   | ----------------------------------- method `shout` not found for this enum\n...\n43 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/two_enums.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either3` 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/two_enums.rs","byte_start":862,"byte_end":867,"line_start":45,"line_end":45,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either3<Cat, Dog, Cat>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/two_enums.rs","byte_start":564,"byte_end":610,"line_start":35,"line_end":35,"column_start":1,"column_end":47,"is_primary":false,"text":[{"text":"pub enum Either3<A: Shout, B: Shout, C: Shout> {","highlight_start":1,"highlight_end":47}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/two_enums.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either3` in the current scope\n  --> tests/run-pass/two_enums.rs:45:31\n   |\n35 | pub enum Either3<A: Shout, B: Shout, C: Shout> {\n   | ---------------------------------------------- method `shout` not found for this enum\n...\n45 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either3<Cat, Dog, Cat>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/two_enums.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\n"}
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] thread 'run_pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:111:22:
[INFO] [stdout] Some tests failed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55747dc745c5 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55747dc745c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55747dc745c5 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55747dc745c5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55747dc9e1db - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55747dc9e1db - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55747dc711ef - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55747dc7439e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55747dc7439e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55747dc76449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55747dc7610e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55747d7fcf8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55747d7fcf8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55747dc76a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55747dc76a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55747dc2fb48 - std::panicking::begin_panic::{{closure}}::hb788d041003a3083
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55747dc2a49a - std::sys_common::backtrace::__rust_end_short_backtrace::hccbe68e19729d767
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55747dc2fae7 - std::panicking::begin_panic::hf5ee204659510a2f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55747d8209d4 - compiletest_rs::run_tests::h58ea4e12968b225e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:111:22
[INFO] [stdout]   19:     0x55747d7c968f - compiletest::run_mode::hcaf5b22e09eea20a
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletest.rs:15:5
[INFO] [stdout]   20:     0x55747d7c9702 - compiletest::run_pass::h82c9bef41597b7c7
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletest.rs:20:5
[INFO] [stdout]   21:     0x55747d7c96d7 - compiletest::run_pass::{{closure}}::he12cd14c012edff2
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletest.rs:19:14
[INFO] [stdout]   22:     0x55747d7c8fa6 - core::ops::function::FnOnce::call_once::hd56153ff7f098838
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x55747d80196b - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55747d80196b - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   25:     0x55747d801071 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   26:     0x55747d801071 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x55747d801071 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   28:     0x55747d801071 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   29:     0x55747d801071 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   30:     0x55747d801071 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   31:     0x55747d801071 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   32:     0x55747d7c9a34 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   33:     0x55747d7c9a34 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   34:     0x55747d7ce462 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   35:     0x55747d7ce462 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x55747d7ce462 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   37:     0x55747d7ce462 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   38:     0x55747d7ce462 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   39:     0x55747d7ce462 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   40:     0x55747d7ce462 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   42:     0x55747dc7c9ab - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x55747dc7c9ab - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7f34c9c6dac3 - <unknown>
[INFO] [stdout]   45:     0x7f34c9cfea04 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     compile_fail
[INFO] [stdout]     run_pass
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.18s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f5410b6fe9637f28680f3c145f1b22f349bc2c53f266f54d6b5f937ee3177a73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5410b6fe9637f28680f3c145f1b22f349bc2c53f266f54d6b5f937ee3177a73", kill_on_drop: false }`
[INFO] [stdout] f5410b6fe9637f28680f3c145f1b22f349bc2c53f266f54d6b5f937ee3177a73
[INFO] testing ambassador-0.3.6 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate ambassador 0.3.6 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate ambassador 0.3.6 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ambassador 0.3.6
[INFO] finished tweaking crates.io crate ambassador 0.3.6
[INFO] tweaked toml for crates.io crate ambassador 0.3.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 59 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding compiletest_rs v0.8.0 (latest: v0.10.2)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr]       Adding miow v0.3.7 (latest: v0.6.0)
[INFO] [stderr]       Adding redox_syscall v0.4.1 (latest: v0.5.1)
[INFO] [stderr]       Adding rustfix v0.6.1 (latest: v0.8.2)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d9862c0fd04b89220b6de9ce0d5735070fadad44100b945024417605a77548b
[INFO] running `Command { std: "docker" "start" "-a" "6d9862c0fd04b89220b6de9ce0d5735070fadad44100b945024417605a77548b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d9862c0fd04b89220b6de9ce0d5735070fadad44100b945024417605a77548b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d9862c0fd04b89220b6de9ce0d5735070fadad44100b945024417605a77548b", kill_on_drop: false }`
[INFO] [stdout] 6d9862c0fd04b89220b6de9ce0d5735070fadad44100b945024417605a77548b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe604b8e644d6818d326d5e4315d12ad9b1991d386769525a0daad10f096fa0e
[INFO] running `Command { std: "docker" "start" "-a" "fe604b8e644d6818d326d5e4315d12ad9b1991d386769525a0daad10f096fa0e", kill_on_drop: false }`
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ambassador v0.3.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.48s
[INFO] running `Command { std: "docker" "inspect" "fe604b8e644d6818d326d5e4315d12ad9b1991d386769525a0daad10f096fa0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe604b8e644d6818d326d5e4315d12ad9b1991d386769525a0daad10f096fa0e", kill_on_drop: false }`
[INFO] [stdout] fe604b8e644d6818d326d5e4315d12ad9b1991d386769525a0daad10f096fa0e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 18904bd92233bf7782444d6fcdaf6bdae2c9638b5e910496d6ea2e4e482eca00
[INFO] running `Command { std: "docker" "start" "-a" "18904bd92233bf7782444d6fcdaf6bdae2c9638b5e910496d6ea2e4e482eca00", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling unicode-width v0.1.12
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling compiletest_rs v0.8.0
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling tester v0.9.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling ambassador v0.3.6 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling rustfix v0.6.1
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 22.24s
[INFO] running `Command { std: "docker" "inspect" "18904bd92233bf7782444d6fcdaf6bdae2c9638b5e910496d6ea2e4e482eca00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18904bd92233bf7782444d6fcdaf6bdae2c9638b5e910496d6ea2e4e482eca00", kill_on_drop: false }`
[INFO] [stdout] 18904bd92233bf7782444d6fcdaf6bdae2c9638b5e910496d6ea2e4e482eca00
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b64e98563ee31de3a256a3120ad5549035331e27a990983758008b4c16e189f5
[INFO] running `Command { std: "docker" "start" "-a" "b64e98563ee31de3a256a3120ad5549035331e27a990983758008b4c16e189f5", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ambassador-f7fd1d64901d1688)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/compiletest.rs (/opt/rustwide/target/debug/deps/compiletest-6cd2ccd97bd3c712)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] 
[INFO] [stdout] running 43 tests
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test [run-pass] run-pass/backwards_compatible.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/auto_where_clause.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/delegate_to_method.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/delegatable_trait.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/associated_types.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/delegate_self_fail.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/delegate_to_method_where.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/async.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/delegate_to_missing_method.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_method_g_and_at.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/enum_associated_types.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/extra_args_in_delegate_attr.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_remote.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_self.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/enum_associated_constant.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_methods.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/missing_delegate_attribute.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/muti_field_struct.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/extra_items_in_remote_methods_impl.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_methods_dyn_works.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_methods_in_trait_impl.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_remote_methods_on_remote_type.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_to_remote_methods.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/generic_trait_bad_where.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/delegate_trait_remote_display.rs ... FAILED
[INFO] [stdout] test [compile-fail] compile-fail/taxonomy_fail.rs ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     [compile-fail] compile-fail/delegatable_trait.rs
[INFO] [stdout]     [compile-fail] compile-fail/delegate_self_fail.rs
[INFO] [stdout]     [compile-fail] compile-fail/delegate_to_method.rs
[INFO] [stdout]     [compile-fail] compile-fail/delegate_to_method_where.rs
[INFO] [stdout]     [compile-fail] compile-fail/delegate_to_missing_method.rs
[INFO] [stdout]     [compile-fail] compile-fail/enum_associated_constant.rs
[INFO] [stdout]     [compile-fail] compile-fail/enum_associated_types.rs
[INFO] [stdout]     [compile-fail] compile-fail/extra_args_in_delegate_attr.rs
[INFO] [stdout]     [compile-fail] compile-fail/extra_items_in_remote_methods_impl.rs
[INFO] [stdout]     [compile-fail] compile-fail/generic_trait_bad_where.rs
[INFO] [stdout]     [compile-fail] compile-fail/missing_delegate_attribute.rs
[INFO] [stdout]     [compile-fail] compile-fail/muti_field_struct.rs
[INFO] [stdout]     [compile-fail] compile-fail/taxonomy_fail.rs
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s
[INFO] [stdout] 
[INFO] [stdout] test compile_fail ... FAILED
[INFO] [stdout] test [run-pass] run-pass/double_generics.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/derive_and_trait_in_modules.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/derive_in_module.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/enum_associated_constant.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/gat.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_enum.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/enum_associated_types.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_trait_any.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_method.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_struct.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_trait_complex.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_trait_lifetime.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_tuple_struct.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/generic_trait_single_type.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/inhibit_where_clause.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/method_self.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/method_mut_ref_self.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/method_ref_self.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/method_single_arg.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/muti-feature.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/single_variant.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/single_trait_single_method.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/struct_field_target.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/taxonomy.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/tuple_struct_single_field.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/struct_single_field.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/where_clause.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/tuple_struct_target.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/where_clause_split.rs ... FAILED
[INFO] [stdout] test [run-pass] run-pass/two_enums.rs ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     [run-pass] run-pass/associated_types.rs
[INFO] [stdout]     [run-pass] run-pass/async.rs
[INFO] [stdout]     [run-pass] run-pass/auto_where_clause.rs
[INFO] [stdout]     [run-pass] run-pass/backwards_compatible.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_remote.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_self.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_method_g_and_at.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_methods.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_methods_dyn_works.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_methods_in_trait_impl.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_remote_methods.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_to_remote_methods_on_remote_type.rs
[INFO] [stdout]     [run-pass] run-pass/delegate_trait_remote_display.rs
[INFO] [stdout]     [run-pass] run-pass/derive_and_trait_in_modules.rs
[INFO] [stdout]     [run-pass] run-pass/derive_in_module.rs
[INFO] [stdout]     [run-pass] run-pass/double_generics.rs
[INFO] [stdout]     [run-pass] run-pass/enum_associated_constant.rs
[INFO] [stdout]     [run-pass] run-pass/enum_associated_types.rs
[INFO] [stdout]     [run-pass] run-pass/gat.rs
[INFO] [stdout]     [run-pass] run-pass/generic_enum.rs
[INFO] [stdout]     [run-pass] run-pass/generic_method.rs
[INFO] [stdout]     [run-pass] run-pass/generic_struct.rs
[INFO] [stdout]     [run-pass] run-pass/generic_trait_any.rs
[INFO] [stdout]     [run-pass] run-pass/generic_trait_complex.rs
[INFO] [stdout]     [run-pass] run-pass/generic_trait_lifetime.rs
[INFO] [stdout]     [run-pass] run-pass/generic_trait_single_type.rs
[INFO] [stdout]     [run-pass] run-pass/generic_tuple_struct.rs
[INFO] [stdout]     [run-pass] run-pass/inhibit_where_clause.rs
[INFO] [stdout]     [run-pass] run-pass/method_mut_ref_self.rs
[INFO] [stdout]     [run-pass] run-pass/method_ref_self.rs
[INFO] [stdout]     [run-pass] run-pass/method_self.rs
[INFO] [stdout]     [run-pass] run-pass/method_single_arg.rs
[INFO] [stdout]     [run-pass] run-pass/muti-feature.rs
[INFO] [stdout]     [run-pass] run-pass/single_trait_single_method.rs
[INFO] [stdout]     [run-pass] run-pass/single_variant.rs
[INFO] [stdout]     [run-pass] run-pass/struct_field_target.rs
[INFO] [stdout]     [run-pass] run-pass/struct_single_field.rs
[INFO] [stdout]     [run-pass] run-pass/taxonomy.rs
[INFO] [stdout]     [run-pass] run-pass/tuple_struct_single_field.rs
[INFO] [stdout]     [run-pass] run-pass/tuple_struct_target.rs
[INFO] [stdout]     [run-pass] run-pass/two_enums.rs
[INFO] [stdout]     [run-pass] run-pass/where_clause.rs
[INFO] [stdout]     [run-pass] run-pass/where_clause_split.rs
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 43 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.44s
[INFO] [stdout] 
[INFO] [stdout] test run_pass ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- compile_fail stdout ----
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:25: unexpected error: '25:3: 25:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:27: unexpected error: '27:3: 27:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:29: unexpected error: '29:3: 29:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:31: unexpected error: '31:3: 31:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:25: expected error not found: target methods have different return types
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:27: expected error not found: method needs to have a receiver of type "self"
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:29: expected error not found: Note: method used in #[delegate] attribute
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:31: expected error not found: no targets were specified
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:37: expected error not found: Note: other return type defined here
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:42: expected error not found: Note: first return type defined here
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method.rs:51: expected message not found: method must have a receiver
[INFO] [stdout] 
[INFO] [stdout] error: 5 unexpected errors found, 7 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/delegate_to_method.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_method.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_to_method.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 25,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "25:3: 25:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 27,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "27:3: 27:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "29:3: 29:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "31:3: 31:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 25,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "target methods have different return types",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 27,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "method needs to have a receiver of type \"self\"",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Note: method used in #[delegate] attribute",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "no targets were specified",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 37,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Note: other return type defined here",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 42,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Note: first return type defined here",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 51,
[INFO] [stdout]         kind: None,
[INFO] [stdout]         msg: "method must have a receiver",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/delegate_to_method.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegatable_trait.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegatable_trait.rs:7: expected message not found: method must have a receiver
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegatable_trait.rs:9: expected message not found: method's receiver type is not supported
[INFO] [stdout] 
[INFO] [stdout] error: 1 unexpected errors found, 2 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/delegatable_trait.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegatable_trait.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegatable_trait.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 7,
[INFO] [stdout]         kind: None,
[INFO] [stdout]         msg: "method must have a receiver",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 9,
[INFO] [stdout]         kind: None,
[INFO] [stdout]         msg: "method's receiver type is not supported",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/delegatable_trait.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:32: unexpected error: '32:1: 32:27: the name `HashMap` is defined multiple times [E0255]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:36: unexpected error: '36:1: 36:25: the name `BTreeMap` is defined multiple times [E0255]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:31: unexpected error: '31:3: 31:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:35: unexpected error: '35:3: 35:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:39: unexpected error: '39:3: 39:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:40: unexpected error: '40:3: 40:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:32: unexpected error: '32:16: 32:17: type parameter `K` is never used [E0392]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:32: unexpected error: '32:19: 32:20: type parameter `V` is never used [E0392]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:32: unexpected error: '32:22: 32:23: type parameter `S` is never used [E0392]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:36: unexpected error: '36:17: 36:18: type parameter `K` is never used [E0392]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:36: unexpected error: '36:20: 36:21: type parameter `V` is never used [E0392]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:49: unexpected error: '49:29: 49:32: no method named `get` found for enum `Either` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_self_fail.rs:17: expected error not found: function cannot return without recursing [unconditional_recursion]
[INFO] [stdout] 
[INFO] [stdout] error: 13 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/delegate_self_fail.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_self_fail.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_self_fail.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "32:1: 32:27: the name `HashMap` is defined multiple times [E0255]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 36,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "36:1: 36:25: the name `BTreeMap` is defined multiple times [E0255]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "31:3: 31:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 35,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "35:3: 35:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 39,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "39:3: 39:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 40,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "40:3: 40:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "32:16: 32:17: type parameter `K` is never used [E0392]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "32:19: 32:20: type parameter `V` is never used [E0392]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "32:22: 32:23: type parameter `S` is never used [E0392]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 36,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "36:17: 36:18: type parameter `K` is never used [E0392]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 36,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "36:20: 36:21: type parameter `V` is never used [E0392]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 49,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "49:29: 49:32: no method named `get` found for enum `Either` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 17,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "function cannot return without recursing [unconditional_recursion]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/delegate_self_fail.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method_where.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method_where.rs:30: unexpected error: '30:3: 30:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method_where.rs:56: unexpected error: '56:18: 56:26: no method named `into_u32` found for struct `Wrap` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_method_where.rs:56: expected error not found: the method `into_u32` exists for struct `Wrap<Box<u32>>`, but its trait bounds were not satisfied
[INFO] [stdout] 
[INFO] [stdout] error: 3 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/delegate_to_method_where.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_method_where.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_to_method_where.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 30,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "30:3: 30:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 56,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "56:18: 56:26: no method named `into_u32` found for struct `Wrap` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 56,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "the method `into_u32` exists for struct `Wrap<Box<u32>>`, but its trait bounds were not satisfied",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/delegate_to_method_where.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:31: unexpected error: '31:3: 31:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:47: unexpected error: '47:18: 47:21: no method named `get` found for struct `Wrap` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:48: unexpected error: '48:7: 48:13: no method named `change` found for struct `Wrap` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:49: unexpected error: '49:18: 49:26: no method named `into_u32` found for struct `Wrap` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:6: expected error not found: target_owned was not specified but was needed
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/delegate_to_missing_method.rs:6: expected error not found: unexpected token: `.`
[INFO] [stdout] 
[INFO] [stdout] error: 5 unexpected errors found, 2 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/delegate_to_missing_method.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_missing_method.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_to_missing_method.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "31:3: 31:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 47,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "47:18: 47:21: no method named `get` found for struct `Wrap` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 48,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "48:7: 48:13: no method named `change` found for struct `Wrap` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 49,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "49:18: 49:26: no method named `into_u32` found for struct `Wrap` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 6,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "target_owned was not specified but was needed",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 6,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "unexpected token: `.`",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/delegate_to_missing_method.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_types.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_types.rs:34: unexpected error: '34:3: 34:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_types.rs:41: unexpected error: '41:35: 41:51: the trait bound `Either<Cat, Dog>: Animal` is not satisfied [E0277]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_types.rs:41: expected error not found: type mismatch resolving `<Cat as Animal>::Baby == Puppy`
[INFO] [stdout] 
[INFO] [stdout] error: 3 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/enum_associated_types.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/enum_associated_types.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/enum_associated_types.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 34,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "34:3: 34:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 41,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "41:35: 41:51: the trait bound `Either<Cat, Dog>: Animal` is not satisfied [E0277]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 41,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "type mismatch resolving `<Cat as Animal>::Baby == Puppy`",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/enum_associated_types.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_args_in_delegate_attr.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_args_in_delegate_attr.rs:18: unexpected error: '18:3: 18:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_args_in_delegate_attr.rs:18: expected error not found: unexpected end of input, expected string literal
[INFO] [stdout] 
[INFO] [stdout] error: 2 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/extra_args_in_delegate_attr.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/extra_args_in_delegate_attr.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/extra_args_in_delegate_attr.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 18,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "18:3: 18:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 18,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "unexpected end of input, expected string literal",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/extra_args_in_delegate_attr.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:5: unexpected error: '5:3: 5:20: cannot find attribute `delegatable_trait` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:22: unexpected error: '22:10: 22:18: cannot find derive macro `Delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:23: unexpected error: '23:3: 23:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:30: unexpected error: '30:25: 30:33: no variant or associated item named `NUM_LEGS` found for enum `Pet` in the current scope [E0599]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/enum_associated_constant.rs:5: expected error not found: evaluation of constant value failed [E0080]
[INFO] [stdout] 
[INFO] [stdout] error: 5 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/enum_associated_constant.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/enum_associated_constant.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/enum_associated_constant.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 5,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "5:3: 5:20: cannot find attribute `delegatable_trait` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 22,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "22:10: 22:18: cannot find derive macro `Delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 23,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "23:3: 23:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 30,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "30:25: 30:33: no variant or associated item named `NUM_LEGS` found for enum `Pet` in the current scope [E0599]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 5,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "evaluation of constant value failed [E0080]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/enum_associated_constant.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/missing_delegate_attribute.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/missing_delegate_attribute.rs:26: expected error not found: No #[delegate] attribute specified
[INFO] [stdout] 
[INFO] [stdout] error: 1 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/missing_delegate_attribute.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/missing_delegate_attribute.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/missing_delegate_attribute.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 26,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "No #[delegate] attribute specified",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/missing_delegate_attribute.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:27: unexpected error: '27:3: 27:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:29: unexpected error: '29:3: 29:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:30: unexpected error: '30:3: 30:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:31: unexpected error: '31:3: 31:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:32: unexpected error: '32:3: 32:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:33: unexpected error: '33:3: 33:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:34: unexpected error: '34:3: 34:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:27: expected error not found: "target" value on #[delegate] attribute has to be specified for structs with multiple fields
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:29: expected error not found: expected `,`
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:30: expected error not found: expected `=`
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:31: expected error not found: invalid key for a delegate attribute
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:32: expected error not found: unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:33: expected error not found: Unknown field specified as "target" value in #[delegate] attribute
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/muti_field_struct.rs:34: expected error not found: Unknown field specified as "target" value in #[delegate] attribute
[INFO] [stdout] 
[INFO] [stdout] error: 8 unexpected errors found, 7 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/muti_field_struct.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/muti_field_struct.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/muti_field_struct.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 27,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "27:3: 27:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "29:3: 29:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 30,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "30:3: 30:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "31:3: 31:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "32:3: 32:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 33,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "33:3: 33:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 34,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "34:3: 34:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 27,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "\"target\" value on #[delegate] attribute has to be specified for structs with multiple fields",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "expected `,`",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 30,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "expected `=`",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "invalid key for a delegate attribute",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 32,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "unexpected token",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 33,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Unknown field specified as \"target\" value in #[delegate] attribute",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 34,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Unknown field specified as \"target\" value in #[delegate] attribute",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/muti_field_struct.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:25: unexpected error: '25:5: 25:27: associated function in `impl` without body'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:26: unexpected error: '26:5: 26:39: associated function in `impl` without body'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:28: unexpected error: '28:5: 28:38: associated function in `impl` without body'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:29: unexpected error: '29:5: 29:29: associated function in `impl` without body'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:22: unexpected error: '22:3: 22:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:40: unexpected error: '40:5: 40:24: inherent associated types are unstable [E0658]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:24: unexpected error: '24:1: 24:33: cannot define inherent `impl` for a type outside of the crate where the type is defined [E0116]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:22: expected message not found: no method named `deref` found for reference `&Box<X>` in the current scope
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:28: expected error not found: This method is not used by any `delegate` attributes; please remove it
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:29: expected error not found: delegated to methods must return
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:31: expected error not found: Only method signatures are allowed here (no blocks!)
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:31: expected error not found: This method is not used by any `delegate` attributes; please remove it
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:37: expected error not found: Only method signatures are allowed here, everything else is discarded
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/extra_items_in_remote_methods_impl.rs:40: expected error not found: Only method signatures are allowed here, everything else is discarded
[INFO] [stdout] 
[INFO] [stdout] error: 8 unexpected errors found, 7 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/extra_items_in_remote_methods_impl.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/extra_items_in_remote_methods_impl.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/extra_items_in_remote_methods_impl.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 25,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "25:5: 25:27: associated function in `impl` without body",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 26,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "26:5: 26:39: associated function in `impl` without body",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 28,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "28:5: 28:38: associated function in `impl` without body",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "29:5: 29:29: associated function in `impl` without body",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 22,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "22:3: 22:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 40,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "40:5: 40:24: inherent associated types are unstable [E0658]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 24,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "24:1: 24:33: cannot define inherent `impl` for a type outside of the crate where the type is defined [E0116]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 22,
[INFO] [stdout]         kind: None,
[INFO] [stdout]         msg: "no method named `deref` found for reference `&Box<X>` in the current scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 28,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "This method is not used by any `delegate` attributes; please remove it",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 29,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "delegated to methods must return",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Only method signatures are allowed here (no blocks!)",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 31,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "This method is not used by any `delegate` attributes; please remove it",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 37,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Only method signatures are allowed here, everything else is discarded",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 40,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "Only method signatures are allowed here, everything else is discarded",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/extra_items_in_remote_methods_impl.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:8: unexpected error: '8:1: 8:29: the name `Index` is defined multiple times [E0255]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:7: unexpected error: '7:3: 7:27: cannot find attribute `delegatable_trait_remote` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:13: unexpected error: '13:10: 13:18: cannot find derive macro `Delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:14: unexpected error: '14:3: 14:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:23: unexpected error: '23:18: 23:25: cannot index into a value of type `SomeMap<String, &str>` [E0608]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:25: unexpected error: '25:18: 25:25: cannot index into a value of type `SomeMap<String, &str>` [E0608]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:23: expected error not found: the trait bound `u32: From<&_>` is not satisfied
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/generic_trait_bad_where.rs:25: expected error not found: the trait bound `u32: From<&_>` is not satisfied
[INFO] [stdout] 
[INFO] [stdout] error: 7 unexpected errors found, 2 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/generic_trait_bad_where.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_trait_bad_where.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/generic_trait_bad_where.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 8,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "8:1: 8:29: the name `Index` is defined multiple times [E0255]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 7,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "7:3: 7:27: cannot find attribute `delegatable_trait_remote` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 13,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "13:10: 13:18: cannot find derive macro `Delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 14,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "14:3: 14:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 23,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "23:18: 23:25: cannot index into a value of type `SomeMap<String, &str>` [E0608]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 25,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "25:18: 25:25: cannot index into a value of type `SomeMap<String, &str>` [E0608]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 23,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "the trait bound `u32: From<&_>` is not satisfied",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 25,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "the trait bound `u32: From<&_>` is not satisfied",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/generic_trait_bad_where.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/taxonomy_fail.rs:1: unexpected error: '1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/taxonomy_fail.rs:55: unexpected error: '55:3: 55:11: cannot find attribute `delegate` in this scope'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/taxonomy_fail.rs:63: unexpected error: '63:22: 63:44: the trait bound `Either<Cat, Alligator>: Taxonomy<Class>` is not satisfied [E0277]'
[INFO] [stdout] 
[INFO] [stdout] error: tests/compile-fail/taxonomy_fail.rs:63: expected error not found: type mismatch resolving `<Cat as Taxonomy<Class>>::Res == Reptile`
[INFO] [stdout] 
[INFO] [stdout] error: 3 unexpected errors found, 1 expected errors not found
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/compile-fail/taxonomy_fail.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/taxonomy_fail.stage-id" "-A" "unused" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/taxonomy_fail.stage-id.aux"
[INFO] [stdout] unexpected errors (from JSON output): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 1,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "1:1: 1:25: multiple candidates for `dylib` dependency `ambassador` found [E0464]",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 55,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "55:3: 55:11: cannot find attribute `delegate` in this scope",
[INFO] [stdout]     },
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 63,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "63:22: 63:44: the trait bound `Either<Cat, Alligator>: Taxonomy<Class>` is not satisfied [E0277]",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] not found errors (from test file): [
[INFO] [stdout]     Error {
[INFO] [stdout]         line_num: 63,
[INFO] [stdout]         kind: Some(
[INFO] [stdout]             Error,
[INFO] [stdout]         ),
[INFO] [stdout]         msg: "type mismatch resolving `<Cat as Taxonomy<Class>>::Res == Reptile`",
[INFO] [stdout]     },
[INFO] [stdout] ]
[INFO] [stdout] 
[INFO] [stdout] thread '[compile-fail] compile-fail/taxonomy_fail.rs' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13:
[INFO] [stdout] explicit panic
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3acaad048 - compiletest_rs::runtest::TestCx::check_expected_errors::h5e2380d8e5c2a074
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:1092:13
[INFO] [stdout]   19:     0x55a3aca9f0ac - compiletest_rs::runtest::TestCx::run_cfail_test::hc59cb3fed20d0982
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:179:13
[INFO] [stdout]   20:     0x55a3aca9ec2c - compiletest_rs::runtest::TestCx::run_revision::h5d2a8d7dc4ca196a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:131:26
[INFO] [stdout]   21:     0x55a3aca9e858 - compiletest_rs::runtest::run::h62b8444ff01d4456
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/runtest.rs:83:9
[INFO] [stdout]   22:     0x55a3aca9d0b8 - compiletest_rs::make_test_closure::{{closure}}::h1262a372152bd5d1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:323:9
[INFO] [stdout]   23:     0x55a3aca92e3e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7863d3d8a164f2cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   25:     0x55a3acdecf14 - tester::__rust_begin_short_backtrace::h4264c605ad9d0458
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:516:5
[INFO] [stdout]   26:     0x55a3acdecee3 - tester::run_test::{{closure}}::hb7d83ae68f261d94
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:500:34
[INFO] [stdout]   27:     0x55a3ace09288 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6a302bc6bee18642
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55a3ace0252b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hff301f2b9b517665
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   29:     0x55a3acddced4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbb73c507d61214c8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x55a3ace17bb1 - std::panicking::try::do_call::hca471eda0921fe5a
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   32:     0x55a3ace177aa - std::panicking::try::h62be5fbd41ba9f4e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55a3acdd9d97 - std::panic::catch_unwind::h4f501b03a7a7ba2d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55a3acded105 - tester::run_test_in_process::hc48660b3770b3f38
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:539:18
[INFO] [stdout]   35:     0x55a3acdecd12 - tester::run_test::run_test_inner::{{closure}}::h8d95a92a12e00339
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tester-0.9.1/src/lib.rs:449:39
[INFO] [stdout]   36:     0x55a3ace043c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2159f60e0755529e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x55a3acddb064 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h33338f8b462b1154
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x55a3acddcf04 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbda740a5bab6bf70
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x55a3ace17a50 - std::panicking::try::do_call::h0506e39971e3b16e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x55a3ace1c92b - __rust_try
[INFO] [stdout]   41:     0x55a3ace179b8 - std::panicking::try::h8aa30a4c8c144cbd
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55a3acddacb3 - std::panic::catch_unwind::h2354f8233bcaf301
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55a3acddacb3 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6772cb8737e0ad32
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55a3ace092ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc2933d1e9a30bc9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   49:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] thread 'compile_fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:111:22:
[INFO] [stdout] Some tests failed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a3acea8525 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a3acea8525 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a3acea8525 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a3acea8525 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a3aced20db - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a3aced20db - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a3acea51ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a3acea82fe - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a3acea82fe - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a3aceaa2e9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a3aceaa03c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a3aca2b05f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a3aca2b05f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a3aceaa8eb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a3aceaa8eb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a3ace7b988 - std::panicking::begin_panic::{{closure}}::hc3abd4cde528ac29
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:694:9
[INFO] [stdout]   16:     0x55a3ace7cf4a - std::sys_common::backtrace::__rust_end_short_backtrace::h8e86532f4086cb20
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a3ace7b927 - std::panicking::begin_panic::h4892f80f1265a13c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:693:12
[INFO] [stdout]   18:     0x55a3aca9a184 - compiletest_rs::run_tests::hd2edd4c622d3f848
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/compiletest_rs-0.8.0/src/lib.rs:111:22
[INFO] [stdout]   19:     0x55a3ac9f766f - compiletest::run_mode::had19a777a07f000a
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletest.rs:15:5
[INFO] [stdout]   20:     0x55a3ac9f7732 - compiletest::compile_fail::h053ff9696e9c5185
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletest.rs:25:5
[INFO] [stdout]   21:     0x55a3ac9f7707 - compiletest::compile_fail::{{closure}}::h7d2c2c514d0137cf
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/compiletest.rs:24:18
[INFO] [stdout]   22:     0x55a3ac9f6f86 - core::ops::function::FnOnce::call_once::hb837446c445247ad
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x55a3aca2f97b - core::ops::function::FnOnce::call_once::h18c6bf92212b87a4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a3aca2f97b - test::__rust_begin_short_backtrace::hdcf0edcfa9080086
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:625:18
[INFO] [stdout]   25:     0x55a3aca2f041 - test::run_test_in_process::{{closure}}::heac2c4eb375d2d10
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:60
[INFO] [stdout]   26:     0x55a3aca2f041 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0289bafc8a1cc004
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x55a3aca2f041 - std::panicking::try::do_call::h5e158f1ad8a5f983
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   28:     0x55a3aca2f041 - std::panicking::try::hea3411d60321c4de
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   29:     0x55a3aca2f041 - std::panic::catch_unwind::hafb7bb18bc47bbc7
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   30:     0x55a3aca2f041 - test::run_test_in_process::h74dd138dc7762d99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:27
[INFO] [stdout]   31:     0x55a3aca2f041 - test::run_test::{{closure}}::h6b390822e63606cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:569:43
[INFO] [stdout]   32:     0x55a3ac9f7a14 - test::run_test::{{closure}}::h6e11dba8131d354b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:599:41
[INFO] [stdout]   33:     0x55a3ac9f7a14 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha71b3541b59bdbbb
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   34:     0x55a3ac9fc4e2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hef92127c5ef9e53c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   35:     0x55a3ac9fc4e2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h859c109f9d11c92b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x55a3ac9fc4e2 - std::panicking::try::do_call::hbf534c458cd858f0
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   37:     0x55a3ac9fc4e2 - std::panicking::try::h65c18365a7b9ad90
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   38:     0x55a3ac9fc4e2 - std::panic::catch_unwind::h21b25d4c69478c39
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   39:     0x55a3ac9fc4e2 - std::thread::Builder::spawn_unchecked_::{{closure}}::h23335f620275a9bf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   40:     0x55a3ac9fc4e2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb491dc55513e9b7c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   42:     0x55a3aceb083b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x55a3aceb083b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   44:     0x7f32b3cb7ac3 - <unknown>
[INFO] [stdout]   45:     0x7f32b3d48a04 - __clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- run_pass stdout ----
[INFO] [stdout] 
[INFO] [stdout] error: compilation failed!
[INFO] [stdout] status: exit status: 1
[INFO] [stdout] command: "rustc" "tests/run-pass/backwards_compatible.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/backwards_compatible.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/backwards_compatible.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/backwards_compatible.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find macro `ambassador_impl_Shout_body_enum` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":534,"byte_end":565,"line_start":32,"line_end":32,"column_start":3,"column_end":34,"is_primary":true,"text":[{"text":"{ ambassador_impl_Shout_body_enum! { Either :: Left, Either :: Right } }","highlight_start":3,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find macro `ambassador_impl_Shout_body_enum` in this scope\n  --> tests/run-pass/backwards_compatible.rs:32:3\n   |\n32 | { ambassador_impl_Shout_body_enum! { Either :: Left, Either :: Right } }\n   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find macro `ambassador_impl_Shout_body_single_struct` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":726,"byte_end":766,"line_start":41,"line_end":41,"column_start":3,"column_end":43,"is_primary":true,"text":[{"text":"{ ambassador_impl_Shout_body_single_struct! { bar } }","highlight_start":3,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find macro `ambassador_impl_Shout_body_single_struct` in this scope\n  --> tests/run-pass/backwards_compatible.rs:41:3\n   |\n41 | { ambassador_impl_Shout_body_single_struct! { bar } }\n   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"not all trait items implemented, missing: `shout`","code":{"code":"E0046","explanation":"Items are missing in a trait implementation.\n\nErroneous code example:\n\n```compile_fail,E0046\ntrait Foo {\n    fn foo();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {}\n// error: not all trait items implemented, missing: `foo`\n```\n\nWhen trying to make some type implement a trait `Foo`, you must, at minimum,\nprovide implementations for all of `Foo`'s required methods (meaning the\nmethods that do not have default implementations), as well as any required\ntrait items like associated types or constants. Example:\n\n```\ntrait Foo {\n    fn foo();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {\n    fn foo() {} // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":476,"byte_end":531,"line_start":31,"line_end":31,"column_start":1,"column_end":56,"is_primary":true,"text":[{"text":"impl < A : Shout, B : Shout > Shout for Either < A, B >","highlight_start":1,"highlight_end":56}],"label":"missing `shout` in implementation","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":107,"byte_end":146,"line_start":7,"line_end":7,"column_start":5,"column_end":44,"is_primary":false,"text":[{"text":"    fn shout(&self, input: &str) -> String;","highlight_start":5,"highlight_end":44}],"label":"`shout` from trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"implement the missing item: `fn shout(&self, _: &str) -> String { todo!() }`","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":603,"byte_end":603,"line_start":32,"line_end":32,"column_start":72,"column_end":72,"is_primary":true,"text":[{"text":"{ ambassador_impl_Shout_body_enum! { Either :: Left, Either :: Right } }","highlight_start":72,"highlight_end":72}],"label":null,"suggested_replacement":"fn shout(&self, _: &str) -> String { todo!() }\n","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0046]: not all trait items implemented, missing: `shout`\n  --> tests/run-pass/backwards_compatible.rs:31:1\n   |\n7  |     fn shout(&self, input: &str) -> String;\n   |     --------------------------------------- `shout` from trait\n...\n31 | impl < A : Shout, B : Shout > Shout for Either < A, B >\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `shout` in implementation\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"not all trait items implemented, missing: `shout`","code":{"code":"E0046","explanation":"Items are missing in a trait implementation.\n\nErroneous code example:\n\n```compile_fail,E0046\ntrait Foo {\n    fn foo();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {}\n// error: not all trait items implemented, missing: `foo`\n```\n\nWhen trying to make some type implement a trait `Foo`, you must, at minimum,\nprovide implementations for all of `Foo`'s required methods (meaning the\nmethods that do not have default implementations), as well as any required\ntrait items like associated types or constants. Example:\n\n```\ntrait Foo {\n    fn foo();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {\n    fn foo() {} // ok!\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":674,"byte_end":723,"line_start":40,"line_end":40,"column_start":1,"column_end":50,"is_primary":true,"text":[{"text":"impl < A : Shout > Shout for WrappedAnimals < A >","highlight_start":1,"highlight_end":50}],"label":"missing `shout` in implementation","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":107,"byte_end":146,"line_start":7,"line_end":7,"column_start":5,"column_end":44,"is_primary":false,"text":[{"text":"    fn shout(&self, input: &str) -> String;","highlight_start":5,"highlight_end":44}],"label":"`shout` from trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"implement the missing item: `fn shout(&self, _: &str) -> String { todo!() }`","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/backwards_compatible.rs","byte_start":776,"byte_end":776,"line_start":41,"line_end":41,"column_start":53,"column_end":53,"is_primary":true,"text":[{"text":"{ ambassador_impl_Shout_body_single_struct! { bar } }","highlight_start":53,"highlight_end":53}],"label":null,"suggested_replacement":"fn shout(&self, _: &str) -> String { todo!() }\n","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0046]: not all trait items implemented, missing: `shout`\n  --> tests/run-pass/backwards_compatible.rs:40:1\n   |\n7  |     fn shout(&self, input: &str) -> String;\n   |     --------------------------------------- `shout` from trait\n...\n40 | impl < A : Shout > Shout for WrappedAnimals < A >\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `shout` in implementation\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0046, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0046, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0046`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0046`.\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/auto_where_clause.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/auto_where_clause.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/auto_where_clause.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/auto_where_clause.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":457,"byte_end":465,"line_start":31,"line_end":31,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/auto_where_clause.rs:31:3\n   |\n31 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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/auto_where_clause.rs","byte_start":627,"byte_end":632,"line_start":40,"line_end":40,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":474,"byte_end":495,"line_start":32,"line_end":32,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum Either<A, B> {","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":109,"byte_end":124,"line_start":7,"line_end":7,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/auto_where_clause.rs:40:31\n   |\n32 | pub enum Either<A, B> {\n   | --------------------- method `shout` not found for this enum\n...\n40 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/auto_where_clause.rs:7:1\n   |\n7  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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/auto_where_clause.rs","byte_start":725,"byte_end":730,"line_start":42,"line_end":42,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":474,"byte_end":495,"line_start":32,"line_end":32,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum Either<A, B> {","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/auto_where_clause.rs","byte_start":109,"byte_end":124,"line_start":7,"line_end":7,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/auto_where_clause.rs:42:31\n   |\n32 | pub enum Either<A, B> {\n   | --------------------- method `shout` not found for this enum\n...\n42 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/auto_where_clause.rs:7:1\n   |\n7  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/associated_types.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/associated_types.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/associated_types.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/associated_types.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/associated_types.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `IntoIterator` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/associated_types.rs","byte_start":138,"byte_end":160,"line_start":7,"line_end":7,"column_start":1,"column_end":23,"is_primary":true,"text":[{"text":"pub trait IntoIterator {","highlight_start":1,"highlight_end":23}],"label":"`IntoIterator` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/associated_types.rs","byte_start":84,"byte_end":107,"line_start":4,"line_end":4,"column_start":5,"column_end":28,"is_primary":false,"text":[{"text":"use std::iter::IntoIterator;","highlight_start":5,"highlight_end":28}],"label":"previous import of the trait `IntoIterator` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`IntoIterator` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/associated_types.rs","byte_start":84,"byte_end":107,"line_start":4,"line_end":4,"column_start":5,"column_end":28,"is_primary":true,"text":[{"text":"use std::iter::IntoIterator;","highlight_start":5,"highlight_end":28}],"label":null,"suggested_replacement":"std::iter::IntoIterator as OtherIntoIterator","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `IntoIterator` is defined multiple times\n --> tests/run-pass/associated_types.rs:7:1\n  |\n4 | use std::iter::IntoIterator;\n  |     ----------------------- previous import of the trait `IntoIterator` here\n...\n7 | pub trait IntoIterator {\n  | ^^^^^^^^^^^^^^^^^^^^^^ `IntoIterator` redefined here\n  |\n  = note: `IntoIterator` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n  |\n4 | use std::iter::IntoIterator as OtherIntoIterator;\n  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/associated_types.rs","byte_start":293,"byte_end":301,"line_start":14,"line_end":14,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(IntoIterator)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/associated_types.rs:14:3\n   |\n14 | #[delegate(IntoIterator)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the method `into_iter` exists for struct `WrappedVec<{integer}>`, but its trait bounds were not satisfied","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/associated_types.rs","byte_start":440,"byte_end":449,"line_start":19,"line_end":19,"column_start":30,"column_end":39,"is_primary":true,"text":[{"text":"    println!(\"{:?}\", wrapped.into_iter().collect::<Vec<_>>());","highlight_start":30,"highlight_end":39}],"label":"method cannot be called on `WrappedVec<{integer}>` due to unsatisfied trait bounds","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/associated_types.rs","byte_start":317,"byte_end":341,"line_start":15,"line_end":15,"column_start":1,"column_end":25,"is_primary":false,"text":[{"text":"pub struct WrappedVec<E>(Vec<E>);","highlight_start":1,"highlight_end":25}],"label":"method `into_iter` not found for this struct because it doesn't satisfy `WrappedVec<{integer}>: Iterator` or `WrappedVec<{integer}>: std::iter::IntoIterator`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following trait bounds were not satisfied:\n`WrappedVec<{integer}>: Iterator`\nwhich is required by `WrappedVec<{integer}>: std::iter::IntoIterator`\n`&WrappedVec<{integer}>: Iterator`\nwhich is required by `&WrappedVec<{integer}>: std::iter::IntoIterator`\n`&mut WrappedVec<{integer}>: Iterator`\nwhich is required by `&mut WrappedVec<{integer}>: std::iter::IntoIterator`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"the trait `Iterator` must be implemented","code":null,"level":"note","spans":[{"file_name":"/rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/iter/traits/iterator.rs","byte_start":1597,"byte_end":1615,"line_start":44,"line_end":44,"column_start":1,"column_end":19,"is_primary":true,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `into_iter`, perhaps you need to implement one of them:\ncandidate #1: `IntoIterator`\ncandidate #2: `std::iter::IntoIterator`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0599]: the method `into_iter` exists for struct `WrappedVec<{integer}>`, but its trait bounds were not satisfied\n  --> tests/run-pass/associated_types.rs:19:30\n   |\n15 | pub struct WrappedVec<E>(Vec<E>);\n   | ------------------------ method `into_iter` not found for this struct because it doesn't satisfy `WrappedVec<{integer}>: Iterator` or `WrappedVec<{integer}>: std::iter::IntoIterator`\n...\n19 |     println!(\"{:?}\", wrapped.into_iter().collect::<Vec<_>>());\n   |                              ^^^^^^^^^ method cannot be called on `WrappedVec<{integer}>` due to unsatisfied trait bounds\n   |\n   = note: the following trait bounds were not satisfied:\n           `WrappedVec<{integer}>: Iterator`\n           which is required by `WrappedVec<{integer}>: std::iter::IntoIterator`\n           `&WrappedVec<{integer}>: Iterator`\n           which is required by `&WrappedVec<{integer}>: std::iter::IntoIterator`\n           `&mut WrappedVec<{integer}>: Iterator`\n           which is required by `&mut WrappedVec<{integer}>: std::iter::IntoIterator`\nnote: the trait `Iterator` must be implemented\n  --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/iter/traits/iterator.rs:44:1\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `into_iter`, perhaps you need to implement one of them:\n           candidate #1: `IntoIterator`\n           candidate #2: `std::iter::IntoIterator`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `std::iter::IntoIterator`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/associated_types.rs","byte_start":84,"byte_end":107,"line_start":4,"line_end":4,"column_start":5,"column_end":28,"is_primary":true,"text":[{"text":"use std::iter::IntoIterator;","highlight_start":5,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `std::iter::IntoIterator`\n --> tests/run-pass/associated_types.rs:4:5\n  |\n4 | use std::iter::IntoIterator;\n  |     ^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0255, E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0255, E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0255`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0255`.\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/async.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/async.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/async.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/async.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate_to_methods` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":516,"byte_end":535,"line_start":39,"line_end":39,"column_start":3,"column_end":22,"is_primary":true,"text":[{"text":"#[delegate_to_methods]","highlight_start":3,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate_to_methods` in this scope\n  --> tests/run-pass/async.rs:39:3\n   |\n39 | #[delegate_to_methods]\n   |   ^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":539,"byte_end":547,"line_start":40,"line_end":40,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Hello, target_ref = \"unwrap_ref\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/async.rs:40:3\n   |\n40 | #[delegate(Hello, target_ref = \"unwrap_ref\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":396,"byte_end":404,"line_start":30,"line_end":30,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/async.rs:30:10\n   |\n30 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":409,"byte_end":417,"line_start":31,"line_end":31,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Hello)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/async.rs:31:3\n   |\n31 | #[delegate(Hello)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":318,"byte_end":326,"line_start":24,"line_end":24,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/async.rs:24:10\n   |\n24 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":331,"byte_end":339,"line_start":25,"line_end":25,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Hello)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/async.rs:25:3\n   |\n25 | #[delegate(Hello)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegatable_trait` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":191,"byte_end":208,"line_start":15,"line_end":15,"column_start":3,"column_end":20,"is_primary":true,"text":[{"text":"#[delegatable_trait]","highlight_start":3,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegatable_trait` in this scope\n  --> tests/run-pass/async.rs:15:3\n   |\n15 | #[delegatable_trait]\n   |   ^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":76,"byte_end":84,"line_start":7,"line_end":7,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n --> tests/run-pass/async.rs:7:10\n  |\n7 | #[derive(Delegate)]\n  |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":89,"byte_end":97,"line_start":8,"line_end":8,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Hello, target = \"self\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n --> tests/run-pass/async.rs:8:3\n  |\n8 | #[delegate(Hello, target = \"self\")]\n  |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `hello` found for struct `Dram` 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/async.rs","byte_start":741,"byte_end":746,"line_start":50,"line_end":50,"column_start":15,"column_end":20,"is_primary":true,"text":[{"text":"    let _ = d.hello();","highlight_start":15,"highlight_end":20}],"label":"method not found in `Dram`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/async.rs","byte_start":348,"byte_end":363,"line_start":26,"line_end":26,"column_start":1,"column_end":16,"is_primary":false,"text":[{"text":"pub struct Dram {","highlight_start":1,"highlight_end":16}],"label":"method `hello` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Hello` defines an item `hello`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":210,"byte_end":221,"line_start":16,"line_end":16,"column_start":1,"column_end":12,"is_primary":true,"text":[{"text":"trait Hello {","highlight_start":1,"highlight_end":12}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/async.rs","byte_start":741,"byte_end":741,"line_start":50,"line_end":50,"column_start":15,"column_end":15,"is_primary":true,"text":[{"text":"    let _ = d.hello();","highlight_start":15,"highlight_end":15}],"label":null,"suggested_replacement":"inner.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `hello` found for struct `Dram` in the current scope\n  --> tests/run-pass/async.rs:50:15\n   |\n26 | pub struct Dram {\n   | --------------- method `hello` not found for this struct\n...\n50 |     let _ = d.hello();\n   |               ^^^^^ method not found in `Dram`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Hello` defines an item `hello`, perhaps you need to implement it\n  --> tests/run-pass/async.rs:16:1\n   |\n16 | trait Hello {\n   | ^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n50 |     let _ = d.inner.hello();\n   |               ++++++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 11 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 11 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_to_method_g_and_at.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_method_g_and_at.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_to_method_g_and_at.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_method_g_and_at.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":374,"byte_end":382,"line_start":22,"line_end":22,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(FnLike<X>, target_ref = \"to_fn\", generics = \"X\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_method_g_and_at.rs:22:3\n   |\n22 | #[delegate(FnLike<X>, target_ref = \"to_fn\", generics = \"X\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the method `apply` exists for struct `Cat`, but its trait bounds were not satisfied","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/delegate_to_method_g_and_at.rs","byte_start":641,"byte_end":646,"line_start":33,"line_end":33,"column_start":20,"column_end":25,"is_primary":true,"text":[{"text":"    assert_eq!(Cat.apply(String::new()), \"meow\")","highlight_start":20,"highlight_end":25}],"label":"method cannot be called on `Cat` due to unsatisfied trait bounds","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":332,"byte_end":346,"line_start":19,"line_end":19,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"pub struct Cat;","highlight_start":1,"highlight_end":15}],"label":"method `apply` not found for this struct because it doesn't satisfy `<Cat as FnOnce<(_,)>>::Output = _`, `Cat: Fn<(_,)>` or `Cat: FnLike<_>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following trait bounds were not satisfied:\n`<Cat as FnOnce<(_,)>>::Output = _`\n`Cat: Fn<(_,)>`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":213,"byte_end":214,"line_start":11,"line_end":11,"column_start":23,"column_end":24,"is_primary":true,"text":[{"text":"impl<In, F: Fn(In) -> R, R> FnLike<In> for F {","highlight_start":23,"highlight_end":24}],"label":"unsatisfied trait bound introduced here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":219,"byte_end":229,"line_start":11,"line_end":11,"column_start":29,"column_end":39,"is_primary":false,"text":[{"text":"impl<In, F: Fn(In) -> R, R> FnLike<In> for F {","highlight_start":29,"highlight_end":39}],"label":"","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":234,"byte_end":235,"line_start":11,"line_end":11,"column_start":44,"column_end":45,"is_primary":false,"text":[{"text":"impl<In, F: Fn(In) -> R, R> FnLike<In> for F {","highlight_start":44,"highlight_end":45}],"label":"","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":203,"byte_end":214,"line_start":11,"line_end":11,"column_start":13,"column_end":24,"is_primary":true,"text":[{"text":"impl<In, F: Fn(In) -> R, R> FnLike<In> for F {","highlight_start":13,"highlight_end":24}],"label":"unsatisfied trait bound introduced here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"the trait `Fn` must be implemented","code":null,"level":"note","spans":[{"file_name":"/rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs","byte_start":2686,"byte_end":2724,"line_start":76,"line_end":76,"column_start":1,"column_end":39,"is_primary":true,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`FnLike` defines an item `apply`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_method_g_and_at.rs","byte_start":106,"byte_end":126,"line_start":6,"line_end":6,"column_start":1,"column_end":21,"is_primary":true,"text":[{"text":"pub trait FnLike<In> {","highlight_start":1,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: the method `apply` exists for struct `Cat`, but its trait bounds were not satisfied\n  --> tests/run-pass/delegate_to_method_g_and_at.rs:33:20\n   |\n19 | pub struct Cat;\n   | -------------- method `apply` not found for this struct because it doesn't satisfy `<Cat as FnOnce<(_,)>>::Output = _`, `Cat: Fn<(_,)>` or `Cat: FnLike<_>`\n...\n33 |     assert_eq!(Cat.apply(String::new()), \"meow\")\n   |                    ^^^^^ method cannot be called on `Cat` due to unsatisfied trait bounds\n   |\nnote: the following trait bounds were not satisfied:\n      `<Cat as FnOnce<(_,)>>::Output = _`\n      `Cat: Fn<(_,)>`\n  --> tests/run-pass/delegate_to_method_g_and_at.rs:11:13\n   |\n11 | impl<In, F: Fn(In) -> R, R> FnLike<In> for F {\n   |             ^^^^^^^^^^^     ----------     -\n   |             |         |\n   |             |         unsatisfied trait bound introduced here\n   |             unsatisfied trait bound introduced here\nnote: the trait `Fn` must be implemented\n  --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:76:1\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `FnLike` defines an item `apply`, perhaps you need to implement it\n  --> tests/run-pass/delegate_to_method_g_and_at.rs:6:1\n   |\n6  | pub trait FnLike<In> {\n   | ^^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_remote.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_remote.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_remote.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_remote.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":762,"byte_end":770,"line_start":44,"line_end":44,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, target = \"bar\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_remote.rs:44:3\n   |\n44 | #[delegate(Shout, target = \"bar\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `wrapped::*`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":728,"byte_end":738,"line_start":41,"line_end":41,"column_start":5,"column_end":15,"is_primary":true,"text":[{"text":"use wrapped::*;","highlight_start":5,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":724,"byte_end":740,"line_start":41,"line_end":42,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use wrapped::*;","highlight_start":1,"highlight_end":16},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused import: `wrapped::*`\n  --> tests/run-pass/delegate_remote.rs:41:5\n   |\n41 | use wrapped::*;\n   |     ^^^^^^^^^^\n   |\n   = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no function or associated item named `new` found for struct `WrappedAnimals` 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/delegate_remote.rs","byte_start":912,"byte_end":915,"line_start":52,"line_end":52,"column_start":38,"column_end":41,"is_primary":true,"text":[{"text":"    let foo_animal = WrappedAnimals::new(Cat, Cat);","highlight_start":38,"highlight_end":41}],"label":"function or associated item not found in `WrappedAnimals<_>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":795,"byte_end":826,"line_start":45,"line_end":45,"column_start":1,"column_end":32,"is_primary":false,"text":[{"text":"struct WrappedAnimals<A: Shout> {","highlight_start":1,"highlight_end":32}],"label":"function or associated item `new` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no function or associated item named `new` found for struct `WrappedAnimals` in the current scope\n  --> tests/run-pass/delegate_remote.rs:52:38\n   |\n45 | struct WrappedAnimals<A: Shout> {\n   | ------------------------------- function or associated item `new` not found for this struct\n...\n52 |     let foo_animal = WrappedAnimals::new(Cat, Cat);\n   |                                      ^^^ function or associated item not found in `WrappedAnimals<_>`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no function or associated item named `new` found for struct `WrappedAnimals` 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/delegate_remote.rs","byte_start":1009,"byte_end":1012,"line_start":54,"line_end":54,"column_start":38,"column_end":41,"is_primary":true,"text":[{"text":"    let bar_animal = WrappedAnimals::new(Cat, Dog);","highlight_start":38,"highlight_end":41}],"label":"function or associated item not found in `WrappedAnimals<_>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_remote.rs","byte_start":795,"byte_end":826,"line_start":45,"line_end":45,"column_start":1,"column_end":32,"is_primary":false,"text":[{"text":"struct WrappedAnimals<A: Shout> {","highlight_start":1,"highlight_end":32}],"label":"function or associated item `new` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0599]: no function or associated item named `new` found for struct `WrappedAnimals` in the current scope\n  --> tests/run-pass/delegate_remote.rs:54:38\n   |\n45 | struct WrappedAnimals<A: Shout> {\n   | ------------------------------- function or associated item `new` not found for this struct\n...\n54 |     let bar_animal = WrappedAnimals::new(Cat, Dog);\n   |                                      ^^^ function or associated item not found in `WrappedAnimals<_>`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_self.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_self.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_self.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_self.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_self.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_self.rs","byte_start":182,"byte_end":190,"line_start":11,"line_end":11,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, target=\"self\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_self.rs:11:3\n   |\n11 | #[delegate(Shout, target=\"self\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `Cat: Shout` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_self.rs","byte_start":416,"byte_end":419,"line_start":25,"line_end":25,"column_start":15,"column_end":18,"is_primary":true,"text":[{"text":"    use_shout(Cat)","highlight_start":15,"highlight_end":18}],"label":"the trait `Shout` is not implemented for `Cat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_self.rs","byte_start":406,"byte_end":415,"line_start":25,"line_end":25,"column_start":5,"column_end":14,"is_primary":false,"text":[{"text":"    use_shout(Cat)","highlight_start":5,"highlight_end":14}],"label":"required by a bound introduced by this call","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"this trait has no implementations, consider adding one","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_self.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"required by a bound in `use_shout`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_self.rs","byte_start":354,"byte_end":359,"line_start":20,"line_end":20,"column_start":22,"column_end":27,"is_primary":true,"text":[{"text":"fn use_shout(x: impl Shout) {","highlight_start":22,"highlight_end":27}],"label":"required by this bound in `use_shout`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `Cat: Shout` is not satisfied\n  --> tests/run-pass/delegate_self.rs:25:15\n   |\n25 |     use_shout(Cat)\n   |     --------- ^^^ the trait `Shout` is not implemented for `Cat`\n   |     |\n   |     required by a bound introduced by this call\n   |\nhelp: this trait has no implementations, consider adding one\n  --> tests/run-pass/delegate_self.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nnote: required by a bound in `use_shout`\n  --> tests/run-pass/delegate_self.rs:20:22\n   |\n20 | fn use_shout(x: impl Shout) {\n   |                      ^^^^^ required by this bound in `use_shout`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\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/delegate_to_methods.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_methods.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_to_methods.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_methods.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":372,"byte_end":380,"line_start":25,"line_end":25,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(MyTrait, target_ref = \"inner_ref\", target_mut = \"inner_mut\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_methods.rs:25:3\n   |\n25 | #[delegate(MyTrait, target_ref = \"inner_ref\", target_mut = \"inner_mut\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_methods.rs","byte_start":830,"byte_end":833,"line_start":49,"line_end":49,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":830,"byte_end":830,"line_start":49,"line_end":49,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods.rs:49:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n49 |     assert_eq!(x.get(), 42);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n49 |     assert_eq!(x.0.get(), 42);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `change` found for struct `Wrap` 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/delegate_to_methods.rs","byte_start":848,"byte_end":854,"line_start":50,"line_end":50,"column_start":7,"column_end":13,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":13}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `change` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`MyTrait` defines an item `change`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":130,"byte_end":143,"line_start":7,"line_end":7,"column_start":1,"column_end":14,"is_primary":true,"text":[{"text":"trait MyTrait {","highlight_start":1,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":848,"byte_end":848,"line_start":50,"line_end":50,"column_start":7,"column_end":7,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":7}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `change` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods.rs:50:7\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `change` not found for this struct\n...\n50 |     x.change();\n   |       ^^^^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `MyTrait` defines an item `change`, perhaps you need to implement it\n  --> tests/run-pass/delegate_to_methods.rs:7:1\n   |\n7  | trait MyTrait {\n   | ^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n50 |     x.0.change();\n   |       ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_methods.rs","byte_start":875,"byte_end":878,"line_start":51,"line_end":51,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods.rs","byte_start":875,"byte_end":875,"line_start":51,"line_end":51,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods.rs:51:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n51 |     assert_eq!(x.get(), 43);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n51 |     assert_eq!(x.0.get(), 43);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_to_methods_dyn_works.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_methods_dyn_works.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_to_methods_dyn_works.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods_dyn_works.rs","byte_start":135,"byte_end":159,"line_start":3,"line_end":3,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_methods_dyn_works.rs:3:1\n  |\n3 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods_dyn_works.rs","byte_start":638,"byte_end":646,"line_start":32,"line_end":32,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, target_ref=\"deref\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_methods_dyn_works.rs:32:3\n   |\n32 | #[delegate(Shout, target_ref=\"deref\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `WrappedAnimals: Shout` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods_dyn_works.rs","byte_start":1390,"byte_end":1400,"line_start":52,"line_end":52,"column_start":12,"column_end":22,"is_primary":true,"text":[{"text":"    use_it(foo_animal);","highlight_start":12,"highlight_end":22}],"label":"the trait `Shout` is not implemented for `WrappedAnimals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods_dyn_works.rs","byte_start":1383,"byte_end":1389,"line_start":52,"line_end":52,"column_start":5,"column_end":11,"is_primary":false,"text":[{"text":"    use_it(foo_animal);","highlight_start":5,"highlight_end":11}],"label":"required by a bound introduced by this call","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `Shout`:\n  Cat\n  Dog","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"required by a bound in `use_it`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_methods_dyn_works.rs","byte_start":1244,"byte_end":1249,"line_start":46,"line_end":46,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"fn use_it<T: Shout> (shouter: T) {","highlight_start":14,"highlight_end":19}],"label":"required by this bound in `use_it`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `WrappedAnimals: Shout` is not satisfied\n  --> tests/run-pass/delegate_to_methods_dyn_works.rs:52:12\n   |\n52 |     use_it(foo_animal);\n   |     ------ ^^^^^^^^^^ the trait `Shout` is not implemented for `WrappedAnimals`\n   |     |\n   |     required by a bound introduced by this call\n   |\n   = help: the following other types implement trait `Shout`:\n             Cat\n             Dog\nnote: required by a bound in `use_it`\n  --> tests/run-pass/delegate_to_methods_dyn_works.rs:46:14\n   |\n46 | fn use_it<T: Shout> (shouter: T) {\n   |              ^^^^^ required by this bound in `use_it`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\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/delegate_to_methods_in_trait_impl.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_methods_in_trait_impl.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_to_methods_in_trait_impl.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":465,"byte_end":473,"line_start":30,"line_end":30,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(MyTrait, target_ref = \"get_ref\", target_mut = \"get_mut_ref\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:30:3\n   |\n30 | #[delegate(MyTrait, target_ref = \"get_ref\", target_mut = \"get_mut_ref\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_methods_in_trait_impl.rs","byte_start":788,"byte_end":791,"line_start":41,"line_end":41,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":788,"byte_end":788,"line_start":41,"line_end":41,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:41:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n41 |     assert_eq!(x.get(), 42);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n41 |     assert_eq!(x.0.get(), 42);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `change` found for struct `Wrap` 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/delegate_to_methods_in_trait_impl.rs","byte_start":806,"byte_end":812,"line_start":42,"line_end":42,"column_start":7,"column_end":13,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":13}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `change` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`MyTrait` defines an item `change`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":130,"byte_end":143,"line_start":7,"line_end":7,"column_start":1,"column_end":14,"is_primary":true,"text":[{"text":"trait MyTrait {","highlight_start":1,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":806,"byte_end":806,"line_start":42,"line_end":42,"column_start":7,"column_end":7,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":7}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `change` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:42:7\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `change` not found for this struct\n...\n42 |     x.change();\n   |       ^^^^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `MyTrait` defines an item `change`, perhaps you need to implement it\n  --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:7:1\n   |\n7  | trait MyTrait {\n   | ^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n42 |     x.0.change();\n   |       ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_methods_in_trait_impl.rs","byte_start":833,"byte_end":836,"line_start":43,"line_end":43,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":327,"byte_end":341,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_methods_in_trait_impl.rs","byte_start":833,"byte_end":833,"line_start":43,"line_end":43,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_methods_in_trait_impl.rs:43:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n43 |     assert_eq!(x.get(), 43);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n43 |     assert_eq!(x.0.get(), 43);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_to_remote_methods_on_remote_type.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_remote_methods_on_remote_type.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_to_remote_methods_on_remote_type.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"associated function in `impl` without body","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":456,"byte_end":478,"line_start":20,"line_end":20,"column_start":5,"column_end":27,"is_primary":true,"text":[{"text":"    fn deref(&self) -> &X;","highlight_start":5,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"provide a definition for the function","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":477,"byte_end":478,"line_start":20,"line_end":20,"column_start":26,"column_end":27,"is_primary":true,"text":[{"text":"    fn deref(&self) -> &X;","highlight_start":26,"highlight_end":27}],"label":null,"suggested_replacement":" { <body> }","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error: associated function in `impl` without body\n  --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:20:5\n   |\n20 |     fn deref(&self) -> &X;\n   |     ^^^^^^^^^^^^^^^^^^^^^-\n   |                          |\n   |                          help: provide a definition for the function: `{ <body> }`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"associated function in `impl` without body","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":483,"byte_end":517,"line_start":21,"line_end":21,"column_start":5,"column_end":39,"is_primary":true,"text":[{"text":"    fn deref_mut(&mut self) -> &mut X;","highlight_start":5,"highlight_end":39}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"provide a definition for the function","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":516,"byte_end":517,"line_start":21,"line_end":21,"column_start":38,"column_end":39,"is_primary":true,"text":[{"text":"    fn deref_mut(&mut self) -> &mut X;","highlight_start":38,"highlight_end":39}],"label":null,"suggested_replacement":" { <body> }","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error: associated function in `impl` without body\n  --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:21:5\n   |\n21 |     fn deref_mut(&mut self) -> &mut X;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-\n   |                                      |\n   |                                      help: provide a definition for the function: `{ <body> }`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":350,"byte_end":358,"line_start":18,"line_end":18,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(MyTrait, target_ref = \"deref\", target_mut = \"deref_mut\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:18:3\n   |\n18 | #[delegate(MyTrait, target_ref = \"deref\", target_mut = \"deref_mut\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused imports: `DerefMut`, `Deref`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":106,"byte_end":111,"line_start":4,"line_end":4,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"use std::ops::{Deref, DerefMut};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":113,"byte_end":121,"line_start":4,"line_end":4,"column_start":23,"column_end":31,"is_primary":true,"text":[{"text":"use std::ops::{Deref, DerefMut};","highlight_start":23,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":91,"byte_end":124,"line_start":4,"line_end":5,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::ops::{Deref, DerefMut};","highlight_start":1,"highlight_end":33},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused imports: `DerefMut`, `Deref`\n --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:4:16\n  |\n4 | use std::ops::{Deref, DerefMut};\n  |                ^^^^^  ^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot define inherent `impl` for a type outside of the crate where the type is defined","code":{"code":"E0116","explanation":"An inherent implementation was defined for a type outside the current crate.\n\nErroneous code example:\n\n```compile_fail,E0116\nimpl Vec<u8> { } // error\n```\n\nYou can only define an inherent implementation for a type in the same crate\nwhere the type was defined. For example, an `impl` block as above is not allowed\nsince `Vec` is defined in the standard library.\n\nTo fix this problem, you can either:\n\n - define a trait that has the desired associated functions/types/constants and\n   implement the trait for the type in question\n - define a new type wrapping the type and define an implementation on the new\n   type\n\nNote that using the `type` keyword does not work here because `type` only\nintroduces a type alias:\n\n```compile_fail,E0116\ntype Bytes = Vec<u8>;\n\nimpl Bytes { } // error, same as above\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods_on_remote_type.rs","byte_start":417,"byte_end":449,"line_start":19,"line_end":19,"column_start":1,"column_end":33,"is_primary":true,"text":[{"text":"impl<X: ?Sized + MyTrait> Box<X> {","highlight_start":1,"highlight_end":33}],"label":"impl for type defined outside of crate.","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"define and implement a trait or new type instead","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0116]: cannot define inherent `impl` for a type outside of the crate where the type is defined\n  --> tests/run-pass/delegate_to_remote_methods_on_remote_type.rs:19:1\n   |\n19 | impl<X: ?Sized + MyTrait> Box<X> {\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl for type defined outside of crate.\n   |\n   = note: define and implement a trait or new type instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0116, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0116, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0116`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0116`.\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/delegate_to_remote_methods.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_to_remote_methods.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_to_remote_methods.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_to_remote_methods.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"associated function in `impl` without body","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":776,"byte_end":802,"line_start":37,"line_end":37,"column_start":5,"column_end":31,"is_primary":true,"text":[{"text":"    fn get_ref(&self) -> &u32;","highlight_start":5,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"provide a definition for the function","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":801,"byte_end":802,"line_start":37,"line_end":37,"column_start":30,"column_end":31,"is_primary":true,"text":[{"text":"    fn get_ref(&self) -> &u32;","highlight_start":30,"highlight_end":31}],"label":null,"suggested_replacement":" { <body> }","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error: associated function in `impl` without body\n  --> tests/run-pass/delegate_to_remote_methods.rs:37:5\n   |\n37 |     fn get_ref(&self) -> &u32;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^-\n   |                              |\n   |                              help: provide a definition for the function: `{ <body> }`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"associated function in `impl` without body","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":807,"byte_end":845,"line_start":38,"line_end":38,"column_start":5,"column_end":43,"is_primary":true,"text":[{"text":"    fn get_mut_ref(&mut self) -> &mut u32;","highlight_start":5,"highlight_end":43}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"provide a definition for the function","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":844,"byte_end":845,"line_start":38,"line_end":38,"column_start":42,"column_end":43,"is_primary":true,"text":[{"text":"    fn get_mut_ref(&mut self) -> &mut u32;","highlight_start":42,"highlight_end":43}],"label":null,"suggested_replacement":" { <body> }","suggestion_applicability":"HasPlaceholders","expansion":null}],"children":[],"rendered":null}],"rendered":"error: associated function in `impl` without body\n  --> tests/run-pass/delegate_to_remote_methods.rs:38:5\n   |\n38 |     fn get_mut_ref(&mut self) -> &mut u32;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-\n   |                                          |\n   |                                          help: provide a definition for the function: `{ <body> }`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":659,"byte_end":667,"line_start":35,"line_end":35,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(MyTrait, target_ref = \"get_ref\", target_mut = \"get_mut_ref\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_to_remote_methods.rs:35:3\n   |\n35 | #[delegate(MyTrait, target_ref = \"get_ref\", target_mut = \"get_mut_ref\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_remote_methods.rs","byte_start":917,"byte_end":920,"line_start":43,"line_end":43,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":343,"byte_end":357,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":917,"byte_end":917,"line_start":43,"line_end":43,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 42);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_remote_methods.rs:43:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n43 |     assert_eq!(x.get(), 42);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n43 |     assert_eq!(x.0.get(), 42);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `change` found for struct `Wrap` 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/delegate_to_remote_methods.rs","byte_start":935,"byte_end":941,"line_start":44,"line_end":44,"column_start":7,"column_end":13,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":13}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":343,"byte_end":357,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `change` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`MyTrait` defines an item `change`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":146,"byte_end":159,"line_start":7,"line_end":7,"column_start":1,"column_end":14,"is_primary":true,"text":[{"text":"trait MyTrait {","highlight_start":1,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":935,"byte_end":935,"line_start":44,"line_end":44,"column_start":7,"column_end":7,"is_primary":true,"text":[{"text":"    x.change();","highlight_start":7,"highlight_end":7}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `change` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_remote_methods.rs:44:7\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `change` not found for this struct\n...\n44 |     x.change();\n   |       ^^^^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `MyTrait` defines an item `change`, perhaps you need to implement it\n  --> tests/run-pass/delegate_to_remote_methods.rs:7:1\n   |\n7  | trait MyTrait {\n   | ^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n44 |     x.0.change();\n   |       ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for struct `Wrap` 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/delegate_to_remote_methods.rs","byte_start":962,"byte_end":965,"line_start":45,"line_end":45,"column_start":18,"column_end":21,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":21}],"label":"method not found in `Wrap<Box<u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":343,"byte_end":357,"line_start":22,"line_end":22,"column_start":1,"column_end":15,"is_primary":false,"text":[{"text":"struct Wrap<X>(X);","highlight_start":1,"highlight_end":15}],"label":"method `get` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `MyTrait`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":962,"byte_end":962,"line_start":45,"line_end":45,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.get(), 43);","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for struct `Wrap` in the current scope\n  --> tests/run-pass/delegate_to_remote_methods.rs:45:18\n   |\n22 | struct Wrap<X>(X);\n   | -------------- method `get` not found for this struct\n...\n45 |     assert_eq!(x.get(), 43);\n   |                  ^^^ method not found in `Wrap<Box<u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `MyTrait`\n           candidate #2: `SliceIndex`\nhelp: one of the expressions' fields has a method of the same name\n   |\n45 |     assert_eq!(x.0.get(), 43);\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `Deref`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/delegate_to_remote_methods.rs","byte_start":106,"byte_end":111,"line_start":4,"line_end":4,"column_start":16,"column_end":21,"is_primary":true,"text":[{"text":"use std::ops::{Deref, DerefMut};","highlight_start":16,"highlight_end":21}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: unused import: `Deref`\n --> tests/run-pass/delegate_to_remote_methods.rs:4:16\n  |\n4 | use std::ops::{Deref, DerefMut};\n  |                ^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/delegate_trait_remote_display.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/delegate_trait_remote_display.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/delegate_trait_remote_display.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/delegate_trait_remote_display.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `Display` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":296,"byte_end":309,"line_start":15,"line_end":15,"column_start":1,"column_end":14,"is_primary":true,"text":[{"text":"trait Display {","highlight_start":1,"highlight_end":14}],"label":"`Display` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":84,"byte_end":101,"line_start":4,"line_end":4,"column_start":5,"column_end":22,"is_primary":false,"text":[{"text":"use std::fmt::Display;","highlight_start":5,"highlight_end":22}],"label":"previous import of the trait `Display` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`Display` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":84,"byte_end":101,"line_start":4,"line_end":4,"column_start":5,"column_end":22,"is_primary":true,"text":[{"text":"use std::fmt::Display;","highlight_start":5,"highlight_end":22}],"label":null,"suggested_replacement":"std::fmt::Display as OtherDisplay","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `Display` is defined multiple times\n  --> tests/run-pass/delegate_trait_remote_display.rs:15:1\n   |\n4  | use std::fmt::Display;\n   |     ----------------- previous import of the trait `Display` here\n...\n15 | trait Display {\n   | ^^^^^^^^^^^^^ `Display` redefined here\n   |\n   = note: `Display` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\n4  | use std::fmt::Display as OtherDisplay;\n   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":420,"byte_end":428,"line_start":20,"line_end":20,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Display)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/delegate_trait_remote_display.rs:20:3\n   |\n20 | #[delegate(Display)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `std::fmt::Display`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":84,"byte_end":101,"line_start":4,"line_end":4,"column_start":5,"column_end":22,"is_primary":true,"text":[{"text":"use std::fmt::Display;","highlight_start":5,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":80,"byte_end":103,"line_start":4,"line_end":5,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::fmt::Display;","highlight_start":1,"highlight_end":23},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused import: `std::fmt::Display`\n --> tests/run-pass/delegate_trait_remote_display.rs:4:5\n  |\n4 | use std::fmt::Display;\n  |     ^^^^^^^^^^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"`WrappedCat` doesn't implement `std::fmt::Display`","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":541,"byte_end":551,"line_start":25,"line_end":25,"column_start":20,"column_end":30,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal);","highlight_start":20,"highlight_end":30}],"label":"`WrappedCat` cannot be formatted with the default formatter","suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"/rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/macros.rs","byte_start":4429,"byte_end":4462,"line_start":143,"line_end":143,"column_start":28,"column_end":61,"is_primary":false,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":{"span":{"file_name":"tests/run-pass/delegate_trait_remote_display.rs","byte_start":526,"byte_end":552,"line_start":25,"line_end":25,"column_start":5,"column_end":31,"is_primary":false,"text":[{"text":"    println!(\"{}\", foo_animal);","highlight_start":5,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},"macro_decl_name":"println!","def_site_span":{"file_name":"/rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/macros.rs","byte_start":4307,"byte_end":4327,"line_start":138,"line_end":138,"column_start":1,"column_end":21,"is_primary":false,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}},"macro_decl_name":"$crate::format_args_nl!","def_site_span":{"file_name":"/rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/macros/mod.rs","byte_start":36483,"byte_end":36510,"line_start":1041,"line_end":1041,"column_start":5,"column_end":32,"is_primary":false,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}}}],"children":[{"message":"the trait `std::fmt::Display` is not implemented for `WrappedCat`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0277]: `WrappedCat` doesn't implement `std::fmt::Display`\n  --> tests/run-pass/delegate_trait_remote_display.rs:25:20\n   |\n25 |     println!(\"{}\", foo_animal);\n   |                    ^^^^^^^^^^ `WrappedCat` cannot be formatted with the default formatter\n   |\n   = help: the trait `std::fmt::Display` is not implemented for `WrappedCat`\n   = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead\n   = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0255, E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0255, E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0255`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0255`.\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/double_generics.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/double_generics.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/double_generics.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/double_generics.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/double_generics.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/double_generics.rs","byte_start":168,"byte_end":176,"line_start":12,"line_end":12,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/double_generics.rs:12:10\n   |\n12 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/double_generics.rs","byte_start":181,"byte_end":189,"line_start":13,"line_end":13,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Target<T, U>, generics = \"T, U\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/double_generics.rs:13:3\n   |\n13 | #[delegate(Target<T, U>, generics = \"T, U\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegatable_trait` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/double_generics.rs","byte_start":48,"byte_end":65,"line_start":5,"line_end":5,"column_start":3,"column_end":20,"is_primary":true,"text":[{"text":"#[delegatable_trait]","highlight_start":3,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegatable_trait` in this scope\n --> tests/run-pass/double_generics.rs:5:3\n  |\n5 | #[delegatable_trait]\n  |   ^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0464`.\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/derive_and_trait_in_modules.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/derive_and_trait_in_modules.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/derive_and_trait_in_modules.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/derive_and_trait_in_modules.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/derive_and_trait_in_modules.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/derive_and_trait_in_modules.rs","byte_start":592,"byte_end":600,"line_start":34,"line_end":34,"column_start":7,"column_end":15,"is_primary":true,"text":[{"text":"    #[delegate(Shout)]","highlight_start":7,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/derive_and_trait_in_modules.rs:34:7\n   |\n34 |     #[delegate(Shout)]\n   |       ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/derive_and_trait_in_modules.rs","byte_start":805,"byte_end":810,"line_start":46,"line_end":46,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/derive_and_trait_in_modules.rs","byte_start":613,"byte_end":629,"line_start":35,"line_end":35,"column_start":5,"column_end":21,"is_primary":false,"text":[{"text":"    pub enum Animals {","highlight_start":5,"highlight_end":21}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/derive_and_trait_in_modules.rs","byte_start":118,"byte_end":133,"line_start":8,"line_end":8,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"    pub trait Shout {","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/derive_and_trait_in_modules.rs:46:31\n   |\n35 |     pub enum Animals {\n   |     ---------------- method `shout` not found for this enum\n...\n46 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Animals`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/derive_and_trait_in_modules.rs:8:5\n   |\n8  |     pub trait Shout {\n   |     ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/derive_in_module.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/derive_in_module.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/derive_in_module.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/derive_in_module.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/derive_in_module.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/derive_in_module.rs","byte_start":547,"byte_end":555,"line_start":31,"line_end":31,"column_start":7,"column_end":15,"is_primary":true,"text":[{"text":"    #[delegate(Shout)]","highlight_start":7,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/derive_in_module.rs:31:7\n   |\n31 |     #[delegate(Shout)]\n   |       ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/derive_in_module.rs","byte_start":744,"byte_end":749,"line_start":42,"line_end":42,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/derive_in_module.rs","byte_start":568,"byte_end":584,"line_start":32,"line_end":32,"column_start":5,"column_end":21,"is_primary":false,"text":[{"text":"    pub enum Animals {","highlight_start":5,"highlight_end":21}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/derive_in_module.rs","byte_start":83,"byte_end":98,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/derive_in_module.rs:42:31\n   |\n32 |     pub enum Animals {\n   |     ---------------- method `shout` not found for this enum\n...\n42 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Animals`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/derive_in_module.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/enum_associated_constant.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/enum_associated_constant.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/enum_associated_constant.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/enum_associated_constant.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegatable_trait` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":91,"byte_end":108,"line_start":6,"line_end":6,"column_start":3,"column_end":20,"is_primary":true,"text":[{"text":"#[delegatable_trait]","highlight_start":3,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegatable_trait` in this scope\n --> tests/run-pass/enum_associated_constant.rs:6:3\n  |\n6 | #[delegatable_trait]\n  |   ^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":388,"byte_end":396,"line_start":27,"line_end":27,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/enum_associated_constant.rs:27:10\n   |\n27 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":401,"byte_end":409,"line_start":28,"line_end":28,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(IntoMany<X>, generics = \"X\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/enum_associated_constant.rs:28:3\n   |\n28 | #[delegate(IntoMany<X>, generics = \"X\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused imports: `BTreeMap`, `HashMap`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":68,"byte_end":76,"line_start":4,"line_end":4,"column_start":24,"column_end":32,"is_primary":true,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":24,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":78,"byte_end":85,"line_start":4,"line_end":4,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":45,"byte_end":88,"line_start":4,"line_end":5,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":1,"highlight_end":43},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused imports: `BTreeMap`, `HashMap`\n --> tests/run-pass/enum_associated_constant.rs:4:24\n  |\n4 | use std::collections::{BTreeMap, HashMap};\n  |                        ^^^^^^^^  ^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `CharOrU32: IntoMany<u8>` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_constant.rs","byte_start":522,"byte_end":531,"line_start":35,"line_end":35,"column_start":17,"column_end":26,"is_primary":true,"text":[{"text":"    assert_eq!(<CharOrU32 as IntoMany<u8>>::N, 4);","highlight_start":17,"highlight_end":26}],"label":"the trait `IntoMany<u8>` is not implemented for `CharOrU32`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `IntoMany<N>`:\n  <char as IntoMany<u8>>\n  <u16 as IntoMany<u8>>\n  <u32 as IntoMany<u16>>\n  <u32 as IntoMany<u8>>","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `CharOrU32: IntoMany<u8>` is not satisfied\n  --> tests/run-pass/enum_associated_constant.rs:35:17\n   |\n35 |     assert_eq!(<CharOrU32 as IntoMany<u8>>::N, 4);\n   |                 ^^^^^^^^^ the trait `IntoMany<u8>` is not implemented for `CharOrU32`\n   |\n   = help: the following other types implement trait `IntoMany<N>`:\n             <char as IntoMany<u8>>\n             <u16 as IntoMany<u8>>\n             <u32 as IntoMany<u16>>\n             <u32 as IntoMany<u8>>\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 5 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 5 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\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/gat.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/gat.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/gat.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/gat.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/gat.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/gat.rs","byte_start":454,"byte_end":462,"line_start":24,"line_end":24,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(StreamingIterator)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/gat.rs:24:3\n   |\n24 | #[delegate(StreamingIterator)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `next` found for struct `Wrap` 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/gat.rs","byte_start":601,"byte_end":605,"line_start":29,"line_end":29,"column_start":28,"column_end":32,"is_primary":true,"text":[{"text":"    let m: &mut String = x.next().unwrap();","highlight_start":28,"highlight_end":32}],"label":"method not found in `Wrap<RepeatMut<_>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/gat.rs","byte_start":483,"byte_end":501,"line_start":25,"line_end":25,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"pub struct Wrap<X>(X);","highlight_start":1,"highlight_end":19}],"label":"method `next` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `next`, perhaps you need to implement one of them:\ncandidate #1: `StreamingIterator`\ncandidate #2: `Iterator`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/gat.rs","byte_start":601,"byte_end":601,"line_start":29,"line_end":29,"column_start":28,"column_end":28,"is_primary":true,"text":[{"text":"    let m: &mut String = x.next().unwrap();","highlight_start":28,"highlight_end":28}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `next` found for struct `Wrap` in the current scope\n  --> tests/run-pass/gat.rs:29:28\n   |\n25 | pub struct Wrap<X>(X);\n   | ------------------ method `next` not found for this struct\n...\n29 |     let m: &mut String = x.next().unwrap();\n   |                            ^^^^ method not found in `Wrap<RepeatMut<_>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `next`, perhaps you need to implement one of them:\n           candidate #1: `StreamingIterator`\n           candidate #2: `Iterator`\nhelp: one of the expressions' fields has a method of the same name\n   |\n29 |     let m: &mut String = x.0.next().unwrap();\n   |                            ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `next` found for struct `Wrap` 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/gat.rs","byte_start":652,"byte_end":656,"line_start":31,"line_end":31,"column_start":18,"column_end":22,"is_primary":true,"text":[{"text":"    assert_eq!(x.next().unwrap(), \"forever?\");","highlight_start":18,"highlight_end":22}],"label":"method not found in `Wrap<RepeatMut<_>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/gat.rs","byte_start":483,"byte_end":501,"line_start":25,"line_end":25,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"pub struct Wrap<X>(X);","highlight_start":1,"highlight_end":19}],"label":"method `next` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `next`, perhaps you need to implement one of them:\ncandidate #1: `StreamingIterator`\ncandidate #2: `Iterator`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/gat.rs","byte_start":652,"byte_end":652,"line_start":31,"line_end":31,"column_start":18,"column_end":18,"is_primary":true,"text":[{"text":"    assert_eq!(x.next().unwrap(), \"forever?\");","highlight_start":18,"highlight_end":18}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `next` found for struct `Wrap` in the current scope\n  --> tests/run-pass/gat.rs:31:18\n   |\n25 | pub struct Wrap<X>(X);\n   | ------------------ method `next` not found for this struct\n...\n31 |     assert_eq!(x.next().unwrap(), \"forever?\");\n   |                  ^^^^ method not found in `Wrap<RepeatMut<_>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `next`, perhaps you need to implement one of them:\n           candidate #1: `StreamingIterator`\n           candidate #2: `Iterator`\nhelp: one of the expressions' fields has a method of the same name\n   |\n31 |     assert_eq!(x.0.next().unwrap(), \"forever?\");\n   |                  ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_enum.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_enum.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/generic_enum.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_enum.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_enum.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_enum.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_enum.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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_enum.rs","byte_start":623,"byte_end":628,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_enum.rs","byte_start":457,"byte_end":492,"line_start":28,"line_end":28,"column_start":1,"column_end":36,"is_primary":false,"text":[{"text":"pub enum Either<A: Shout, B: Shout> {","highlight_start":1,"highlight_end":36}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_enum.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/generic_enum.rs:35:31\n   |\n28 | pub enum Either<A: Shout, B: Shout> {\n   | ----------------------------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_enum.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Either` 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_enum.rs","byte_start":721,"byte_end":726,"line_start":37,"line_end":37,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Either<Cat, Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_enum.rs","byte_start":457,"byte_end":492,"line_start":28,"line_end":28,"column_start":1,"column_end":36,"is_primary":false,"text":[{"text":"pub enum Either<A: Shout, B: Shout> {","highlight_start":1,"highlight_end":36}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_enum.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Either` in the current scope\n  --> tests/run-pass/generic_enum.rs:37:31\n   |\n28 | pub enum Either<A: Shout, B: Shout> {\n   | ----------------------------------- method `shout` not found for this enum\n...\n37 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Either<Cat, Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_enum.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/enum_associated_types.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/enum_associated_types.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/enum_associated_types.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_types.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/enum_associated_types.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_types.rs","byte_start":449,"byte_end":457,"line_start":34,"line_end":34,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Animal)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/enum_associated_types.rs:34:3\n   |\n34 | #[delegate(Animal)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `Either<Cat, Kitten>: Animal` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/enum_associated_types.rs","byte_start":565,"byte_end":584,"line_start":42,"line_end":42,"column_start":35,"column_end":54,"is_primary":true,"text":[{"text":"    println!(\"{:?}\", type_name::<<Either<Cat, Kitten> as Animal>::Baby>());","highlight_start":35,"highlight_end":54}],"label":"the trait `Animal` is not implemented for `Either<Cat, Kitten>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `Animal`:\n  Cat\n  Dog\n  Kitten\n  Puppy","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `Either<Cat, Kitten>: Animal` is not satisfied\n  --> tests/run-pass/enum_associated_types.rs:42:35\n   |\n42 |     println!(\"{:?}\", type_name::<<Either<Cat, Kitten> as Animal>::Baby>());\n   |                                   ^^^^^^^^^^^^^^^^^^^ the trait `Animal` is not implemented for `Either<Cat, Kitten>`\n   |\n   = help: the following other types implement trait `Animal`:\n             Cat\n             Dog\n             Kitten\n             Puppy\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\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_trait_any.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_trait_any.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/generic_trait_any.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_trait_any.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `Index` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":138,"byte_end":166,"line_start":8,"line_end":8,"column_start":1,"column_end":29,"is_primary":true,"text":[{"text":"pub trait Index<Idx: ?Sized> {","highlight_start":1,"highlight_end":29}],"label":"`Index` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":92,"byte_end":107,"line_start":5,"line_end":5,"column_start":5,"column_end":20,"is_primary":false,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":"previous import of the trait `Index` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`Index` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":92,"byte_end":107,"line_start":5,"line_end":5,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":"std::ops::Index as OtherIndex","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `Index` is defined multiple times\n --> tests/run-pass/generic_trait_any.rs:8:1\n  |\n5 | use std::ops::Index;\n  |     --------------- previous import of the trait `Index` here\n...\n8 | pub trait Index<Idx: ?Sized> {\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Index` redefined here\n  |\n  = note: `Index` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n  |\n5 | use std::ops::Index as OtherIndex;\n  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegatable_trait_remote` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":112,"byte_end":136,"line_start":7,"line_end":7,"column_start":3,"column_end":27,"is_primary":true,"text":[{"text":"#[delegatable_trait_remote]","highlight_start":3,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegatable_trait_remote` in this scope\n --> tests/run-pass/generic_trait_any.rs:7:3\n  |\n7 | #[delegatable_trait_remote]\n  |   ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":256,"byte_end":264,"line_start":13,"line_end":13,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/generic_trait_any.rs:13:10\n   |\n13 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":269,"byte_end":277,"line_start":14,"line_end":14,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Index<X>, generics = \"X\", where = \"X: Copy\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_trait_any.rs:14:3\n   |\n14 | #[delegate(Index<X>, generics = \"X\", where = \"X: Copy\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `std::ops::Index`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":92,"byte_end":107,"line_start":5,"line_end":5,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":88,"byte_end":109,"line_start":5,"line_end":6,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":1,"highlight_end":21},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused import: `std::ops::Index`\n --> tests/run-pass/generic_trait_any.rs:5:5\n  |\n5 | use std::ops::Index;\n  |     ^^^^^^^^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot index into a value of type `SomeMap<String, &str>`","code":{"code":"E0608","explanation":"An attempt to use index on a type which doesn't implement the `std::ops::Index`\ntrait was performed.\n\nErroneous code example:\n\n```compile_fail,E0608\n0u8[2]; // error: cannot index into a value of type `u8`\n```\n\nTo be able to index into a type it needs to implement the `std::ops::Index`\ntrait. Example:\n\n```\nlet v: Vec<u8> = vec![0, 1, 2, 3];\n\n// The `Vec` type implements the `Index` trait so you can do:\nprintln!(\"{}\", v[2]);\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":583,"byte_end":590,"line_start":23,"line_end":23,"column_start":18,"column_end":25,"is_primary":true,"text":[{"text":"    assert_eq!(m1[\"dog\"], \"wuff\");","highlight_start":18,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0608]: cannot index into a value of type `SomeMap<String, &str>`\n  --> tests/run-pass/generic_trait_any.rs:23:18\n   |\n23 |     assert_eq!(m1[\"dog\"], \"wuff\");\n   |                  ^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot index into a value of type `SomeMap<String, &str>`","code":{"code":"E0608","explanation":"An attempt to use index on a type which doesn't implement the `std::ops::Index`\ntrait was performed.\n\nErroneous code example:\n\n```compile_fail,E0608\n0u8[2]; // error: cannot index into a value of type `u8`\n```\n\nTo be able to index into a type it needs to implement the `std::ops::Index`\ntrait. Example:\n\n```\nlet v: Vec<u8> = vec![0, 1, 2, 3];\n\n// The `Vec` type implements the `Index` trait so you can do:\nprintln!(\"{}\", v[2]);\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_any.rs","byte_start":618,"byte_end":625,"line_start":24,"line_end":24,"column_start":18,"column_end":25,"is_primary":true,"text":[{"text":"    assert_eq!(m2[\"cat\"], \"meow\");","highlight_start":18,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0608]: cannot index into a value of type `SomeMap<String, &str>`\n  --> tests/run-pass/generic_trait_any.rs:24:18\n   |\n24 |     assert_eq!(m2[\"cat\"], \"meow\");\n   |                  ^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0255, E0464, E0608.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0255, E0464, E0608.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0255`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0255`.\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_method.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_method.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/generic_method.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_method.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":549,"byte_end":557,"line_start":38,"line_end":38,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(StaticCall)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_method.rs:38:3\n   |\n38 | #[delegate(StaticCall)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `call` found for struct `WrappedCaller` 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_method.rs","byte_start":774,"byte_end":778,"line_start":44,"line_end":44,"column_start":15,"column_end":19,"is_primary":true,"text":[{"text":"    assert!(c.call::<StaticTrue>());","highlight_start":15,"highlight_end":19}],"label":"this is an associated function, not a method","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_method.rs","byte_start":571,"byte_end":595,"line_start":39,"line_end":39,"column_start":1,"column_end":25,"is_primary":false,"text":[{"text":"pub struct WrappedCaller(BaseCaller);","highlight_start":1,"highlight_end":25}],"label":"method `call` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"found the following associated functions; to be used as methods, functions must have a `self` parameter","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"the candidate is defined in the trait `StaticFn`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":95,"byte_end":113,"line_start":6,"line_end":6,"column_start":5,"column_end":23,"is_primary":true,"text":[{"text":"    fn call() -> bool;","highlight_start":5,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `call`, perhaps you need to implement one of them:\ncandidate #1: `StaticCall`\ncandidate #2: `Fn`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"use associated function syntax instead","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":772,"byte_end":794,"line_start":44,"line_end":44,"column_start":13,"column_end":35,"is_primary":true,"text":[{"text":"    assert!(c.call::<StaticTrue>());","highlight_start":13,"highlight_end":35}],"label":null,"suggested_replacement":"WrappedCaller::call()","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":774,"byte_end":774,"line_start":44,"line_end":44,"column_start":15,"column_end":15,"is_primary":true,"text":[{"text":"    assert!(c.call::<StaticTrue>());","highlight_start":15,"highlight_end":15}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `call` found for struct `WrappedCaller` in the current scope\n  --> tests/run-pass/generic_method.rs:44:15\n   |\n39 | pub struct WrappedCaller(BaseCaller);\n   | ------------------------ method `call` not found for this struct\n...\n44 |     assert!(c.call::<StaticTrue>());\n   |               ^^^^ this is an associated function, not a method\n   |\n   = note: found the following associated functions; to be used as methods, functions must have a `self` parameter\nnote: the candidate is defined in the trait `StaticFn`\n  --> tests/run-pass/generic_method.rs:6:5\n   |\n6  |     fn call() -> bool;\n   |     ^^^^^^^^^^^^^^^^^^\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `call`, perhaps you need to implement one of them:\n           candidate #1: `StaticCall`\n           candidate #2: `Fn`\nhelp: use associated function syntax instead\n   |\n44 |     assert!(WrappedCaller::call());\n   |             ~~~~~~~~~~~~~~~~~~~~~\nhelp: one of the expressions' fields has a method of the same name\n   |\n44 |     assert!(c.0.call::<StaticTrue>());\n   |               ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `call` found for struct `WrappedCaller` 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_method.rs","byte_start":812,"byte_end":816,"line_start":45,"line_end":45,"column_start":16,"column_end":20,"is_primary":true,"text":[{"text":"    assert!(!c.call::<StaticFalse>());","highlight_start":16,"highlight_end":20}],"label":"this is an associated function, not a method","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_method.rs","byte_start":571,"byte_end":595,"line_start":39,"line_end":39,"column_start":1,"column_end":25,"is_primary":false,"text":[{"text":"pub struct WrappedCaller(BaseCaller);","highlight_start":1,"highlight_end":25}],"label":"method `call` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"found the following associated functions; to be used as methods, functions must have a `self` parameter","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"the candidate is defined in the trait `StaticFn`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":95,"byte_end":113,"line_start":6,"line_end":6,"column_start":5,"column_end":23,"is_primary":true,"text":[{"text":"    fn call() -> bool;","highlight_start":5,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `call`, perhaps you need to implement one of them:\ncandidate #1: `StaticCall`\ncandidate #2: `Fn`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"use associated function syntax instead","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":810,"byte_end":833,"line_start":45,"line_end":45,"column_start":14,"column_end":37,"is_primary":true,"text":[{"text":"    assert!(!c.call::<StaticFalse>());","highlight_start":14,"highlight_end":37}],"label":null,"suggested_replacement":"WrappedCaller::call()","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_method.rs","byte_start":812,"byte_end":812,"line_start":45,"line_end":45,"column_start":16,"column_end":16,"is_primary":true,"text":[{"text":"    assert!(!c.call::<StaticFalse>());","highlight_start":16,"highlight_end":16}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `call` found for struct `WrappedCaller` in the current scope\n  --> tests/run-pass/generic_method.rs:45:16\n   |\n39 | pub struct WrappedCaller(BaseCaller);\n   | ------------------------ method `call` not found for this struct\n...\n45 |     assert!(!c.call::<StaticFalse>());\n   |                ^^^^ this is an associated function, not a method\n   |\n   = note: found the following associated functions; to be used as methods, functions must have a `self` parameter\nnote: the candidate is defined in the trait `StaticFn`\n  --> tests/run-pass/generic_method.rs:6:5\n   |\n6  |     fn call() -> bool;\n   |     ^^^^^^^^^^^^^^^^^^\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `call`, perhaps you need to implement one of them:\n           candidate #1: `StaticCall`\n           candidate #2: `Fn`\nhelp: use associated function syntax instead\n   |\n45 |     assert!(!WrappedCaller::call());\n   |              ~~~~~~~~~~~~~~~~~~~~~\nhelp: one of the expressions' fields has a method of the same name\n   |\n45 |     assert!(!c.0.call::<StaticFalse>());\n   |                ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_struct.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_struct.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/generic_struct.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_struct.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout, target = \"bar\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_struct.rs:27:3\n   |\n27 | #[delegate(Shout, target = \"bar\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedAnimals` 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_struct.rs","byte_start":646,"byte_end":651,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedAnimals<Cat>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_struct.rs","byte_start":473,"byte_end":508,"line_start":28,"line_end":28,"column_start":1,"column_end":36,"is_primary":false,"text":[{"text":"pub struct WrappedAnimals<A: Shout> {","highlight_start":1,"highlight_end":36}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"some of the expressions' fields have a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":646,"byte_end":646,"line_start":35,"line_end":35,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"bar.","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"tests/run-pass/generic_struct.rs","byte_start":646,"byte_end":646,"line_start":35,"line_end":35,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"foo.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedAnimals` in the current scope\n  --> tests/run-pass/generic_struct.rs:35:31\n   |\n28 | pub struct WrappedAnimals<A: Shout> {\n   | ----------------------------------- method `shout` not found for this struct\n...\n35 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedAnimals<Cat>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_struct.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: some of the expressions' fields have a method of the same name\n   |\n35 |     println!(\"{}\", foo_animal.bar.shout(\"BAR\"));\n   |                               ++++\n35 |     println!(\"{}\", foo_animal.foo.shout(\"BAR\"));\n   |                               ++++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedAnimals` 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_struct.rs","byte_start":751,"byte_end":756,"line_start":37,"line_end":37,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedAnimals<Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_struct.rs","byte_start":473,"byte_end":508,"line_start":28,"line_end":28,"column_start":1,"column_end":36,"is_primary":false,"text":[{"text":"pub struct WrappedAnimals<A: Shout> {","highlight_start":1,"highlight_end":36}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"some of the expressions' fields have a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_struct.rs","byte_start":751,"byte_end":751,"line_start":37,"line_end":37,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"bar.","suggestion_applicability":"MaybeIncorrect","expansion":null},{"file_name":"tests/run-pass/generic_struct.rs","byte_start":751,"byte_end":751,"line_start":37,"line_end":37,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"foo.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedAnimals` in the current scope\n  --> tests/run-pass/generic_struct.rs:37:31\n   |\n28 | pub struct WrappedAnimals<A: Shout> {\n   | ----------------------------------- method `shout` not found for this struct\n...\n37 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedAnimals<Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_struct.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: some of the expressions' fields have a method of the same name\n   |\n37 |     println!(\"{}\", bar_animal.bar.shout(\"BAR\"));\n   |                               ++++\n37 |     println!(\"{}\", bar_animal.foo.shout(\"BAR\"));\n   |                               ++++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_trait_complex.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_trait_complex.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/generic_trait_complex.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_complex.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_trait_complex.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_complex.rs","byte_start":381,"byte_end":389,"line_start":20,"line_end":20,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout<(Y, &'a str)>, generics = \"'a, Y\", target=\"0\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_trait_complex.rs:20:3\n   |\n20 | #[delegate(Shout<(Y, &'a str)>, generics = \"'a, Y\", target=\"0\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedCat` 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_trait_complex.rs","byte_start":543,"byte_end":548,"line_start":25,"line_end":25,"column_start":22,"column_end":27,"is_primary":true,"text":[{"text":"    println!(\"{}\", c.shout((5, \"bar\")))","highlight_start":22,"highlight_end":27}],"label":"method not found in `WrappedCat`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_trait_complex.rs","byte_start":444,"byte_end":465,"line_start":21,"line_end":21,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub struct WrappedCat(Cat, ());","highlight_start":1,"highlight_end":22}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_trait_complex.rs","byte_start":118,"byte_end":136,"line_start":7,"line_end":7,"column_start":1,"column_end":19,"is_primary":true,"text":[{"text":"pub trait Shout<T> {","highlight_start":1,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_complex.rs","byte_start":543,"byte_end":543,"line_start":25,"line_end":25,"column_start":22,"column_end":22,"is_primary":true,"text":[{"text":"    println!(\"{}\", c.shout((5, \"bar\")))","highlight_start":22,"highlight_end":22}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedCat` in the current scope\n  --> tests/run-pass/generic_trait_complex.rs:25:22\n   |\n21 | pub struct WrappedCat(Cat, ());\n   | --------------------- method `shout` not found for this struct\n...\n25 |     println!(\"{}\", c.shout((5, \"bar\")))\n   |                      ^^^^^ method not found in `WrappedCat`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_trait_complex.rs:7:1\n   |\n7  | pub trait Shout<T> {\n   | ^^^^^^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n25 |     println!(\"{}\", c.0.shout((5, \"bar\")))\n   |                      ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_trait_lifetime.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_trait_lifetime.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/generic_trait_lifetime.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_lifetime.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_trait_lifetime.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_lifetime.rs","byte_start":327,"byte_end":335,"line_start":20,"line_end":20,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Ref<'x>, generics = \"'x\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_trait_lifetime.rs:20:3\n   |\n20 | #[delegate(Ref<'x>, generics = \"'x\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `deref` found for struct `WrapRef` 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_trait_lifetime.rs","byte_start":464,"byte_end":469,"line_start":26,"line_end":26,"column_start":19,"column_end":24,"is_primary":true,"text":[{"text":"    assert_eq!(*y.deref(), 5)","highlight_start":19,"highlight_end":24}],"label":"method not found in `WrapRef<'_, {integer}>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_trait_lifetime.rs","byte_start":363,"byte_end":384,"line_start":21,"line_end":21,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"struct WrapRef<'a, T>(&'a T);","highlight_start":1,"highlight_end":22}],"label":"method `deref` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `deref`, perhaps you need to implement one of them:\ncandidate #1: `Ref`\ncandidate #2: `Deref`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_lifetime.rs","byte_start":464,"byte_end":464,"line_start":26,"line_end":26,"column_start":19,"column_end":19,"is_primary":true,"text":[{"text":"    assert_eq!(*y.deref(), 5)","highlight_start":19,"highlight_end":19}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `deref` found for struct `WrapRef` in the current scope\n  --> tests/run-pass/generic_trait_lifetime.rs:26:19\n   |\n21 | struct WrapRef<'a, T>(&'a T);\n   | --------------------- method `deref` not found for this struct\n...\n26 |     assert_eq!(*y.deref(), 5)\n   |                   ^^^^^ method not found in `WrapRef<'_, {integer}>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `deref`, perhaps you need to implement one of them:\n           candidate #1: `Ref`\n           candidate #2: `Deref`\nhelp: one of the expressions' fields has a method of the same name\n   |\n26 |     assert_eq!(*y.0.deref(), 5)\n   |                   ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_tuple_struct.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_tuple_struct.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/generic_tuple_struct.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_tuple_struct.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_tuple_struct.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedAnimal` 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_tuple_struct.rs","byte_start":584,"byte_end":589,"line_start":32,"line_end":32,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedAnimal<Cat>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":457,"byte_end":491,"line_start":28,"line_end":28,"column_start":1,"column_end":35,"is_primary":false,"text":[{"text":"pub struct WrappedAnimal<A: Shout>(A);","highlight_start":1,"highlight_end":35}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":584,"byte_end":584,"line_start":32,"line_end":32,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedAnimal` in the current scope\n  --> tests/run-pass/generic_tuple_struct.rs:32:31\n   |\n28 | pub struct WrappedAnimal<A: Shout>(A);\n   | ---------------------------------- method `shout` not found for this struct\n...\n32 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedAnimal<Cat>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_tuple_struct.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n32 |     println!(\"{}\", foo_animal.0.shout(\"BAR\"));\n   |                               ++\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for struct `WrappedAnimal` 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_tuple_struct.rs","byte_start":670,"byte_end":675,"line_start":34,"line_end":34,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `WrappedAnimal<Dog>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":457,"byte_end":491,"line_start":28,"line_end":28,"column_start":1,"column_end":35,"is_primary":false,"text":[{"text":"pub struct WrappedAnimal<A: Shout>(A);","highlight_start":1,"highlight_end":35}],"label":"method `shout` not found for this struct","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"one of the expressions' fields has a method of the same name","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_tuple_struct.rs","byte_start":670,"byte_end":670,"line_start":34,"line_end":34,"column_start":31,"column_end":31,"is_primary":true,"text":[{"text":"    println!(\"{}\", bar_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":31}],"label":null,"suggested_replacement":"0.","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for struct `WrappedAnimal` in the current scope\n  --> tests/run-pass/generic_tuple_struct.rs:34:31\n   |\n28 | pub struct WrappedAnimal<A: Shout>(A);\n   | ---------------------------------- method `shout` not found for this struct\n...\n34 |     println!(\"{}\", bar_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `WrappedAnimal<Dog>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/generic_tuple_struct.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\nhelp: one of the expressions' fields has a method of the same name\n   |\n34 |     println!(\"{}\", bar_animal.0.shout(\"BAR\"));\n   |                               ++\n\n"}
[INFO] [stderr] error: test failed, to rerun pass `--test compiletest`
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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_trait_single_type.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/generic_trait_single_type.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/generic_trait_single_type.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/generic_trait_single_type.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `Index` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":94,"byte_end":122,"line_start":6,"line_end":6,"column_start":1,"column_end":29,"is_primary":true,"text":[{"text":"pub trait Index<Idx: ?Sized> {","highlight_start":1,"highlight_end":29}],"label":"`Index` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":48,"byte_end":63,"line_start":3,"line_end":3,"column_start":5,"column_end":20,"is_primary":false,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":"previous import of the trait `Index` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`Index` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":48,"byte_end":63,"line_start":3,"line_end":3,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":"std::ops::Index as OtherIndex","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `Index` is defined multiple times\n --> tests/run-pass/generic_trait_single_type.rs:6:1\n  |\n3 | use std::ops::Index;\n  |     --------------- previous import of the trait `Index` here\n...\n6 | pub trait Index<Idx: ?Sized> {\n  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Index` redefined here\n  |\n  = note: `Index` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n  |\n3 | use std::ops::Index as OtherIndex;\n  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegatable_trait_remote` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":68,"byte_end":92,"line_start":5,"line_end":5,"column_start":3,"column_end":27,"is_primary":true,"text":[{"text":"#[delegatable_trait_remote]","highlight_start":3,"highlight_end":27}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegatable_trait_remote` in this scope\n --> tests/run-pass/generic_trait_single_type.rs:5:3\n  |\n5 | #[delegatable_trait_remote]\n  |   ^^^^^^^^^^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find derive macro `Delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":213,"byte_end":221,"line_start":12,"line_end":12,"column_start":10,"column_end":18,"is_primary":true,"text":[{"text":"#[derive(Delegate)]","highlight_start":10,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find derive macro `Delegate` in this scope\n  --> tests/run-pass/generic_trait_single_type.rs:12:10\n   |\n12 | #[derive(Delegate)]\n   |          ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":226,"byte_end":234,"line_start":13,"line_end":13,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Index<usize>)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/generic_trait_single_type.rs:13:3\n   |\n13 | #[delegate(Index<usize>)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `std::ops::Index`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":48,"byte_end":63,"line_start":3,"line_end":3,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":44,"byte_end":65,"line_start":3,"line_end":4,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::ops::Index;","highlight_start":1,"highlight_end":21},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused import: `std::ops::Index`\n --> tests/run-pass/generic_trait_single_type.rs:3:5\n  |\n3 | use std::ops::Index;\n  |     ^^^^^^^^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot index into a value of type `TinyVec<{integer}>`","code":{"code":"E0608","explanation":"An attempt to use index on a type which doesn't implement the `std::ops::Index`\ntrait was performed.\n\nErroneous code example:\n\n```compile_fail,E0608\n0u8[2]; // error: cannot index into a value of type `u8`\n```\n\nTo be able to index into a type it needs to implement the `std::ops::Index`\ntrait. Example:\n\n```\nlet v: Vec<u8> = vec![0, 1, 2, 3];\n\n// The `Vec` type implements the `Index` trait so you can do:\nprintln!(\"{}\", v[2]);\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":415,"byte_end":418,"line_start":22,"line_end":22,"column_start":19,"column_end":22,"is_primary":true,"text":[{"text":"    assert_eq!(tv1[0], 5);","highlight_start":19,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0608]: cannot index into a value of type `TinyVec<{integer}>`\n  --> tests/run-pass/generic_trait_single_type.rs:22:19\n   |\n22 |     assert_eq!(tv1[0], 5);\n   |                   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot index into a value of type `TinyVec<{integer}>`","code":{"code":"E0608","explanation":"An attempt to use index on a type which doesn't implement the `std::ops::Index`\ntrait was performed.\n\nErroneous code example:\n\n```compile_fail,E0608\n0u8[2]; // error: cannot index into a value of type `u8`\n```\n\nTo be able to index into a type it needs to implement the `std::ops::Index`\ntrait. Example:\n\n```\nlet v: Vec<u8> = vec![0, 1, 2, 3];\n\n// The `Vec` type implements the `Index` trait so you can do:\nprintln!(\"{}\", v[2]);\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/generic_trait_single_type.rs","byte_start":442,"byte_end":445,"line_start":23,"line_end":23,"column_start":19,"column_end":22,"is_primary":true,"text":[{"text":"    assert_eq!(tv2[1], 7);","highlight_start":19,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0608]: cannot index into a value of type `TinyVec<{integer}>`\n  --> tests/run-pass/generic_trait_single_type.rs:23:19\n   |\n23 |     assert_eq!(tv2[1], 7);\n   |                   ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 7 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 7 previous errors; 1 warning emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0255, E0464, E0608.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0255, E0464, E0608.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0255`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0255`.\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/inhibit_where_clause.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/inhibit_where_clause.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/inhibit_where_clause.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/inhibit_where_clause.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/inhibit_where_clause.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/inhibit_where_clause.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout,automatic_where_clause=\"false\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/inhibit_where_clause.rs:27:3\n   |\n27 | #[delegate(Shout,automatic_where_clause=\"false\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the trait bound `WrappedAnimals: Shout` is not satisfied","code":{"code":"E0277","explanation":"You tried to use a type which doesn't implement some trait in a place which\nexpected that trait.\n\nErroneous code example:\n\n```compile_fail,E0277\n// here we declare the Foo trait with a bar method\ntrait Foo {\n    fn bar(&self);\n}\n\n// we now declare a function which takes an object implementing the Foo trait\nfn some_func<T: Foo>(foo: T) {\n    foo.bar();\n}\n\nfn main() {\n    // we now call the method with the i32 type, which doesn't implement\n    // the Foo trait\n    some_func(5i32); // error: the trait bound `i32 : Foo` is not satisfied\n}\n```\n\nIn order to fix this error, verify that the type you're using does implement\nthe trait. Example:\n\n```\ntrait Foo {\n    fn bar(&self);\n}\n\n// we implement the trait on the i32 type\nimpl Foo for i32 {\n    fn bar(&self) {}\n}\n\nfn some_func<T: Foo>(foo: T) {\n    foo.bar(); // we can now use this method since i32 implements the\n               // Foo trait\n}\n\nfn main() {\n    some_func(5i32); // ok!\n}\n```\n\nOr in a generic context, an erroneous code example would look like:\n\n```compile_fail,E0277\nfn some_func<T>(foo: T) {\n    println!(\"{:?}\", foo); // error: the trait `core::fmt::Debug` is not\n                           //        implemented for the type `T`\n}\n\nfn main() {\n    // We now call the method with the i32 type,\n    // which *does* implement the Debug trait.\n    some_func(5i32);\n}\n```\n\nNote that the error here is in the definition of the generic function. Although\nwe only call it with a parameter that does implement `Debug`, the compiler\nstill rejects the function. It must work with all possible input types. In\norder to make this example compile, we need to restrict the generic type we're\naccepting:\n\n```\nuse std::fmt;\n\n// Restrict the input type to types that implement Debug.\nfn some_func<T: fmt::Debug>(foo: T) {\n    println!(\"{:?}\", foo);\n}\n\nfn main() {\n    // Calling the method is still fine, as i32 implements Debug.\n    some_func(5i32);\n\n    // This would fail to compile now:\n    // struct WithoutDebug;\n    // some_func(WithoutDebug);\n}\n```\n\nRust only looks at the signature of the called function, as such it must\nalready specify all requirements that will be used for every type parameter.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/inhibit_where_clause.rs","byte_start":696,"byte_end":706,"line_start":37,"line_end":37,"column_start":12,"column_end":22,"is_primary":true,"text":[{"text":"    use_it(foo_animal);","highlight_start":12,"highlight_end":22}],"label":"the trait `Shout` is not implemented for `WrappedAnimals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/inhibit_where_clause.rs","byte_start":689,"byte_end":695,"line_start":37,"line_end":37,"column_start":5,"column_end":11,"is_primary":false,"text":[{"text":"    use_it(foo_animal);","highlight_start":5,"highlight_end":11}],"label":"required by a bound introduced by this call","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the following other types implement trait `Shout`:\n  Cat\n  Dog","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"required by a bound in `use_it`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/inhibit_where_clause.rs","byte_start":550,"byte_end":555,"line_start":31,"line_end":31,"column_start":14,"column_end":19,"is_primary":true,"text":[{"text":"fn use_it<T: Shout> (shouter: T) {","highlight_start":14,"highlight_end":19}],"label":"required by this bound in `use_it`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0277]: the trait bound `WrappedAnimals: Shout` is not satisfied\n  --> tests/run-pass/inhibit_where_clause.rs:37:12\n   |\n37 |     use_it(foo_animal);\n   |     ------ ^^^^^^^^^^ the trait `Shout` is not implemented for `WrappedAnimals`\n   |     |\n   |     required by a bound introduced by this call\n   |\n   = help: the following other types implement trait `Shout`:\n             Cat\n             Dog\nnote: required by a bound in `use_it`\n  --> tests/run-pass/inhibit_where_clause.rs:31:14\n   |\n31 | fn use_it<T: Shout> (shouter: T) {\n   |              ^^^^^ required by this bound in `use_it`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0277, E0464.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0277, E0464.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0277`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0277`.\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/method_self.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/method_self.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/method_self.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/method_self.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/method_self.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/method_self.rs","byte_start":378,"byte_end":386,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/method_self.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/method_self.rs","byte_start":531,"byte_end":536,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout());","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/method_self.rs","byte_start":395,"byte_end":411,"line_start":28,"line_end":28,"column_start":1,"column_end":17,"is_primary":false,"text":[{"text":"pub enum Animals {","highlight_start":1,"highlight_end":17}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/method_self.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/method_self.rs:35:31\n   |\n28 | pub enum Animals {\n   | ---------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout());\n   |                               ^^^^^ method not found in `Animals`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/method_self.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/method_mut_ref_self.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/method_mut_ref_self.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/method_mut_ref_self.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/method_mut_ref_self.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":283,"byte_end":291,"line_start":19,"line_end":19,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/method_mut_ref_self.rs:19:3\n   |\n19 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":351,"byte_end":359,"line_start":23,"line_end":23,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/method_mut_ref_self.rs:23:3\n   |\n23 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/method_mut_ref_self.rs","byte_start":519,"byte_end":524,"line_start":31,"line_end":31,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout());","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":368,"byte_end":384,"line_start":24,"line_end":24,"column_start":1,"column_end":17,"is_primary":false,"text":[{"text":"pub enum Animals {","highlight_start":1,"highlight_end":17}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the method `shout` exists on the type `Cat`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":117,"byte_end":147,"line_start":7,"line_end":7,"column_start":5,"column_end":35,"is_primary":true,"text":[{"text":"    fn shout(&mut self) -> String;","highlight_start":5,"highlight_end":35}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/method_mut_ref_self.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/method_mut_ref_self.rs:31:31\n   |\n24 | pub enum Animals {\n   | ---------------- method `shout` not found for this enum\n...\n31 |     println!(\"{}\", foo_animal.shout());\n   |                               ^^^^^ method not found in `Animals`\n   |\nnote: the method `shout` exists on the type `Cat`\n  --> tests/run-pass/method_mut_ref_self.rs:7:5\n   |\n7  |     fn shout(&mut self) -> String;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/method_mut_ref_self.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/method_ref_self.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/method_ref_self.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/method_ref_self.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/method_ref_self.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/method_ref_self.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/method_ref_self.rs","byte_start":381,"byte_end":389,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/method_ref_self.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animals` 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/method_ref_self.rs","byte_start":534,"byte_end":539,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout());","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animals`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/method_ref_self.rs","byte_start":398,"byte_end":414,"line_start":28,"line_end":28,"column_start":1,"column_end":17,"is_primary":false,"text":[{"text":"pub enum Animals {","highlight_start":1,"highlight_end":17}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/method_ref_self.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animals` in the current scope\n  --> tests/run-pass/method_ref_self.rs:35:31\n   |\n28 | pub enum Animals {\n   | ---------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout());\n   |                               ^^^^^ method not found in `Animals`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/method_ref_self.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/method_single_arg.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/method_single_arg.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/method_single_arg.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/method_single_arg.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/method_single_arg.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/method_single_arg.rs","byte_start":440,"byte_end":448,"line_start":27,"line_end":27,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/method_single_arg.rs:27:3\n   |\n27 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animal` 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/method_single_arg.rs","byte_start":591,"byte_end":596,"line_start":35,"line_end":35,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animal`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/method_single_arg.rs","byte_start":457,"byte_end":472,"line_start":28,"line_end":28,"column_start":1,"column_end":16,"is_primary":false,"text":[{"text":"pub enum Animal {","highlight_start":1,"highlight_end":16}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/method_single_arg.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animal` in the current scope\n  --> tests/run-pass/method_single_arg.rs:35:31\n   |\n28 | pub enum Animal {\n   | --------------- method `shout` not found for this enum\n...\n35 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Animal`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `Shout` defines an item `shout`, perhaps you need to implement it\n  --> tests/run-pass/method_single_arg.rs:6:1\n   |\n6  | pub trait Shout {\n   | ^^^^^^^^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","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_type":"diagnostic","message":"Some errors have detailed explanations: E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0464`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0464`.\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/muti-feature.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/muti-feature.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/muti-feature.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/muti-feature.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `HashMap` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":738,"byte_end":764,"line_start":33,"line_end":33,"column_start":1,"column_end":27,"is_primary":true,"text":[{"text":"struct HashMap<K, V, S>();","highlight_start":1,"highlight_end":27}],"label":"`HashMap` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/muti-feature.rs","byte_start":173,"byte_end":180,"line_start":6,"line_end":6,"column_start":34,"column_end":41,"is_primary":false,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":34,"highlight_end":41}],"label":"previous import of the type `HashMap` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`HashMap` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":173,"byte_end":180,"line_start":6,"line_end":6,"column_start":34,"column_end":41,"is_primary":true,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":34,"highlight_end":41}],"label":null,"suggested_replacement":"HashMap as OtherHashMap","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `HashMap` is defined multiple times\n  --> tests/run-pass/muti-feature.rs:33:1\n   |\n6  | use std::collections::{BTreeMap, HashMap};\n   |                                  ------- previous import of the type `HashMap` here\n...\n33 | struct HashMap<K, V, S>();\n   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `HashMap` redefined here\n   |\n   = note: `HashMap` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\n6  | use std::collections::{BTreeMap, HashMap as OtherHashMap};\n   |                                  ~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"the name `BTreeMap` is defined multiple times","code":{"code":"E0255","explanation":"You can't import a value whose name is the same as another value defined in the\nmodule.\n\nErroneous code example:\n\n```compile_fail,E0255\nuse bar::foo; // error: an item named `foo` is already in scope\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nYou can use aliases in order to fix this error. Example:\n\n```\nuse bar::foo as bar_foo; // ok!\n\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {}\n```\n\nOr you can reference the item with its parent:\n\n```\nfn foo() {}\n\nmod bar {\n     pub fn foo() {}\n}\n\nfn main() {\n    bar::foo(); // we get the item by referring to its parent\n}\n```\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":885,"byte_end":909,"line_start":37,"line_end":37,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"struct BTreeMap<K, V>();","highlight_start":1,"highlight_end":25}],"label":"`BTreeMap` redefined here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/muti-feature.rs","byte_start":163,"byte_end":171,"line_start":6,"line_end":6,"column_start":24,"column_end":32,"is_primary":false,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":24,"highlight_end":32}],"label":"previous import of the type `BTreeMap` here","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`BTreeMap` must be defined only once in the type namespace of this module","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"you can use `as` to change the binding name of the import","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":163,"byte_end":171,"line_start":6,"line_end":6,"column_start":24,"column_end":32,"is_primary":true,"text":[{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":24,"highlight_end":32}],"label":null,"suggested_replacement":"BTreeMap as OtherBTreeMap","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0255]: the name `BTreeMap` is defined multiple times\n  --> tests/run-pass/muti-feature.rs:37:1\n   |\n6  | use std::collections::{BTreeMap, HashMap};\n   |                        -------- previous import of the type `BTreeMap` here\n...\n37 | struct BTreeMap<K, V>();\n   | ^^^^^^^^^^^^^^^^^^^^^^^^ `BTreeMap` redefined here\n   |\n   = note: `BTreeMap` must be defined only once in the type namespace of this module\nhelp: you can use `as` to change the binding name of the import\n   |\n6  | use std::collections::{BTreeMap as OtherBTreeMap, HashMap};\n   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":612,"byte_end":620,"line_start":32,"line_end":32,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Get<X>, generics = \"X\", target = \"self\", where = \"K: Hash + Eq + Borrow<X>, S: BuildHasher, X: Hash + Eq + ?Sized\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/muti-feature.rs:32:3\n   |\n32 | #[delegate(Get<X>, generics = \"X\", target = \"self\", where = \"K: Hash + Eq + Borrow<X>, S: BuildHasher, X: Hash + Eq + ?Sized\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":787,"byte_end":795,"line_start":36,"line_end":36,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Get<X>, generics = \"X\", target = \"self\", where = \"K: Ord + Borrow<X>, X: Ord + ?Sized\")]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/muti-feature.rs:36:3\n   |\n36 | #[delegate(Get<X>, generics = \"X\", target = \"self\", where = \"K: Ord + Borrow<X>, X: Ord + ?Sized\")]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":933,"byte_end":941,"line_start":40,"line_end":40,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Map)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/muti-feature.rs:40:3\n   |\n40 | #[delegate(Map)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":950,"byte_end":958,"line_start":41,"line_end":41,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Get<X>, generics = \"X\", where = \"X: ?Sized, A: Map, B: Map<K=A::K, V=A::V>\")] //auto where clause misses required on super trait","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/muti-feature.rs:41:3\n   |\n41 | #[delegate(Get<X>, generics = \"X\", where = \"X: ?Sized, A: Map, B: Map<K=A::K, V=A::V>\")] //auto where clause misses required on super trait\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused import: `std::borrow::Borrow`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":94,"byte_end":113,"line_start":4,"line_end":4,"column_start":5,"column_end":24,"is_primary":true,"text":[{"text":"use std::borrow::Borrow;","highlight_start":5,"highlight_end":24}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":90,"byte_end":115,"line_start":4,"line_end":5,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::borrow::Borrow;","highlight_start":1,"highlight_end":25},{"text":"use std::cmp::{Eq, Ord};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused import: `std::borrow::Borrow`\n --> tests/run-pass/muti-feature.rs:4:5\n  |\n4 | use std::borrow::Borrow;\n  |     ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: `#[warn(unused_imports)]` on by default\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused imports: `Eq`, `Ord`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":130,"byte_end":132,"line_start":5,"line_end":5,"column_start":16,"column_end":18,"is_primary":true,"text":[{"text":"use std::cmp::{Eq, Ord};","highlight_start":16,"highlight_end":18}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/muti-feature.rs","byte_start":134,"byte_end":137,"line_start":5,"line_end":5,"column_start":20,"column_end":23,"is_primary":true,"text":[{"text":"use std::cmp::{Eq, Ord};","highlight_start":20,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":115,"byte_end":140,"line_start":5,"line_end":6,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::cmp::{Eq, Ord};","highlight_start":1,"highlight_end":25},{"text":"use std::collections::{BTreeMap, HashMap};","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused imports: `Eq`, `Ord`\n --> tests/run-pass/muti-feature.rs:5:16\n  |\n5 | use std::cmp::{Eq, Ord};\n  |                ^^  ^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"unused imports: `BuildHasher`, `Hash`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":199,"byte_end":210,"line_start":7,"line_end":7,"column_start":17,"column_end":28,"is_primary":true,"text":[{"text":"use std::hash::{BuildHasher, Hash};","highlight_start":17,"highlight_end":28}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/muti-feature.rs","byte_start":212,"byte_end":216,"line_start":7,"line_end":7,"column_start":30,"column_end":34,"is_primary":true,"text":[{"text":"use std::hash::{BuildHasher, Hash};","highlight_start":30,"highlight_end":34}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":183,"byte_end":219,"line_start":7,"line_end":8,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::hash::{BuildHasher, Hash};","highlight_start":1,"highlight_end":36},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"warning: unused imports: `BuildHasher`, `Hash`\n --> tests/run-pass/muti-feature.rs:7:17\n  |\n7 | use std::hash::{BuildHasher, Hash};\n  |                 ^^^^^^^^^^^  ^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"type parameter `K` is never used","code":{"code":"E0392","explanation":"A type or lifetime parameter has been declared but is not actually used.\n\nErroneous code example:\n\n```compile_fail,E0392\nenum Foo<T> {\n    Bar,\n}\n```\n\nIf the type parameter was included by mistake, this error can be fixed\nby simply removing the type parameter, as shown below:\n\n```\nenum Foo {\n    Bar,\n}\n```\n\nAlternatively, if the type parameter was intentionally inserted, it must be\nused. A simple fix is shown below:\n\n```\nenum Foo<T> {\n    Bar(T),\n}\n```\n\nThis error may also commonly be found when working with unsafe code. For\nexample, when using raw pointers one may wish to specify the lifetime for\nwhich the pointed-at data is valid. An initial attempt (below) causes this\nerror:\n\n```compile_fail,E0392\nstruct Foo<'a, T> {\n    x: *const T,\n}\n```\n\nWe want to express the constraint that Foo should not outlive `'a`, because\nthe data pointed to by `T` is only valid for that lifetime. The problem is\nthat there are no actual uses of `'a`. It's possible to work around this\nby adding a PhantomData type to the struct, using it to tell the compiler\nto act as if the struct contained a borrowed reference `&'a T`:\n\n```\nuse std::marker::PhantomData;\n\nstruct Foo<'a, T: 'a> {\n    x: *const T,\n    phantom: PhantomData<&'a T>\n}\n```\n\n[PhantomData] can also be used to express information about unused type\nparameters.\n\n[PhantomData]: https://doc.rust-lang.org/std/marker/struct.PhantomData.html\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":753,"byte_end":754,"line_start":33,"line_end":33,"column_start":16,"column_end":17,"is_primary":true,"text":[{"text":"struct HashMap<K, V, S>();","highlight_start":16,"highlight_end":17}],"label":"unused type parameter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing `K`, referring to it in a field, or using a marker such as `PhantomData`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if you intended `K` to be a const parameter, use `const K: /* Type */` instead","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0392]: type parameter `K` is never used\n  --> tests/run-pass/muti-feature.rs:33:16\n   |\n33 | struct HashMap<K, V, S>();\n   |                ^ unused type parameter\n   |\n   = help: consider removing `K`, referring to it in a field, or using a marker such as `PhantomData`\n   = help: if you intended `K` to be a const parameter, use `const K: /* Type */` instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"type parameter `V` is never used","code":{"code":"E0392","explanation":"A type or lifetime parameter has been declared but is not actually used.\n\nErroneous code example:\n\n```compile_fail,E0392\nenum Foo<T> {\n    Bar,\n}\n```\n\nIf the type parameter was included by mistake, this error can be fixed\nby simply removing the type parameter, as shown below:\n\n```\nenum Foo {\n    Bar,\n}\n```\n\nAlternatively, if the type parameter was intentionally inserted, it must be\nused. A simple fix is shown below:\n\n```\nenum Foo<T> {\n    Bar(T),\n}\n```\n\nThis error may also commonly be found when working with unsafe code. For\nexample, when using raw pointers one may wish to specify the lifetime for\nwhich the pointed-at data is valid. An initial attempt (below) causes this\nerror:\n\n```compile_fail,E0392\nstruct Foo<'a, T> {\n    x: *const T,\n}\n```\n\nWe want to express the constraint that Foo should not outlive `'a`, because\nthe data pointed to by `T` is only valid for that lifetime. The problem is\nthat there are no actual uses of `'a`. It's possible to work around this\nby adding a PhantomData type to the struct, using it to tell the compiler\nto act as if the struct contained a borrowed reference `&'a T`:\n\n```\nuse std::marker::PhantomData;\n\nstruct Foo<'a, T: 'a> {\n    x: *const T,\n    phantom: PhantomData<&'a T>\n}\n```\n\n[PhantomData] can also be used to express information about unused type\nparameters.\n\n[PhantomData]: https://doc.rust-lang.org/std/marker/struct.PhantomData.html\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":756,"byte_end":757,"line_start":33,"line_end":33,"column_start":19,"column_end":20,"is_primary":true,"text":[{"text":"struct HashMap<K, V, S>();","highlight_start":19,"highlight_end":20}],"label":"unused type parameter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing `V`, referring to it in a field, or using a marker such as `PhantomData`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if you intended `V` to be a const parameter, use `const V: /* Type */` instead","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0392]: type parameter `V` is never used\n  --> tests/run-pass/muti-feature.rs:33:19\n   |\n33 | struct HashMap<K, V, S>();\n   |                   ^ unused type parameter\n   |\n   = help: consider removing `V`, referring to it in a field, or using a marker such as `PhantomData`\n   = help: if you intended `V` to be a const parameter, use `const V: /* Type */` instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"type parameter `S` is never used","code":{"code":"E0392","explanation":"A type or lifetime parameter has been declared but is not actually used.\n\nErroneous code example:\n\n```compile_fail,E0392\nenum Foo<T> {\n    Bar,\n}\n```\n\nIf the type parameter was included by mistake, this error can be fixed\nby simply removing the type parameter, as shown below:\n\n```\nenum Foo {\n    Bar,\n}\n```\n\nAlternatively, if the type parameter was intentionally inserted, it must be\nused. A simple fix is shown below:\n\n```\nenum Foo<T> {\n    Bar(T),\n}\n```\n\nThis error may also commonly be found when working with unsafe code. For\nexample, when using raw pointers one may wish to specify the lifetime for\nwhich the pointed-at data is valid. An initial attempt (below) causes this\nerror:\n\n```compile_fail,E0392\nstruct Foo<'a, T> {\n    x: *const T,\n}\n```\n\nWe want to express the constraint that Foo should not outlive `'a`, because\nthe data pointed to by `T` is only valid for that lifetime. The problem is\nthat there are no actual uses of `'a`. It's possible to work around this\nby adding a PhantomData type to the struct, using it to tell the compiler\nto act as if the struct contained a borrowed reference `&'a T`:\n\n```\nuse std::marker::PhantomData;\n\nstruct Foo<'a, T: 'a> {\n    x: *const T,\n    phantom: PhantomData<&'a T>\n}\n```\n\n[PhantomData] can also be used to express information about unused type\nparameters.\n\n[PhantomData]: https://doc.rust-lang.org/std/marker/struct.PhantomData.html\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":759,"byte_end":760,"line_start":33,"line_end":33,"column_start":22,"column_end":23,"is_primary":true,"text":[{"text":"struct HashMap<K, V, S>();","highlight_start":22,"highlight_end":23}],"label":"unused type parameter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing `S`, referring to it in a field, or using a marker such as `PhantomData`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if you intended `S` to be a const parameter, use `const S: /* Type */` instead","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0392]: type parameter `S` is never used\n  --> tests/run-pass/muti-feature.rs:33:22\n   |\n33 | struct HashMap<K, V, S>();\n   |                      ^ unused type parameter\n   |\n   = help: consider removing `S`, referring to it in a field, or using a marker such as `PhantomData`\n   = help: if you intended `S` to be a const parameter, use `const S: /* Type */` instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"type parameter `K` is never used","code":{"code":"E0392","explanation":"A type or lifetime parameter has been declared but is not actually used.\n\nErroneous code example:\n\n```compile_fail,E0392\nenum Foo<T> {\n    Bar,\n}\n```\n\nIf the type parameter was included by mistake, this error can be fixed\nby simply removing the type parameter, as shown below:\n\n```\nenum Foo {\n    Bar,\n}\n```\n\nAlternatively, if the type parameter was intentionally inserted, it must be\nused. A simple fix is shown below:\n\n```\nenum Foo<T> {\n    Bar(T),\n}\n```\n\nThis error may also commonly be found when working with unsafe code. For\nexample, when using raw pointers one may wish to specify the lifetime for\nwhich the pointed-at data is valid. An initial attempt (below) causes this\nerror:\n\n```compile_fail,E0392\nstruct Foo<'a, T> {\n    x: *const T,\n}\n```\n\nWe want to express the constraint that Foo should not outlive `'a`, because\nthe data pointed to by `T` is only valid for that lifetime. The problem is\nthat there are no actual uses of `'a`. It's possible to work around this\nby adding a PhantomData type to the struct, using it to tell the compiler\nto act as if the struct contained a borrowed reference `&'a T`:\n\n```\nuse std::marker::PhantomData;\n\nstruct Foo<'a, T: 'a> {\n    x: *const T,\n    phantom: PhantomData<&'a T>\n}\n```\n\n[PhantomData] can also be used to express information about unused type\nparameters.\n\n[PhantomData]: https://doc.rust-lang.org/std/marker/struct.PhantomData.html\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":901,"byte_end":902,"line_start":37,"line_end":37,"column_start":17,"column_end":18,"is_primary":true,"text":[{"text":"struct BTreeMap<K, V>();","highlight_start":17,"highlight_end":18}],"label":"unused type parameter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing `K`, referring to it in a field, or using a marker such as `PhantomData`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if you intended `K` to be a const parameter, use `const K: /* Type */` instead","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0392]: type parameter `K` is never used\n  --> tests/run-pass/muti-feature.rs:37:17\n   |\n37 | struct BTreeMap<K, V>();\n   |                 ^ unused type parameter\n   |\n   = help: consider removing `K`, referring to it in a field, or using a marker such as `PhantomData`\n   = help: if you intended `K` to be a const parameter, use `const K: /* Type */` instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"type parameter `V` is never used","code":{"code":"E0392","explanation":"A type or lifetime parameter has been declared but is not actually used.\n\nErroneous code example:\n\n```compile_fail,E0392\nenum Foo<T> {\n    Bar,\n}\n```\n\nIf the type parameter was included by mistake, this error can be fixed\nby simply removing the type parameter, as shown below:\n\n```\nenum Foo {\n    Bar,\n}\n```\n\nAlternatively, if the type parameter was intentionally inserted, it must be\nused. A simple fix is shown below:\n\n```\nenum Foo<T> {\n    Bar(T),\n}\n```\n\nThis error may also commonly be found when working with unsafe code. For\nexample, when using raw pointers one may wish to specify the lifetime for\nwhich the pointed-at data is valid. An initial attempt (below) causes this\nerror:\n\n```compile_fail,E0392\nstruct Foo<'a, T> {\n    x: *const T,\n}\n```\n\nWe want to express the constraint that Foo should not outlive `'a`, because\nthe data pointed to by `T` is only valid for that lifetime. The problem is\nthat there are no actual uses of `'a`. It's possible to work around this\nby adding a PhantomData type to the struct, using it to tell the compiler\nto act as if the struct contained a borrowed reference `&'a T`:\n\n```\nuse std::marker::PhantomData;\n\nstruct Foo<'a, T: 'a> {\n    x: *const T,\n    phantom: PhantomData<&'a T>\n}\n```\n\n[PhantomData] can also be used to express information about unused type\nparameters.\n\n[PhantomData]: https://doc.rust-lang.org/std/marker/struct.PhantomData.html\n"},"level":"error","spans":[{"file_name":"tests/run-pass/muti-feature.rs","byte_start":904,"byte_end":905,"line_start":37,"line_end":37,"column_start":20,"column_end":21,"is_primary":true,"text":[{"text":"struct BTreeMap<K, V>();","highlight_start":20,"highlight_end":21}],"label":"unused type parameter","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider removing `V`, referring to it in a field, or using a marker such as `PhantomData`","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"if you intended `V` to be a const parameter, use `const V: /* Type */` instead","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"error[E0392]: type parameter `V` is never used\n  --> tests/run-pass/muti-feature.rs:37:20\n   |\n37 | struct BTreeMap<K, V>();\n   |                    ^ unused type parameter\n   |\n   = help: consider removing `V`, referring to it in a field, or using a marker such as `PhantomData`\n   = help: if you intended `V` to be a const parameter, use `const V: /* Type */` instead\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `get` found for enum `Either` 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/muti-feature.rs","byte_start":1309,"byte_end":1312,"line_start":50,"line_end":50,"column_start":29,"column_end":32,"is_primary":true,"text":[{"text":"    println!(\"{:?}\", my_map.get(\"a\"));","highlight_start":29,"highlight_end":32}],"label":"method not found in `Either<HashMap<&str, u32>, BTreeMap<&str, u32>>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/muti-feature.rs","byte_start":1088,"byte_end":1109,"line_start":42,"line_end":42,"column_start":1,"column_end":22,"is_primary":false,"text":[{"text":"pub enum Either<A, B> {","highlight_start":1,"highlight_end":22}],"label":"method `get` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"the following traits define an item `get`, perhaps you need to implement one of them:\ncandidate #1: `Get`\ncandidate #2: `SliceIndex`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `get` found for enum `Either` in the current scope\n  --> tests/run-pass/muti-feature.rs:50:29\n   |\n42 | pub enum Either<A, B> {\n   | --------------------- method `get` not found for this enum\n...\n50 |     println!(\"{:?}\", my_map.get(\"a\"));\n   |                             ^^^ method not found in `Either<HashMap<&str, u32>, BTreeMap<&str, u32>>`\n   |\n   = help: items from traits can only be used if the trait is implemented and in scope\n   = note: the following traits define an item `get`, perhaps you need to implement one of them:\n           candidate #1: `Get`\n           candidate #2: `SliceIndex`\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"aborting due to 13 previous errors; 3 warnings emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 13 previous errors; 3 warnings emitted\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"Some errors have detailed explanations: E0255, E0392, E0464, E0599.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"Some errors have detailed explanations: E0255, E0392, E0464, E0599.\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"For more information about an error, try `rustc --explain E0255`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about an error, try `rustc --explain E0255`.\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/single_variant.rs" "-L" "/tmp" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/single_variant.stage-id" "-L" "../target/debug/deps" "--edition" "2018" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib" "-L" "/tmp/single_variant.stage-id.aux"
[INFO] [stdout] stdout:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] stderr:
[INFO] [stdout] ------------------------------------------
[INFO] [stdout] {"$message_type":"diagnostic","message":"multiple candidates for `dylib` dependency `ambassador` found","code":{"code":"E0464","explanation":"The compiler found multiple library files with the requested crate name.\n\n```compile_fail\n// aux-build:crateresolve-1.rs\n// aux-build:crateresolve-2.rs\n// aux-build:crateresolve-3.rs\n\nextern crate crateresolve;\n//~^ ERROR multiple candidates for `rlib` dependency `crateresolve` found\n\nfn main() {}\n```\n\nThis error can occur in several different cases -- for example, when using\n`extern crate` or passing `--extern` options without crate paths. It can also be\ncaused by caching issues with the build directory, in which case `cargo clean`\nmay help.\n\nIn the above example, there are three different library files, all of which\ndefine the same crate name. Without providing a full path, there is no way for\nthe compiler to know which crate it should use.\n"},"level":"error","spans":[{"file_name":"tests/run-pass/single_variant.rs","byte_start":0,"byte_end":24,"line_start":1,"line_end":1,"column_start":1,"column_end":25,"is_primary":true,"text":[{"text":"extern crate ambassador;","highlight_start":1,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"candidate #3: /opt/rustwide/target/debug/libambassador.so","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"error[E0464]: multiple candidates for `dylib` dependency `ambassador` found\n --> tests/run-pass/single_variant.rs:1:1\n  |\n1 | extern crate ambassador;\n  | ^^^^^^^^^^^^^^^^^^^^^^^^\n  |\n  = note: candidate #1: /opt/rustwide/target/debug/deps/libambassador-665c377cf3a34b31.so\n  = note: candidate #2: /opt/rustwide/target/debug/deps/libambassador-eb51cc2d0368ce04.so\n  = note: candidate #3: /opt/rustwide/target/debug/libambassador.so\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"cannot find attribute `delegate` in this scope","code":null,"level":"error","spans":[{"file_name":"tests/run-pass/single_variant.rs","byte_start":311,"byte_end":319,"line_start":19,"line_end":19,"column_start":3,"column_end":11,"is_primary":true,"text":[{"text":"#[delegate(Shout)]","highlight_start":3,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error: cannot find attribute `delegate` in this scope\n  --> tests/run-pass/single_variant.rs:19:3\n   |\n19 | #[delegate(Shout)]\n   |   ^^^^^^^^\n\n"}
[INFO] [stdout] {"$message_type":"diagnostic","message":"no method named `shout` found for enum `Animal` 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/single_variant.rs","byte_start":448,"byte_end":453,"line_start":26,"line_end":26,"column_start":31,"column_end":36,"is_primary":true,"text":[{"text":"    println!(\"{}\", foo_animal.shout(\"BAR\"));","highlight_start":31,"highlight_end":36}],"label":"method not found in `Animal`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"tests/run-pass/single_variant.rs","byte_start":328,"byte_end":343,"line_start":20,"line_end":20,"column_start":1,"column_end":16,"is_primary":false,"text":[{"text":"pub enum Animal {","highlight_start":1,"highlight_end":16}],"label":"method `shout` not found for this enum","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"the method `shout` exists on the type `Dog`","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/single_variant.rs","byte_start":117,"byte_end":156,"line_start":7,"line_end":7,"column_start":5,"column_end":44,"is_primary":true,"text":[{"text":"    fn shout(&self, input: &str) -> String;","highlight_start":5,"highlight_end":44}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null},{"message":"items from traits can only be used if the trait is implemented and in scope","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`Shout` defines an item `shout`, perhaps you need to implement it","code":null,"level":"note","spans":[{"file_name":"tests/run-pass/single_variant.rs","byte_start":95,"byte_end":110,"line_start":6,"line_end":6,"column_start":1,"column_end":16,"is_primary":true,"text":[{"text":"pub trait Shout {","highlight_start":1,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"error[E0599]: no method named `shout` found for enum `Animal` in the current scope\n  --> tests/run-pass/single_variant.rs:26:31\n   |\n20 | pub enum Animal {\n   | --------------- method `shout` not found for this enum\n...\n26 |     println!(\"{}\", foo_animal.shout(\"BAR\"));\n   |                               ^^^^^ method not found in `Animal`\n   |\nnote: the method `shout` exists on the type `Dog`\n  --> tests/run-pass/single_variant.rs:7:5\n   |\n7  |     fn shout(&self, input: &str) -> String;\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n   = help: items from traits can only be used if the trait is implemented and in scope\nnote: `S
[INFO] running `Command { std: "docker" "inspect" "b64e98563ee31de3a256a3120ad5549035331e27a990983758008b4c16e189f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b64e98563ee31de3a256a3120ad5549035331e27a990983758008b4c16e189f5", kill_on_drop: false }`
[INFO] [stdout] b64e98563ee31de3a256a3120ad5549035331e27a990983758008b4c16e189f5
