[INFO] fetching crate transit_model_procmacro 0.1.1... [INFO] testing transit_model_procmacro-0.1.1 against 1.59.0 for beta-1.60-1 [INFO] extracting crate transit_model_procmacro 0.1.1 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate transit_model_procmacro 0.1.1 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-17/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7870e8febc312f43a8088a6d8a7d36c4b2b409b30305997de3f87c1dcdee993c [INFO] running `Command { std: "docker" "start" "-a" "7870e8febc312f43a8088a6d8a7d36c4b2b409b30305997de3f87c1dcdee993c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7870e8febc312f43a8088a6d8a7d36c4b2b409b30305997de3f87c1dcdee993c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7870e8febc312f43a8088a6d8a7d36c4b2b409b30305997de3f87c1dcdee993c", kill_on_drop: false }` [INFO] [stdout] 7870e8febc312f43a8088a6d8a7d36c4b2b409b30305997de3f87c1dcdee993c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c156a05e3d110069faaf314e9b521c0e4d8c502b4749b5157233c111fa064a78 [INFO] running `Command { std: "docker" "start" "-a" "c156a05e3d110069faaf314e9b521c0e4d8c502b4749b5157233c111fa064a78", 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 4.01s [INFO] running `Command { std: "docker" "inspect" "c156a05e3d110069faaf314e9b521c0e4d8c502b4749b5157233c111fa064a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c156a05e3d110069faaf314e9b521c0e4d8c502b4749b5157233c111fa064a78", kill_on_drop: false }` [INFO] [stdout] c156a05e3d110069faaf314e9b521c0e4d8c502b4749b5157233c111fa064a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3495ee0314d644c855431a695383e883b6f6efea824db73eeedc19ff9e849b62 [INFO] running `Command { std: "docker" "start" "-a" "3495ee0314d644c855431a695383e883b6f6efea824db73eeedc19ff9e849b62", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling trybuild v1.0.56 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling typed_index_collection v1.2.1 [INFO] [stderr] Compiling transit_model_procmacro v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 23.54s [INFO] running `Command { std: "docker" "inspect" "3495ee0314d644c855431a695383e883b6f6efea824db73eeedc19ff9e849b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3495ee0314d644c855431a695383e883b6f6efea824db73eeedc19ff9e849b62", kill_on_drop: false }` [INFO] [stdout] 3495ee0314d644c855431a695383e883b6f6efea824db73eeedc19ff9e849b62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5f82e397e2ed3c62be26d591c4fdaa532e5b935e660bea23bbc5c5abdf7234c1 [INFO] running `Command { std: "docker" "start" "-a" "5f82e397e2ed3c62be26d591c4fdaa532e5b935e660bea23bbc5c5abdf7234c1", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/transit_model_procmacro-27096ee91f4bad21) [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/tests.rs (/opt/rustwide/target/debug/deps/tests-c33433d331625d95) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling transit_model_procmacro v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [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 13.90s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^- help: you might be missing a type parameter: `` [INFO] [stderr] | | [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] --> tests/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^- help: you might be missing a type parameter: `` [INFO] [stderr] | | [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] --> tests/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^- help: you might be missing a type parameter: `` [INFO] [stderr] | | [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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] error[E0282]: type annotations needed [INFO] [stderr] --> tests/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr] | [INFO] [stderr] = note: type must be known at this point [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[E0599]: no method named `get_corresponding` found for reference `&Model` in the current scope [INFO] [stderr] --> tests/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `&Model` [INFO] [stderr] | [INFO] [stderr] = note: `GetCorresponding` is a function, perhaps you wish to call it [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] note: `GetCorresponding` defines an item `get_corresponding`, perhaps you need to implement it [INFO] [stderr] --> tests/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [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[E0599]: no method named `into_iter` found for enum `Option>` in the current scope [INFO] [stderr] --> tests/01-get-corresponding.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(GetCorresponding)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ method not found in `Option>` [INFO] [stderr] | [INFO] [stderr] = note: `GetCorresponding` is a function, perhaps you wish to call it [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] [INFO] [stderr] test tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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 tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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] --> tests/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.56/src/run.rs:74:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a20eb44bbc - std::backtrace_rs::backtrace::libunwind::trace::h91c465e73bf6c785 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55a20eb44bbc - std::backtrace_rs::backtrace::trace_unsynchronized::hae9da36f5d58b5f3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a20eb44bbc - std::sys_common::backtrace::_print_fmt::h7f499fa126a7effb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55a20eb44bbc - ::fmt::h3e2b509ce2ce6007 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55a20eb6c91c - core::fmt::write::h753c7571fa063ecb [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:1168:17 [INFO] [stdout] 5: 0x55a20eb3eef3 - std::io::Write::write_fmt::hb649ab67f71b6655 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/io/mod.rs:1660:15 [INFO] [stdout] 6: 0x55a20eb47292 - std::sys_common::backtrace::_print::h64941a6fc8b0ed9b [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55a20eb47292 - std::sys_common::backtrace::print::hcf25e43e1a9b0766 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55a20eb47292 - std::panicking::default_hook::{{closure}}::h78d3e6cf97fc623d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55a20eb46ee1 - std::panicking::default_hook::hda898f8d3ad1a5ae [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55a20eb478e3 - std::panicking::rust_panic_with_hook::h1a5ea2d6c23051aa [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55a20eb47600 - std::panicking::begin_panic_handler::{{closure}}::h07f549390938b73f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55a20eb45064 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ec3758a92cfb00d [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55a20eb47339 - rust_begin_unwind [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55a20e8d9f61 - core::panicking::panic_fmt::h3a79a6a99affe1d5 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14 [INFO] [stdout] 15: 0x55a20e949dd3 - trybuild::run::::run::h1266b7f62fb9f5a9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/run.rs:74:13 [INFO] [stdout] 16: 0x55a20e94e914 - ::drop::h0c8c1ba9d04665e3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/lib.rs:308:13 [INFO] [stdout] 17: 0x55a20e8dadf7 - core::ptr::drop_in_place::h8181ff4430c6a7ae [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 18: 0x55a20e8db82d - tests::compile_error::h544cf9e9b1475768 [INFO] [stdout] at /opt/rustwide/workdir/tests/tests.rs:7:1 [INFO] [stdout] 19: 0x55a20e8db79a - tests::compile_error::{{closure}}::h0a218218b358a423 [INFO] [stdout] at /opt/rustwide/workdir/tests/tests.rs:2:1 [INFO] [stdout] 20: 0x55a20e8dad9e - core::ops::function::FnOnce::call_once::hc6e85314939ec882 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55a20eb18b53 - core::ops::function::FnOnce::call_once::h1845a80638abc06e [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55a20eb18b53 - test::__rust_begin_short_backtrace::h4f56ccea01b9889f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x55a20eb1783f - as core::ops::function::FnOnce>::call_once::h5afedf14a39ffa74 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x55a20eb1783f - as core::ops::function::FnOnce<()>>::call_once::hd5aaa1b551e9ce71 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55a20eb1783f - std::panicking::try::do_call::h316eebee63f96d32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x55a20eb1783f - std::panicking::try::h662e31e84dd7ce52 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x55a20eb1783f - std::panic::catch_unwind::h129c1b23f076663f [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x55a20eb1783f - test::run_test_in_process::h51d800d572f878ef [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x55a20eb1783f - test::run_test::run_test_inner::{{closure}}::h71a47db430260854 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x55a20eb20c01 - test::run_test::run_test_inner::{{closure}}::h02edd5b3e2dab52a [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x55a20eb20c01 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0838cfc8b0e995ec [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x55a20eaed68f - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h4c2725d7078043cd [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:477:17 [INFO] [stdout] 33: 0x55a20eaed68f - as core::ops::function::FnOnce<()>>::call_once::hdf1aa612eed87270 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55a20eaed68f - std::panicking::try::do_call::hc72f8de3706d18d6 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x55a20eaed68f - std::panicking::try::h63f01f54dbd0fb87 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x55a20eaed68f - std::panic::catch_unwind::h58bc464ae9b26453 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x55a20eaed68f - std::thread::Builder::spawn_unchecked::{{closure}}::h6c065e19513e33e3 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/mod.rs:476:30 [INFO] [stdout] 38: 0x55a20eaed68f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd143450c74f35c32 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55a20eb4e563 - as core::ops::function::FnOnce>::call_once::h49b6c7c5155a2296 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55a20eb4e563 - as core::ops::function::FnOnce>::call_once::ha8b5234bfeb15105 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x55a20eb4e563 - std::sys::unix::thread::Thread::new::thread_start::h6f207dd842d64859 [INFO] [stdout] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f9b4ad95609 - start_thread [INFO] [stdout] 43: 0x7f9b4ab67293 - 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 14.91s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test tests' [INFO] running `Command { std: "docker" "inspect" "5f82e397e2ed3c62be26d591c4fdaa532e5b935e660bea23bbc5c5abdf7234c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f82e397e2ed3c62be26d591c4fdaa532e5b935e660bea23bbc5c5abdf7234c1", kill_on_drop: false }` [INFO] [stdout] 5f82e397e2ed3c62be26d591c4fdaa532e5b935e660bea23bbc5c5abdf7234c1