error[E0425]: cannot find value `FOO` in this scope --> $DIR/locals-cfg.rs:11:9 | 11 | FOO; | ^^^ not found in this scope error[E0425]: cannot find value `FOO` in this scope --> $DIR/locals-cfg.rs:21:9 | 21 | FOO; | ^^^ not found in this scope error[E0425]: cannot find value `FOO` in this scope --> $DIR/locals-cfg.rs:31:9 | 31 | FOO; | ^^^ not found in this scope error[E0425]: cannot find value `FOO` in this scope --> $DIR/locals-cfg.rs:39:9 | 39 | FOO; | ^^^ not found in this scope error[E0425]: cannot find value `FOO` in this scope --> $DIR/locals-cfg.rs:47:9 | 47 | FOO; | ^^^ not found in this scope error: duplicate lang item in crate `panic_halt` (which `$CRATE` depends on): `panic_impl`. | = note: the lang item is first defined in crate `std` (which `$CRATE` depends on) = note: first definition in `std` loaded from /usr/share/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f14aca24435a5414.rlib = note: second definition in `panic_halt` loaded from $DIR/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/libpanic_halt-33949299fdfa2375.rmeta error: duplicate lang item in crate `panic_semihosting`: `panic_impl`. | = note: the lang item is first defined in crate `panic_halt` (which `$CRATE` depends on) = note: first definition in `panic_halt` loaded from $DIR/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/libpanic_halt-33949299fdfa2375.rmeta = note: second definition in `panic_semihosting` loaded from $DIR/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/libpanic_semihosting-f97442f9ee5cfc78.rmeta