[INFO] fetching crate transit_model_procmacro 0.1.1... [INFO] testing transit_model_procmacro-0.1.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate transit_model_procmacro 0.1.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate transit_model_procmacro 0.1.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate transit_model_procmacro 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate transit_model_procmacro 0.1.1 [INFO] tweaked toml for crates.io crate transit_model_procmacro 0.1.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18693e7ac9ce119beba8fa8c5890af1f9fd6f4286637c53376f4810477bfeb5a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "18693e7ac9ce119beba8fa8c5890af1f9fd6f4286637c53376f4810477bfeb5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18693e7ac9ce119beba8fa8c5890af1f9fd6f4286637c53376f4810477bfeb5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18693e7ac9ce119beba8fa8c5890af1f9fd6f4286637c53376f4810477bfeb5a", kill_on_drop: false }` [INFO] [stdout] 18693e7ac9ce119beba8fa8c5890af1f9fd6f4286637c53376f4810477bfeb5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ae593fb8e1bd6a251975f7cf3c7a1fa709c24af1f07c6127280209a56f3c7c3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6ae593fb8e1bd6a251975f7cf3c7a1fa709c24af1f07c6127280209a56f3c7c3", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling transit_model_procmacro v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.43s [INFO] running `Command { std: "docker" "inspect" "6ae593fb8e1bd6a251975f7cf3c7a1fa709c24af1f07c6127280209a56f3c7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ae593fb8e1bd6a251975f7cf3c7a1fa709c24af1f07c6127280209a56f3c7c3", kill_on_drop: false }` [INFO] [stdout] 6ae593fb8e1bd6a251975f7cf3c7a1fa709c24af1f07c6127280209a56f3c7c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9424f90675183851f530c3c20d7cf19ad7caa6fd6ae787f9c6a6f25e6d73631b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9424f90675183851f530c3c20d7cf19ad7caa6fd6ae787f9c6a6f25e6d73631b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling typed_index_collection v1.2.1 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Compiling transit_model_procmacro v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 39.31s [INFO] running `Command { std: "docker" "inspect" "9424f90675183851f530c3c20d7cf19ad7caa6fd6ae787f9c6a6f25e6d73631b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9424f90675183851f530c3c20d7cf19ad7caa6fd6ae787f9c6a6f25e6d73631b", kill_on_drop: false }` [INFO] [stdout] 9424f90675183851f530c3c20d7cf19ad7caa6fd6ae787f9c6a6f25e6d73631b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 950227e4d762a449b121f66928f952b8dfc9a0424a9a372a341b5dd4766b6c31 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "950227e4d762a449b121f66928f952b8dfc9a0424a9a372a341b5dd4766b6c31", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/transit_model_procmacro-1f80f1a254fcf472) [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-c83e3f14d1dda564) [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 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling transit_model_procmacro v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling typed_index_collection v1.2.1 [INFO] [stderr] Compiling transit_model_procmacro-tests v0.0.0 (/opt/rustwide/target/tests/transit_model_procmacro) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.39s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test 01-get-corresponding.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `transit_model` [INFO] [stderr] --> $DIR/01-get-corresponding.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use transit_model::objects::*; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared crate or module `transit_model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `transit_model::objects::*`, `transit_model_relations` [INFO] [stderr] --> $DIR/01-get-corresponding.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use transit_model::objects::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 4 | use transit_model_relations::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `transit_model_relations` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `OneToMany` [INFO] [stderr] --> $DIR/01-get-corresponding.rs:60:26 [INFO] [stderr] | [INFO] [stderr] 60 | lines_to_routes: OneToMany::new(&lines, &routes, "lines_to_routes").unwrap(), [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `OneToMany` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `OneToMany` [INFO] [stderr] --> $DIR/01-get-corresponding.rs:61:37 [INFO] [stderr] | [INFO] [stderr] 61 | routes_to_vehicle_journeys: OneToMany::new( [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `OneToMany` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OneToMany` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | lines_to_routes: OneToMany, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Line` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:8:32 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Model { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 8 | lines_to_routes: OneToMany, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Route` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:8:38 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Model { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 8 | lines_to_routes: OneToMany, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OneToMany` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:9:33 [INFO] [stderr] | [INFO] [stderr] 9 | routes_to_vehicle_journeys: OneToMany, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Route` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:9:43 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Model { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 8 | lines_to_routes: OneToMany, [INFO] [stderr] 9 | routes_to_vehicle_journeys: OneToMany, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VehicleJourney` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:9:50 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Model { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 8 | lines_to_routes: OneToMany, [INFO] [stderr] 9 | routes_to_vehicle_journeys: OneToMany, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IdxSet` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `GetCorresponding` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Line` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `GetCorresponding` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Route` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `GetCorresponding` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VehicleJourney` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `GetCorresponding` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Line` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | let line = Line { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Route` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | let route1 = Route { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Route` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:24:18 [INFO] [stderr] | [INFO] [stderr] 24 | let route2 = Route { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `VehicleJourney` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | let vehicle_journey_1 = VehicleJourney { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `VehicleJourney` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:35:29 [INFO] [stderr] | [INFO] [stderr] 35 | let vehicle_journey_2 = VehicleJourney { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `VehicleJourney` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | let vehicle_journey_3 = VehicleJourney { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `VehicleJourney` in this scope [INFO] [stderr] --> $DIR/01-get-corresponding.rs:45:29 [INFO] [stderr] | [INFO] [stderr] 45 | let vehicle_journey_4 = VehicleJourney { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test 02-invalid-weight.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/02-invalid-weight.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: `weight` attribute must be convertible to f64: ParseFloatError { kind: Invalid } [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/02-invalid-weight.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: `weight` attribute must be convertible to f64: ParseFloatError { kind: Invalid } [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `transit_model` [INFO] [stderr] --> $DIR/02-invalid-weight.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use transit_model::objects::*; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared crate or module `transit_model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `transit_model::objects::*`, `transit_model_relations` [INFO] [stderr] --> $DIR/02-invalid-weight.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use transit_model::objects::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 4 | use transit_model_relations::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `transit_model_relations` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OneToMany` in this scope [INFO] [stderr] --> $DIR/02-invalid-weight.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | lines_to_routes: OneToMany, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Line` in this scope [INFO] [stderr] --> $DIR/02-invalid-weight.rs:9:32 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Model { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 8 | #[get_corresponding(weight = "abc")] [INFO] [stderr] 9 | lines_to_routes: OneToMany, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Route` in this scope [INFO] [stderr] --> $DIR/02-invalid-weight.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Model { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 8 | #[get_corresponding(weight = "abc")] [INFO] [stderr] 9 | lines_to_routes: OneToMany, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `typed_index_collection::*` [INFO] [stderr] --> $DIR/02-invalid-weight.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use typed_index_collection::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test 03-non-supported-argument.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/03-non-supported-argument.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: Only `key = "value"` attributes supported. [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/03-non-supported-argument.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: Only `key = "value"` attributes supported. [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `transit_model` [INFO] [stderr] --> $DIR/03-non-supported-argument.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use transit_model::objects::*; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared crate or module `transit_model` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `transit_model::objects::*`, `transit_model_relations` [INFO] [stderr] --> $DIR/03-non-supported-argument.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use transit_model::objects::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 4 | use transit_model_relations::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `transit_model_relations` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OneToMany` in this scope [INFO] [stderr] --> $DIR/03-non-supported-argument.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | lines_to_routes: OneToMany, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Line` in this scope [INFO] [stderr] --> $DIR/03-non-supported-argument.rs:9:32 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Model { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 8 | #[get_corresponding(nonsupportedargument)] [INFO] [stderr] 9 | lines_to_routes: OneToMany, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Route` in this scope [INFO] [stderr] --> $DIR/03-non-supported-argument.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Model { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 8 | #[get_corresponding(nonsupportedargument)] [INFO] [stderr] 9 | lines_to_routes: OneToMany, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `typed_index_collection::*` [INFO] [stderr] --> $DIR/03-non-supported-argument.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use typed_index_collection::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test compile_error ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- compile_error stdout ---- [INFO] [stdout] thread 'compile_error' panicked at '3 of 3 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/run.rs:73:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x558bfcc62e80 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x558bfcc62e80 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x558bfcc62e80 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x558bfcc62e80 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x558bfcc883dc - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x558bfcc5f2c5 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x558bfcc651bb - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x558bfcc651bb - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x558bfcc651bb - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x558bfcc64ccc - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x558bfcc65861 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x558bfcc65367 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x558bfcc6337c - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x558bfcc652c9 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x558bfca03dfb - std[77c0456e0eb29f0c]::panicking::begin_panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x558bfca2df22 - ::run [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/run.rs:73:13 [INFO] [stdout] 16: 0x558bfca32ba2 - ::drop [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/lib.rs:305:13 [INFO] [stdout] 17: 0x558bfca05d47 - core[ee1ca6415511a9c4]::ptr::drop_in_place:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ptr/mod.rs:192:1 [INFO] [stdout] 18: 0x558bfca05cad - tests[e17cb30473431ed8]::compile_error [INFO] [stdout] at /opt/rustwide/workdir/tests/tests.rs:7:1 [INFO] [stdout] 19: 0x558bfca05c1a - tests[e17cb30473431ed8]::compile_error::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/tests.rs:2:1 [INFO] [stdout] 20: 0x558bfca05e9e - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x558bfcc38573 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x558bfcc38573 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 23: 0x558bfcc3703c - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 24: 0x558bfcc3703c - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 25: 0x558bfcc3703c - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x558bfcc3703c - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x558bfcc3703c - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 28: 0x558bfcc3703c - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 29: 0x558bfcc3703c - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x558bfcc16d02 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x558bfcc16d02 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x558bfcc175e8 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 33: 0x558bfcc175e8 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 34: 0x558bfcc175e8 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x558bfcc175e8 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x558bfcc175e8 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 37: 0x558bfcc175e8 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 38: 0x558bfcc175e8 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x558bfcc6b817 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x558bfcc6b817 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 41: 0x558bfcc6b817 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 42: 0x7f3ccacfa609 - start_thread [INFO] [stdout] 43: 0x7f3ccaacc293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compile_error [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 39.63s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test tests' [INFO] running `Command { std: "docker" "inspect" "950227e4d762a449b121f66928f952b8dfc9a0424a9a372a341b5dd4766b6c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950227e4d762a449b121f66928f952b8dfc9a0424a9a372a341b5dd4766b6c31", kill_on_drop: false }` [INFO] [stdout] 950227e4d762a449b121f66928f952b8dfc9a0424a9a372a341b5dd4766b6c31